Bullet Bill: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
m (Additional Constants)
mNo edit summary
Line 9: Line 9:
|friction=0
|friction=0
|buoyancy=0
|buoyancy=0
|interaction= Hurtbox 2
|interaction= Damage
|damage=3
|damage=3
|health=
|health=
Line 21: Line 21:
'''Bullet Bill''' is an enemy that appears in [[Whomp's Fortress]] after defeating King Whomp. Bullet Bills are fired from a Bullet Bill Blaster at the top of Whomp's Fortress and attack Mario by flying into him. They deal 3 damage and cannot be defeated.
'''Bullet Bill''' is an enemy that appears in [[Whomp's Fortress]] after defeating King Whomp. Bullet Bills are fired from a Bullet Bill Blaster at the top of Whomp's Fortress and attack Mario by flying into him. They deal 3 damage and cannot be defeated.
==Behavior==
==Behavior==
The Bullet Bill Blaster is purely visual, as the Bullet Bill itself handles all its movement and is simply placed in such a spot to give off the illusion that the Blaster is firing it. The Bullet Bill is initialized with a velocity of 0 and positioned at its home.  If Mario is within 45 degrees of the Bullet Bill’s line of sight and his distance from the Bullet Bill is between 400 and 1500 units, the Bullet Bill Blasting action will begin. The Bullet Bill moves forward at 3 units/frame for 40 frames, then alternates moving backward 3 units and forward 3 units per frame for another 10 frames.  At frame 50, the bullet bill firing sound plays, the Bullet Bill smoke spawns, and the Bullet Bill begins moving forward at 30 units/frame. If Mario’s distance from the Bullet Bill is greater than 300 units, the Bullet Bill will rotate its angle toward Mario at 1.4 degrees per frame. After an additional 100 frames, the Bullet Bill disappears into mist and is reset to its initial state and position. If the Bullet Bill strikes Mario, the Bullet Bill becomes intangible and flies backwards at 30 units/frame while moving upward 20 units/frame and rotating. After 90 frames, the Bullet Bill is reset to its initial state and position.
The Bullet Bill Blaster is purely visual, as the Bullet Bill itself handles all its movement and is simply placed in such a spot to give off the illusion that the Blaster is firing it. The Bullet Bill is initialized with a velocity of 0 and positioned at its home.  If Mario is within 45 degrees of the Bullet Bill’s line of sight and his distance from the Bullet Bill is between 400 and 1500 units, the Bullet Bill Blasting action will begin. The Bullet Bill moves forward at 3 units/frame for 40 frames, then alternates moving backward 3 units and forward 3 units per frame for another 10 frames.  At frame 50, the bullet bill firing sound plays, the Bullet Bill smoke spawns, and the Bullet Bill begins moving forward at 30 units/frame. After 71 frames, the Bullet Bill is able to interact with walls and running into one will make it disappear and reset to its original position. If Mario’s distance from the Bullet Bill is greater than 300 units, the Bullet Bill will rotate its angle toward Mario at 1.4 degrees per frame. After an additional 100 frames, the Bullet Bill disappears into mist and is reset to its initial state and position. If the Bullet Bill strikes Mario, the Bullet Bill becomes intangible and flies backwards at 30 units/frame while moving upward 20 units/frame and rotating. After 90 frames, the Bullet Bill is reset to its initial state and position.
==References==
==References==
[https://github.com/n64decomp/sm64/blob/06ec56df7f951f88da05f468cdcacecba496145a/src/game/behaviors/bullet_bill.inc.c Bullet Bill Behavior File]
[https://github.com/n64decomp/sm64/blob/06ec56df7f951f88da05f468cdcacecba496145a/src/game/behaviors/bullet_bill.inc.c Bullet Bill Behavior File]
[[Category:Enemies]]
[[Category:Enemies]]

Revision as of 15:39, 24 March 2020

Bullet Bill
STROOP- Bullet Bill.png
Technical Constants
Object Group General Actor
Actor Group Group 1
Physical Constants
Gravity 0
Friction 0
Buoyancy 0
Hitbox
Interaction Type Damage
Damage 3
Radius 50
Height 50
Down Offset 50

Bullet Bill is an enemy that appears in Whomp's Fortress after defeating King Whomp. Bullet Bills are fired from a Bullet Bill Blaster at the top of Whomp's Fortress and attack Mario by flying into him. They deal 3 damage and cannot be defeated.

Behavior

The Bullet Bill Blaster is purely visual, as the Bullet Bill itself handles all its movement and is simply placed in such a spot to give off the illusion that the Blaster is firing it. The Bullet Bill is initialized with a velocity of 0 and positioned at its home. If Mario is within 45 degrees of the Bullet Bill’s line of sight and his distance from the Bullet Bill is between 400 and 1500 units, the Bullet Bill Blasting action will begin. The Bullet Bill moves forward at 3 units/frame for 40 frames, then alternates moving backward 3 units and forward 3 units per frame for another 10 frames. At frame 50, the bullet bill firing sound plays, the Bullet Bill smoke spawns, and the Bullet Bill begins moving forward at 30 units/frame. After 71 frames, the Bullet Bill is able to interact with walls and running into one will make it disappear and reset to its original position. If Mario’s distance from the Bullet Bill is greater than 300 units, the Bullet Bill will rotate its angle toward Mario at 1.4 degrees per frame. After an additional 100 frames, the Bullet Bill disappears into mist and is reset to its initial state and position. If the Bullet Bill strikes Mario, the Bullet Bill becomes intangible and flies backwards at 30 units/frame while moving upward 20 units/frame and rotating. After 90 frames, the Bullet Bill is reset to its initial state and position.

References

Bullet Bill Behavior File