King Bob-omb: Difference between revisions

m
behavior
(Created page with "{{object_infobox_2 |title= King Bob-omb |image= STROOP- King Bob-omb.png |group=General Actor |group2 = Group 3 |tangibility= |draw=4000 |gravity=-400 |friction=1000 |buoyancy...")
 
m (behavior)
Line 22: Line 22:


==Behavior==
==Behavior==
TODO
King Bob-omb starts off intangible with his HP set to 3. When Mario gets within 500 units of King Bob-omb laterally, King Bob-omb’s dialogue plays and he becomes holdable. King Bob-omb moves around with a forward velocity of 3 and turns towards Mario at a rate of 1.4 degrees/frame. If King Bob-omb manages to grab Mario, an animation of the grab plays and a sound plays. When the animation ends King Bob-omb starts moving forward at 3 units/frame,  and after 20 frames starts rotating towards the negative Z-axis at 5.625 degrees/frame. Once King Bob-omb is facing the negative Z-axis, he throws Mario. If Mario is within 2500 units of King Bob-omb, King Bob-omb begins walking around again. Mario can break out of the grab if he performs the grab escape action 11 times before he is thrown.
 
When Mario grabs King Bob-omb and throws him, King Bob-omb is moved upward by 20 units, and then thrown forward with a Y-velocity of 50 units/frame and horizontal velocity of 20 units/frame. It takes 25 frames for the throw to complete, during which King Bob-omb will travel 500 units horizontally. If King Bob-omb was not thrown off the top of the mountain, then when King Bob-omb collides with the ground, his heath is decreased by 1, and, if he has not been defeated, his interaction type is changed to Hurtbox until he gets back up. If his health has hit 0, he is defeated, a star spawns, and the boss music stops. If King Bob-omb is thrown off the hill (more than 100 units below his home), then King Bob-omb jumps back up to the hill.
 
If at any point during the battle Mario’s height is at least 1200 units below King Bob-omb’s height, King Bob-omb resets to his initial state and the boss music stops playing.


[[Category:Enemies]]
[[Category:Enemies]]