MFallBlock

Fall Block

A summation of the generic Fall block

Description

The fall block is a block that falls down. It will either knock the player back, if it hits him/her, or make the player fall, if the player is standing on it.

Dimensions
 * Can be used in all biomes and puzzles
 * Block size(x,y) = (1,1)

Functionality:

<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">The Motion
 * 1) <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Rumble and shake in its current position
 * 2) <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Fall straight down
 * 3) <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">When hitting any object(player, ground, environmental, etc), the destruction of the block is initiated, causing the block shatter into smaller pieces.

<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Should the player be hit by step 3 of the Motion, it will cause a knockback(mKnockback) to the player.

<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Fall blocks has two main functionalities type, which depend on what it is used for.
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">The Fall object type


 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">This type is placed above the player within the level.
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">When the player reaches the location of the red target(trigger), the block initiates the Motion, in order to try and hit the player with step 2 of the Motion.
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">The Platform type

 
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">This type in placed beneath the player within the level, allowing for it to be used as a Platform(See mPlatformBlock)
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">When the player steps on this type, the block initiates the Motion, to cause the player to fall to their death.

<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:bold;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Sound:
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Rumble
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Falling swoosh
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">cracking/ stone shattering

<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:bold;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Additional information:
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">something

<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:bold;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Aesthetics
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Ice version


 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Should be seamless with the rest of the ice blocks
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Has ice shards on the bottom

<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:bold;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Animation


 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Cracking and shattering upon impact, reducing the block to small bits
 * <p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:15px;font-family:Arial;color:#000000;font-weight:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">The block also have to be able to not shatter and be collidable so that the player can jump upon them. (Turn them into a permanent part of the environment.)