Thwomp: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(Created page. I need to double check a few of those numbers.)
 
m (→‎References: List, capitalization)
 
(2 intermediate revisions by 2 users not shown)
Line 19: Line 19:
|coins=
|coins=
}}
}}
'''Thwomp''' is an enemy that appears in [[Whomp's Fortress]] and [[Tick Tock Clock]]. Thwomps are large, blue, block-like enemies who "attack" by moving downwards, crushing Mario if he is beneath them. Mario can climb on them and is intended to use them to reach higher areas in some cases. A very similar enemy called Grindel appears in [[Shifting Sand Land]].
'''Thwomp''' is an enemy that appears in [[Whomp's Fortress]] and [[Tick Tock Clock]]. Thwomps are large, blue, block-like enemies who "attack" by moving downwards, crushing Mario if he is beneath them. Mario can climb on them and is intended to use them to reach higher areas in some cases. A very similar enemy called [[Grindel]] appears in [[Shifting Sand Land]].
==Behavior==
==Behavior==
When Thwomp’s rising action begins, Thwomp begins to rise at a rate of 10 units/frame for 40 frames and then rises an additional 5 units and stops. Thwomp remains in the air for a variable period by calling for a random number between 0 and 1 which is then multiplied by 30 and added to 10. This is then used as the number of frames before Thwomp will move back down again. When this happens, Thwomp accelerates downward at a rate of 4 units/frame per frame. When Thwomp hits the ground, its Y-velocity is set to 0 and, if Mario is within 1500 units of Thwomp, the screen shakes and Thwomp makes a sound. After 10 frames, another random number from 0 to 1 is rolled and this number is multiplied by 10 and added to 20 to get the number of frames that Thwomp is on the ground before it begins to move up again.
When Thwomp’s rising action begins, Thwomp begins to rise at a rate of 10 units/frame for 40 frames and then rises an additional 5 units and stops. Thwomp remains in the air for a variable period by calling for a random number between 0 and 1 which is then multiplied by 30 and added to 10. This is then used as the number of frames before Thwomp will move back down again. When this happens, Thwomp accelerates downward at a rate of 4 units/frame per frame. When Thwomp hits the ground, its Y-velocity is set to 0 and, if Mario is within 1500 units of Thwomp, the screen shakes and Thwomp makes a sound. After 10 frames, another random number from 0 to 1 is rolled and this number is multiplied by 10 and added to 20 to get the number of frames that Thwomp is on the ground before it begins to move up again.
==References==
==References==
[https://github.com/n64decomp/sm64/blob/06ec56df7f951f88da05f468cdcacecba496145a/src/game/behaviors/thwomp.inc.c Thwomp Behavior File]
* [https://github.com/n64decomp/sm64/blob/06ec56df7f951f88da05f468cdcacecba496145a/src/game/behaviors/thwomp.inc.c Thwomp behavior file]
 
{{Template:Objects}}
 
[[Category:Enemies]]
[[Category:Enemies]]

Latest revision as of 03:41, 8 May 2021

Thwomp
STROOP- Thwomp.png
Technical Constants
Object Group Surface
Actor Group Group 1
Tangibility Radius 1000
Draw Distance 4000

Thwomp is an enemy that appears in Whomp's Fortress and Tick Tock Clock. Thwomps are large, blue, block-like enemies who "attack" by moving downwards, crushing Mario if he is beneath them. Mario can climb on them and is intended to use them to reach higher areas in some cases. A very similar enemy called Grindel appears in Shifting Sand Land.

Behavior

When Thwomp’s rising action begins, Thwomp begins to rise at a rate of 10 units/frame for 40 frames and then rises an additional 5 units and stops. Thwomp remains in the air for a variable period by calling for a random number between 0 and 1 which is then multiplied by 30 and added to 10. This is then used as the number of frames before Thwomp will move back down again. When this happens, Thwomp accelerates downward at a rate of 4 units/frame per frame. When Thwomp hits the ground, its Y-velocity is set to 0 and, if Mario is within 1500 units of Thwomp, the screen shakes and Thwomp makes a sound. After 10 frames, another random number from 0 to 1 is rolled and this number is multiplied by 10 and added to 20 to get the number of frames that Thwomp is on the ground before it begins to move up again.

References