SM64DS Actor 161: Thwomp

Sdílet
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.

Komentáře • 8

  • @SkicoNow
    @SkicoNow Před 3 lety +11

    Honey wake up a new Josh65536 video just came out

  • @Monafide3305
    @Monafide3305 Před 3 lety +7

    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.

  • @IceisNice_FollowingChrist

    really informative thanks for the video!

  • @jusyoniox
    @jusyoniox Před 2 lety +1

    Tbh thwomps were never an easy thing to do even though they have a basic pattern

  • @SuperSam12345
    @SuperSam12345 Před 3 lety

    Interesting

  • @r.a.v.v.8613
    @r.a.v.v.8613 Před 3 lety

    Can he beat Goku tho?

  • @ENCHANTMEN_
    @ENCHANTMEN_ Před 3 lety

    urgh

  • @Josiwi
    @Josiwi Před 3 lety

    E