Brick Plugins: Difference between revisions

1,286 bytes added ,  4 years ago
no edit summary
No edit summary
No edit summary
Line 76:
| Spring || Makes the brick behave as a spring joint point between two specified targets
|-
!colspan="2"| '''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
| Example || Example
|-
| Change Neighbors When Destroyed || Changes surrounding bricks of a specified type to a different brick when this brick is destroyed
| Example || Example
|-
| Create Bricks || Creates bricks in defined patterns
| Example || Example
|-
| Delete Self || Removes this object from the level. Does not add points and also does not trigger "when destroyed' plugins
| Example || Example
|-
| Destroy Self || Pops the brick as if it were hit by the player. Does not work on invincible objects.
| Example || Example
|-
| 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.
| Example || Example
|-
| Fast Forward || Executes all the plugins inside it simultaneously at a faster, specified framerate
| Example || Example
|-
| If || Acts as an [https://en.wikipedia.org/wiki/Conditional_(computer_programming)#If%E2%80%93then(%E2%80%93else) If Then Else] or as a [https://en.wikipedia.org/wiki/While_loop#Overview While Loop]
| Example || Example
|-
| Random Order Sequence || Runs all plugins inside it in a random order
| Example || Example
|-
| Sequence || Runs all plugins inside it in this specified order
| Example || Example
|-
| Simultaneous || Runs all plugins inside it simultaneously
| Example || Example
|-
| State Machine || Acts as a [https://en.wikipedia.org/wiki/Switch_statement Switch System]
| Example || Example
|-
!colspan="2"| '''Trigger Action''' - Plugins that trigger actions that are not considered plugins (see table below)
| Example || Example
|-
| Trigger Action Every X Seconds || Triggers a specified amount of the same action with a specified delay
| Example || Example
|-
| Trigger Action When Destroyed || Triggers a specified action when this brick is destroyed
| Example || Example
|-
| Trigger Action When Hit || Triggers a specified action when this brick is hit. Activates the animation of a [[switch brick]]
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|}