Brick Plugins

From Ricochet Wiki

Brick plugins are scripts that can be selected in every Ricochet object when in the editor. They can be used to modify behaviour of these objects and are what gives Ricochet all the flexibility that it has. By default, plugins are ran simultaneously. They fall under a few categories listed below:

Plugin Name Plugin Description
(none) This plugin does nothing. When put in a sequence, it can be used in combination with "advance to next item in sequence" to force a condition.
Debug - This is a unique section with only one plugin, used for debugging of variables.
Expression Tester Shows the values of the selected expressions. Only in test mode.
Hide - This section allows you to hide and reveal bricks. Hidden bricks don't count towards level completion.
Hide Hides the brick by transitioning its transparency.
Hide and Reveal After Delay Hides the brick and after a defined time, brings the brick back by transitioning its transparency.
Reveal Brings the brick back by transitioning its transparency.
Miscellaneous - A section with mostly unrelated plugins that don't fit in any of the other categories
Destroy Bricks Near Point Destroy bricks in a specified radious around this brick
Display Value Displays a specified value on this brick
Drop Powerup Drops specified powerups from this brick
Fire Projectile Fires specified projectiles in defined patterns
Gun Allows the brick to fire projectiles. Automatically added when Fire Projectile is activated
Particle System Generates particles. Probably an unfinished plugin
Set Foreign Variable Extracts a variable stored in a foreign brick, to be used or manipulated in the current brick
Set Local Variable Sets or manipulates a variable stored in this brick
Spawn Floating Text Displays a floating text that fades out after a short delay
Star Fish Displays a starfish (visual) effect from this brick
Wait For Brick To Be Destroyed Waits for all bricks with a specified name to no longer exist. To be used in sequences
Wait For Expression Waits for a specified condition to be met. To be used in sequences
Wait For Message Waits until this brick receives a specified message. To be used in sequences
Wait For Multiple Hits Waits or adds a specified amount of hits.
Wait X Seconds Waits a specified amount of time. To be used in sequences
Move - Plugins that move the brick
Blend Positions Makes the brick keep its relative positioning between two specified targets.
Mimic Movement Makes the brick mimic the movement of a specified target. Includes various offset parameters.
Move Along Path Makes the brick move along a defined path. To be used in conjuction with paths.
Move Away From Point At Constant Speed Makes the brick move away at constant speed from a specified target
Move Between Points Makes the brick move back and forth in a vector defined by two specified targets
Move In Direction Makes the brick move at constant speed in a given angle
Move To Point Makes the brick move towards a specified target in a specific time
Move To Point At Constant Speed Makes the brick move towards a specified target at a defined amount of pixels per second
Orbit Makes the brick orbit around a specified target
Spring Makes the brick behave as a spring joint point between two specified targets
Script - Plugins that change the general state of the brick or affect how plugins interact with each other
Change Brick Changes this brick to a specified brick
Change Neighbors When Destroyed Changes surrounding bricks of a specified type to a different brick when this brick is destroyed
Create Bricks Creates bricks in defined patterns
Delete Self Removes this object from the level. Does not add points and also does not trigger "when destroyed' plugins
Destroy Self Pops the brick as if it were hit by the player. Does not work on invincible objects.
Destroy Self If Off Screen Pops the brick as if it were hit by the player if the brick has left the playing field. Does not work on invincible objects.
Fast Forward Executes all the plugins inside it simultaneously at a faster, specified framerate
If Acts as an If Then Else or as a While Loop depending on if "Restart When Condition Changes" is enabled
Random Order Sequence Runs all plugins inside it in a random order
Sequence Runs all plugins inside it in this specified order
Simultaneous Runs all plugins inside it simultaneously
State Machine Acts as a Switch System
Trigger Action - Plugins that trigger actions that are not considered plugins
Trigger Action Every X Seconds Triggers a specified amount of the same action with a specified delay
Trigger Action When Destroyed Triggers a specified action when this brick is destroyed
Trigger Action When Hit Triggers a specified action when this brick is hit. Activates the animation of a switch brick
Internal Plugins - Plugins that were not made for creator usage but to support game mechanics. They are not available in the editor and need to be copied from existing bricks that have them
Change Self After Delay Changes this brick to a specified brick after a delay
Poison Poisons the brick. Can also be used to overlay pictures on the brick, similar to starfish