SM64DS Actor 161: Thwomp
Vložit
- čas přidán 10. 09. 2024
- The Thwomp is an angry stone that periodically stomps on the ground, squishing players beneath.
Actor Statistics
- The Thwomp has the flag "Aimable by Yoshi Egg". Forgot about that.
Behavior
- The Thwomp determines where the ground is with a raycast 50 fxu above its placed position. If the raycast fails, the Thwomp will think the ground is 50 fxu above its placed position, resulting in a Thwomp that stomps on thin air. This never happens in game.
- If the ground below a Thwomp moves, the Thwomp will stomp on thin air. This never happens in game.
- The random number of frames to wait in the air is (⌊x/65536⌋ mod 30) + 10, where x is the number the RNG returns. This is calculated on the last frame the Thwomp moves up.
- The random number of frames to wait on the ground is (⌊x/65536⌋ mod 10) + 30, where x is the number the RNG returns. This is calculated on the frame the Thwomp stomps the ground.
- The code splits the wait-on-the-ground state into 2 states and I have no idea why:
1. Wait 10 frames
2. Wait 20 + d frames, where d is a random number and 0 ≤ d < 10
How to Defeat
- The Thwomp will respawn if the player enters a subarea of the course and leaves it. This never happens in game, as Whomp's Fortress and Tick Tock Clock don't have subareas.
Honey wake up a new Josh65536 video just came out
What is the point of having so much randomness? Hardly any one is going to even notice a difference of 2 or 3 frames anyway.
really informative thanks for the video!
Tbh thwomps were never an easy thing to do even though they have a basic pattern
Interesting
Can he beat Goku tho?
urgh
E