Skeeter: Difference between revisions

122 bytes added ,  8 May 2021
Referencing behavior file
(Created page with "{{object_infobox_2 |title= Skeeter |image= STROOP- Skeeter.png |group=General Actor |group2 = Group 13 |tangibility= |draw= |gravity=-400 |friction=1000 |buoyancy=1200 |intera...")
 
(Referencing behavior file)
 
Line 20: Line 20:
}}
}}
'''Skeeter''' is an enemy appearing in [[Wet-Dry World]]. Skeeters move around on the water, damaging Mario should he run into them.
'''Skeeter''' is an enemy appearing in [[Wet-Dry World]]. Skeeters move around on the water, damaging Mario should he run into them.
==Behavior==
==Behavior==
If Skeeter is on the ground, Skeeter idles for a random amount of time and then begins walking around. Skeeter walks around in random directions in a radius of 1000 units around its home with a top speed of 10 units per frame. If Mario is within 500 units of Skeeter, Skeeter's top speed increases to 20 units per frame and it turns toward Mario while walking forward. If Skeeter is on water, then after 60 frames Skeeter will enter its lunging action. In its lunging action, skeeter moves forward at 80 units per frame, decelerating to 0 units per frame at a rate of .8 units per frame per frame. If Skeeter collides with a wall, Skeeter's speed decreases by 70% every frame. When Skeeter's speed hits 0 and its current animation ends, Skeeter randomly chooses a new target angle and then idles for a random amount of time between 0 and 30 frames. When Skeeter is killed its death sound plays and 3 coins spawn.
If Skeeter is on the ground, Skeeter idles for a random amount of time and then begins walking around. Skeeter walks around in random directions in a radius of 1000 units around its home with a top speed of 10 units per frame. If Mario is within 500 units of Skeeter, Skeeter's top speed increases to 20 units per frame and it turns toward Mario while walking forward. If Skeeter is on water, then after 60 frames Skeeter will enter its lunging action. In its lunging action, skeeter moves forward at 80 units per frame, decelerating to 0 units per frame at a rate of .8 units per frame per frame. If Skeeter collides with a wall, Skeeter's speed decreases by 70% every frame. When Skeeter's speed hits 0 and its current animation ends, Skeeter randomly chooses a new target angle and then idles for a random amount of time between 0 and 30 frames. When Skeeter is killed its death sound plays and 3 coins spawn.
==References==
* [https://github.com/n64decomp/sm64/blob/master/src/game/behaviors/skeeter.inc.c Skeeter behavior file]


{{objects}}
{{objects}}
[[Category:Enemies]]
[[Category:Enemies]]
218

edits