Bob-omb: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
m (reformated with template)
 
(24 intermediate revisions by 15 users not shown)
Line 1: Line 1:
*basic info here*
{{object_infobox_2
|title= Bob-omb
|image= STROOP- Bob-omb.png
|group=Destructive
|group2=Common0
|modelID=0xBC
|tangibility=1000
|draw=4000
|draw_note=2000 in TTC
|gravity=2.5
|friction=0.8
|buoyancy=1.3
|interaction=Grabbable
|damage=0
|coin_value=
|health=0
|radius=65
|height=113
|hurtbox_radius=
|hurtbox_height=
|offset=0
|coins=0
|behaviorScript=[https://github.com/n64decomp/sm64/blob/master/data/behavior_data.c#L3732 Bob omb Initialization File]
|behaviorCode=[https://github.com/n64decomp/sm64/blob/master/src/game/behaviors/bobomb.inc.c Bob omb Behavior file]
}}
'''Bob-ombs'''<!--or '''Bombombs'''--> are enemies in SM64. When they see Mario, their fuse lights and they start chasing him. After their fuse ends, they explode, creating an explosion object.


==Locations==
The following courses have Bob-ombs:


===Bloated Bob-omb===
*[[Bob-omb Battlefield]]
The bloated bob-omb is the state when the bob-omb gets bigger, right before exploding. Usually, this bob-omb explodes. But if you grab it right before the explosion, it will be delayed for 12 frames. Note that if the explosion is early (by throwing the bob-omb on the ground) It won't explode until the timer expires.
*[[Shifting Sand Land]]
The explosion is delayed, but the bob-omb stays big, wich means that its hitbox is bigger, enough to push mario backwards.
*[[Tall, Tall Mountain]]
*[[Tick Tock Clock]]
*[[Rainbow Ride]]
*[[Bowser in the Fire Sea]]
*[[Bowser in the Sky]]


===Keeping the bloated bob-omb===
==Bloated Bob-omb==
After grabbing the bloated bob-omb, you have to walk, then the bob-omb wil start exploding again, then you have to re-grab the bob-omb. During these small frames of walk, you will be able to turn.
The bloated Bob-omb is the state when the Bob-omb gets bigger, right before exploding. Usually, this Bob-omb explodes. But if you grab it right before the explosion, it will be delayed for 12 frames. Note that if the explosion is early (by throwing the Bob-omb on the ground) It won't explode until the timer expires.
The explosion is delayed, but the Bob-omb stays big, which means that its hitbox is bigger, enough to push Mario backwards.
===Maintaining a Bloated State===
After grabbing the bloated Bob-omb, you have to walk, then the Bob-omb will start exploding again, then you have to re-grab the Bob-omb. During these small frames of walking, you will be able to turn.


Another way of keeping it is by holding it [[Hands-free]]. You will be able to jump, double jump and ground pound. You can't turn except if you have a [[Wing Cap]], where you will be able to fly while being pushed backwards.
Another way of keeping it is by holding it [[Hands-free]]. You will be able to jump, jumpkick, double jump, triple jump, and ground pound. You can't turn except if you have a [[Wing Cap]], where you will be able to fly while being pushed backwards.


==Teleport Hands-free Bloated bob-omb==
===Hands-free Teleported Bloated Bob-omb===
If you teleport while holding a bob-omb [[Hands-free]], This bob-omb will disappear. But if you go close to the first teleporter or if you teleport back, the bob-omb will appear in front of you, giving you backwards momentum while keeping almost every movement. You can grab that bob-omb by diving or punching. Kicking will cancel the momentum.
If you teleport while holding a Bob-omb [[Hands-free]], This Bob-omb will disappear. But if you go close to the first teleporter or if you teleport back, the Bob-omb will appear in front of you, giving you backwards momentum while keeping almost every movement. You can grab that Bob-omb by diving or punching. Kicking will cancel the momentum.


==Uses==
===Uses===
This trick is used a lot in the [[A Button Challenge]]
This trick is used frequently in the [[A Button Challenge]], but also generally for clipping through walls, such as in [https://www.youtube.com/watch?v=28PT7HZWaHI the Chain Chomp's Gate clip.]
But it's also used for clipping through walls, like for [https://www.youtube.com/watch?v=28PT7HZWaHI Chain Chomp's Gate clip.]
 
==Interaction with walls==
The game first adds the speed to the current position and uses that point in the collision calculations. The algorithm will push the bob-omb outward from the wall if a collision occurs, so if it's already against the wall it effectively adds the component of the bob-omb's speed that's tangent to the wall. Regardless of whether a collision occurs or not, the Bob-omb's position is incremented by its speed at a later point as well. Finally, since the point used for the collision calculation is only written to the Bob-omb's position if a collision occurs, the double speed increment doesn't happen in the open field. This occurs before the Bob-omb's actual movement step, so then it moves a 2nd time before the frame ends. Thus, when Bob-ombs touch a wall, their speed is effectively doubled.
 
Basically, Bob-ombs always check for wall collision before moving. If they do collide with a wall hitbox, then the Bob-omb's position is incremented and pushed away by the wall.
 
==Supersaturated Bob-omb==
A supersaturated Bob-omb is a Bob-omb whose fuse timer has overflowed, which vastly delays its explosion. Because the underlying glitch takes 828 days (2.3 years) to execute, it is the most time-consuming glitch in the game.
 
==See also==
* [[Supersaturated Bob-omb]]
 
[[Category:Enemies]]
==References==
<references/>
{{objects}}
{{Glitches|state=collapsed}}

Latest revision as of 21:24, 11 October 2023

Bob-omb
STROOP- Bob-omb.png
Technical Constants
Object Group Destructive
Actor Group Common0
Model ID 0xBC
Tangibility Radius 1000
Draw Distance 4000
Physical Constants
Gravity 2.5
Friction 0.8
Buoyancy 1.3
Hitbox
Interaction Type Grabbable
Damage 0
Health 0
Radius 65
Height 113
Down Offset 0
Code
Initialization Behavior Script [1]
Behavior Code [2]

Bob-ombs are enemies in SM64. When they see Mario, their fuse lights and they start chasing him. After their fuse ends, they explode, creating an explosion object.

Locations

The following courses have Bob-ombs:

Bloated Bob-omb

The bloated Bob-omb is the state when the Bob-omb gets bigger, right before exploding. Usually, this Bob-omb explodes. But if you grab it right before the explosion, it will be delayed for 12 frames. Note that if the explosion is early (by throwing the Bob-omb on the ground) It won't explode until the timer expires. The explosion is delayed, but the Bob-omb stays big, which means that its hitbox is bigger, enough to push Mario backwards.

Maintaining a Bloated State

After grabbing the bloated Bob-omb, you have to walk, then the Bob-omb will start exploding again, then you have to re-grab the Bob-omb. During these small frames of walking, you will be able to turn.

Another way of keeping it is by holding it Hands-free. You will be able to jump, jumpkick, double jump, triple jump, and ground pound. You can't turn except if you have a Wing Cap, where you will be able to fly while being pushed backwards.

Hands-free Teleported Bloated Bob-omb

If you teleport while holding a Bob-omb Hands-free, This Bob-omb will disappear. But if you go close to the first teleporter or if you teleport back, the Bob-omb will appear in front of you, giving you backwards momentum while keeping almost every movement. You can grab that Bob-omb by diving or punching. Kicking will cancel the momentum.

Uses

This trick is used frequently in the A Button Challenge, but also generally for clipping through walls, such as in the Chain Chomp's Gate clip.

Interaction with walls

The game first adds the speed to the current position and uses that point in the collision calculations. The algorithm will push the bob-omb outward from the wall if a collision occurs, so if it's already against the wall it effectively adds the component of the bob-omb's speed that's tangent to the wall. Regardless of whether a collision occurs or not, the Bob-omb's position is incremented by its speed at a later point as well. Finally, since the point used for the collision calculation is only written to the Bob-omb's position if a collision occurs, the double speed increment doesn't happen in the open field. This occurs before the Bob-omb's actual movement step, so then it moves a 2nd time before the frame ends. Thus, when Bob-ombs touch a wall, their speed is effectively doubled.

Basically, Bob-ombs always check for wall collision before moving. If they do collide with a wall hitbox, then the Bob-omb's position is incremented and pushed away by the wall.

Supersaturated Bob-omb

A supersaturated Bob-omb is a Bob-omb whose fuse timer has overflowed, which vastly delays its explosion. Because the underlying glitch takes 828 days (2.3 years) to execute, it is the most time-consuming glitch in the game.

See also

References