Walls, Floors, & Ceilings

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 มิ.ย. 2024
  • I explain all about walls, floors, and ceilings, as well as other related topics like triangles/unit normal vectors, frames/quarter steps, Mario’s position, the sequence of a events in a frame, and out of bounds. For convenience, here are each of the topics:
    00:00 Intro, Triangles, Unit Normal Vectors
    02:29 Frames, Quarter Steps
    03:34 Mario’s Position
    04:35 Sequence of Events in a Frame
    04:59 Wall Hitboxes
    10:21 Multiple Wall Hitboxes
    13:55 Double-Sided Walls
    16:58 Clipping Through Walls
    18:51 Floor Hitboxes
    20:22 Ramps and Stairs
    21:20 Ceiling Hitboxes
    24:56 Entering Ceiling Hitboxes
    26:41 Sequence of Events in a Frame Revisited
    27:02 Boxes
    28:13 Seemingly Vertical Surfaces
    30:28 Out of Bounds
    32:44 Entering Out of Bounds
    34:17 Walls vs. Ceilings vs. Out of Bounds
    • Wall Hitboxes Non-Cardinal Wall Hitboxes
    I consider the information in this video to be extremely important, especially when it comes to SM64 analysis (e.g. can Mario dive recover onto this box?). In fact, I've been using this information for years to help me execute strats (e.g. clipping through two walls at a corner when I have less than 400 speed) and quickly dismiss impossible strats (e.g. even if we had enough speed, we couldn't launch to above the chests in JRB since that's above a ceiling). And so now, I've finally compiled all of this knowledge into one video so that everyone has access to it. Big thanks to Tyler Kehne and Peter Fedak for assisting me throughout the research process.
    Note that I've tried to make this video as simple and concise as possible, which often meant making generalizations that apply in most cases but not all. For example, I said moving into out of bounds while airborne resets Mario's horizontal speed, but this only occurs when Mario has a small positive speed or negative speed. For a medium positive speed, Mario will do a soft bonk. And for a high positive speed, Mario will do a hard bonk. So there may be exceptions to some things I say, but this was because delving into every possible case would have made the video several times longer and more complicated.
    Interestingly, in the time between when I started this video and when I posted it, I've made other videos that have used information from this video, such as the hitbox dimensions and effects. Those videos even used the same color scheme in their visuals, since I had just copied the visuals from this video. But in all of those cases, I had to briefly explain the important principles beforehand, since I couldn't rely on viewers having seen the not-yet-released wall/floor/ceiling video. But now that this video is released, I won't bother re-explaining information from this video in future videos that rely on it.
    Aside: I had actually started this video on May 26, 2016 (a year and one day ago). But after starting it, this video ended up becoming a much larger endeavor than I had anticipated. Indeed, the magnitude of its scope combined with how tedious the research and visuals were caused making this video to be extremely unfun. So unfun that I soon abandoned it in favor of working on other easier/funner videos instead. In fact, I’ve made 70+ other videos since then, since basically I preferred to work on any other video rather than have to finish this video. During that period, I’d attempted to resume working on this video about 8 times, but each time I just ended up abandoning it again due to how unfun it was. During one attempt, I even tried mandating that I couldn’t work on any other SM64 things besides this video, but that just led to 3 days of getting nothing done in SM64, and so I abandoned that attempt. It wasn’t until recently that conditions aligned just right and so I was finally able to coax myself into finishing this video. The takeaway from this is that I simply cannot force myself to make a video that I’m not in the mood to make. If I do try to force myself, I’ll just end up resisting, putting it off, and getting nothing done. Note that if this video also had to be commentated, then my resistance to making it would have increased several fold, and so it probably would have taken at least 5-10 more years to coax myself into making it. In other words, I was only able to get this video out as early as now because it was strictly uncommentated.
  • เกม

ความคิดเห็น • 1.4K

  • @cyntheticconjurer
    @cyntheticconjurer 7 ปีที่แล้ว +1260

    If you told me three years ago I'd be excited for a 40-minute video called "Walls, Floors, and Ceilings", I would've looked at you like you were crazy.

    • @dmas7749
      @dmas7749 7 ปีที่แล้ว +26

      So am I!

    • @synexiasaturnds727yearsago7
      @synexiasaturnds727yearsago7 3 ปีที่แล้ว +6

      @Samuel Skala 10 Years After

    • @RubyPiec
      @RubyPiec 3 ปีที่แล้ว +3

      @@synexiasaturnds727yearsago7 69 years after

    • @MinerGlitch25lbp
      @MinerGlitch25lbp 3 ปีที่แล้ว +7

      Why is this 3 years ago

    • @PC_Simo
      @PC_Simo 3 ปีที่แล้ว +2

      I know the feeling 😎.

  • @IronicHavoc
    @IronicHavoc 7 ปีที่แล้ว +732

    So that's why he pushes during PU movement.

    • @TheFerdi265
      @TheFerdi265 7 ปีที่แล้ว +130

      TacitIron Hav It's a real eye opener

    • @dmas7749
      @dmas7749 7 ปีที่แล้ว +11

      I figured something like that was why

  • @nin10doadict
    @nin10doadict 7 ปีที่แล้ว +574

    That feeling when you've noticed many of these behaviors when casually playing but never knew why or gave them much thought

    • @KylerGreer
      @KylerGreer 7 ปีที่แล้ว +66

      nin10doadict I am just glad to now know why you can sometimes get stuck on random geometry, usually corners.

    • @TheLoveMario
      @TheLoveMario 6 ปีที่แล้ว +39

      This also explains those weird random invisible walls that you sometimes hit. They're infinitely extending OoB or ceiling hitboxes that are simply leaking through small misalignments of the ground

    • @PC_Simo
      @PC_Simo 3 ปีที่แล้ว +11

      So, the 100 unit hitboxes above the floors are *INDEED* why punching one’s way down from the blue coin blocks doesn’t activate one’s conserved vertical speed 🤔💡.

    • @cy-bernet-ix
      @cy-bernet-ix 3 ปีที่แล้ว +5

      Kyler Greer yeah like when you slowly walk onto an edge and you just vibrate intnsepy

  • @Phos9
    @Phos9 7 ปีที่แล้ว +415

    I like to imagine this as a tutorial for someone who has never played this game before, it starts with the basics.

    • @notchmath9642
      @notchmath9642 7 ปีที่แล้ว +69

      Phos9 "basics"

    • @Raybayize
      @Raybayize 7 ปีที่แล้ว +91

      More like "professional advanced basiscs"

    • @its_elkku135
      @its_elkku135 7 ปีที่แล้ว +41

      Phos9 Maybe a tutorial for a speedrunner, but definitely not for your average Joe.

    • @Christer2222
      @Christer2222 7 ปีที่แล้ว +24

      yes, knowing how blinking works is an absolute must to play the game!

    • @TheWASHINGMACHINEBOY
      @TheWASHINGMACHINEBOY 5 ปีที่แล้ว +6

      baldi's basics in the mechanics and inner working of super mario 64

  • @Alexedishi
    @Alexedishi 7 ปีที่แล้ว +1306

    Holy shit 37 minutes of glorious Pannen

    • @ameermalick3028
      @ameermalick3028 7 ปีที่แล้ว +16

      He has truly blessed us

    • @loneeevee
      @loneeevee 7 ปีที่แล้ว +19

      We need another video with his voice, then we will truly be blessed.

    • @ameermalick3028
      @ameermalick3028 7 ปีที่แล้ว +91

      He's still building up speed for that one

    • @loneeevee
      @loneeevee 7 ปีที่แล้ว +2

      LOL

    • @gradedagames7880
      @gradedagames7880 7 ปีที่แล้ว +2

      ikr

  • @Andrew-gu8uw
    @Andrew-gu8uw 7 ปีที่แล้ว +1317

    2:11
    *clears throat*
    Ceilings are red
    Floors are blue
    ...right I forgot,
    walls exist too

    • @gradedagames7880
      @gradedagames7880 7 ปีที่แล้ว +11

      lol

    • @mattomanx77
      @mattomanx77 7 ปีที่แล้ว +48

      10/10 beautiful poem made me cry

    • @unreal-the-ethan
      @unreal-the-ethan 7 ปีที่แล้ว +90

      ceilings are red
      floors are blue
      i found a pedro spot
      but the question is, did you?

    • @RupertAndCheese
      @RupertAndCheese 7 ปีที่แล้ว +49

      Ceilings are red,
      Floors are blue,
      Scuttlebug jamboree,
      It's snowing on Mt Fuji.

    • @barendbotje3818
      @barendbotje3818 7 ปีที่แล้ว +4

      GameGrumps :p

  • @Huggbees
    @Huggbees 7 ปีที่แล้ว +831

    You are my end-all favorite channel on this website. I am completely serious. No other channel has filled me with such wonder and awe in terms of experimentation, education and explanation. Thank you so much for all of your content.

  • @Andrew-gu8uw
    @Andrew-gu8uw 7 ปีที่แล้ว +761

    my god is this a documentary?

    • @Sc4r4byte
      @Sc4r4byte 7 ปีที่แล้ว +369

      an uncommentated documentary.
      and people give us flak for not reading enough because we spend so much time watching videos.

    • @moth.monster
      @moth.monster 7 ปีที่แล้ว +126

      just spent 37 minutes reading a youtube video lads

    • @memerichment
      @memerichment 7 ปีที่แล้ว +19

      an uncommentary, to be precise!

    • @jaydentt
      @jaydentt 5 ปีที่แล้ว +3

      Uncommented pannen.

    • @jacobw1780
      @jacobw1780 4 ปีที่แล้ว +2

      Maybe?

  • @yawg691
    @yawg691 7 ปีที่แล้ว +509

    This was actually extremely informative and now I actually UNDERSTAND how some of the speedrunning tricks work. BLJ's in HMC and the various dive clips for TTM and THI. Thank you, Pannenkoek!

    • @iwersonsch5131
      @iwersonsch5131 6 ปีที่แล้ว +23

      Already 256 likes, so I'm safely not causing an overflow.

    • @amogus7
      @amogus7 4 ปีที่แล้ว +2

      .

    • @craftlofer9974
      @craftlofer9974 4 ปีที่แล้ว +2

      same and now i wanted to try the BLJ glitch lol

  • @Fodimin
    @Fodimin 7 ปีที่แล้ว +1066

    All these triangles make a circle.
    All these triangles make a circle.
    All these triangles make a circle.

  • @kitsovereign4127
    @kitsovereign4127 7 ปีที่แล้ว +241

    0:38 - Who the hell designed this merry-go-round?
    33:11 - Who the *hell* designed this merry-go-round?

    • @eddnox
      @eddnox 6 ปีที่แล้ว +16

      Steve, he is the new guy.

    • @TheWASHINGMACHINEBOY
      @TheWASHINGMACHINEBOY 5 ปีที่แล้ว +1

      Kit Sovereign 1. the big boo
      2. probably anhacker

    • @lucasrussell8101
      @lucasrussell8101 3 ปีที่แล้ว +12

      The geometry of the merry-go-round at 0:38 looked odd at first but after thinking about it, it makes sense. The pyramid in the center has 5 vertices of which the 4 vertices at the bottom need to be attached to the square base. Without the skinny triangles, you would be left with 4 trapezoids, not triangles. It looks odd, but it is probably the best way of using a triangular mesh to make that merry-go-round.

    • @KanashimiMusic
      @KanashimiMusic ปีที่แล้ว +3

      @@lucasrussell8101 I think the main problem that the original comment was referring to is the fact that it's not symmetrical. There are two of those skinny triangles in the top right and none in the top left, while it could have EASILY been one in every direction.

  • @plasma9706
    @plasma9706 7 ปีที่แล้ว +94

    Hearing that File Select music is always a good thing.

  • @36thgallardo
    @36thgallardo 7 ปีที่แล้ว +650

    Professor, will this be on the exam?

    • @madafaka2666
      @madafaka2666 6 ปีที่แล้ว +6

      yes e-e

    • @LinksYTLink
      @LinksYTLink 6 ปีที่แล้ว +4

      Mada Faka

    • @iProgramInCpp
      @iProgramInCpp 5 ปีที่แล้ว +10

      Teacher: Yeah sure why not
      Me:
      *Time to learn*

    • @cebry
      @cebry 5 ปีที่แล้ว +5

      Teacher: Nah... That's too hard... You would need a PHD for that xD

    • @kargaroc386
      @kargaroc386 4 ปีที่แล้ว +2

      yes

  • @Verlisify
    @Verlisify 7 ปีที่แล้ว +122

    How stairs work are pretty freaking cool
    Same for Out of Bounds being default

  • @raydarable
    @raydarable 7 ปีที่แล้ว +313

    Oh boy, 37 minutes of Pancake Man does the cool thing.

    • @kyle_bearr
      @kyle_bearr 7 ปีที่แล้ว +49

      I'm pleasantly surprised to find that phrase is still around

    • @Intrafacial86
      @Intrafacial86 7 ปีที่แล้ว +7

      Tell me, who is the pancake man and what is this "cool thing" that he does?

    • @afukcinboxlol2123
      @afukcinboxlol2123 7 ปีที่แล้ว +21

      The cool thing is cool. It is the thing which, other than being a thing, is also cool. Pancake Man does it.

    • @Jmelt_Kurisu
      @Jmelt_Kurisu 7 ปีที่แล้ว +6

      Did someone say something about delicious pancakes?

    • @raydarable
      @raydarable 7 ปีที่แล้ว +6

      Codybean1 Yes, It was I who said something about delicious Pancakes.

  • @marcsmith5490
    @marcsmith5490 7 ปีที่แล้ว +76

    Every video I tell myself this is the deepest we could possibly go, and every following video I am baffled by how wrong I was. Fantastic videos, keep them coming.

  • @spootot
    @spootot 7 ปีที่แล้ว +217

    Ceilings are red
    The floor is blue
    Luigi is green
    and walls are, too.

    • @sunk6478
      @sunk6478 6 ปีที่แล้ว +19

      spoot walls are luigi confirmed

    • @michalnemecek3575
      @michalnemecek3575 5 ปีที่แล้ว +3

      the illuminati is green too

    • @fidgety48
      @fidgety48 5 ปีที่แล้ว +1

      @@michalnemecek3575 like mountain dew

    • @nathansos8480
      @nathansos8480 ปีที่แล้ว +1

      so all these things are one and the same!

  • @Alltoc
    @Alltoc 7 ปีที่แล้ว +63

    Pannenkoek - The only person known to mankind that can make a 37min long video talking about walls, floors & ceilings in a 21 year old video game

    • @Alltoc
      @Alltoc 7 ปีที่แล้ว

      Art Schell We should make a Wikipedia article about pannen with this being the first lines

    • @Alltoc
      @Alltoc 7 ปีที่แล้ว

      Art Schell didn't expect that

    • @TheLoveMario
      @TheLoveMario 6 ปีที่แล้ว +2

      And also have it somehow be more interesting than all other documentaries out there combined

    • @Carlos-rf6eu
      @Carlos-rf6eu 3 ปีที่แล้ว +4

      And making 2 sequels

  • @bjornsteintheeviscerator1033
    @bjornsteintheeviscerator1033 7 ปีที่แล้ว +153

    *FILE SELECT INTENSIFIES*

  • @hasamidschwartz8725
    @hasamidschwartz8725 7 ปีที่แล้ว +42

    Fascinating as always. I'm actually about to start working on programming my own physics engine, so this is extra interesting as a look at how the people working on the N64 solved the problems of clipping and so on. Thanks, Pannen!

    • @hasamidschwartz8725
      @hasamidschwartz8725 7 ปีที่แล้ว +18

      Also should be said: parts of Rolling Rocks in 0.5 A Presses make a lot more sense now.

    • @crylune
      @crylune หลายเดือนก่อน

      You still working on that engine?

  • @BenjaminKatz
    @BenjaminKatz 7 ปีที่แล้ว +59

    A tv special-length video on a side channel for a mario exploiter discussing hitboxes

    • @badmanjones179
      @badmanjones179 7 ปีที่แล้ว +3

      i dont like that term "mario exploiter"

    • @BenjaminKatz
      @BenjaminKatz 7 ปีที่แล้ว +5

      Mario *****game***** exploiter

    • @badmanjones179
      @badmanjones179 7 ปีที่แล้ว

      thanks ha

  • @icyclimber4215
    @icyclimber4215 7 ปีที่แล้ว +158

    once you don't see the PU map
    you know that shit is somehow still gonna get real

    • @hasamidschwartz8725
      @hasamidschwartz8725 7 ปีที่แล้ว +25

      Relevant xkcd: xkcd.com/849/
      And honestly, upper-level math is an apt comparison here.

    • @dadangsudadang5963
      @dadangsudadang5963 7 ปีที่แล้ว +25

      It's the file select music man, the frickin file select music

    • @alexanderm5728
      @alexanderm5728 7 ปีที่แล้ว +17

      For anyone who doesn't get the XKCD joke, multiplying a complex number by its complex conjugate turns it into a real number. The same goes for a particle's wavefunction, which is used to find the probability of finding the particle in a certain position/momentum etc. (which must obviously be a real number).

    • @Andrew-gu8uw
      @Andrew-gu8uw 7 ปีที่แล้ว +3

      lithium 1817
      a) that's hilarious
      b) very true
      c) hehehee broke your 69 likes

    • @LinksYTLink
      @LinksYTLink 6 ปีที่แล้ว

      lithium 1817 true
      True
      True
      True

  • @CodytheDeer
    @CodytheDeer 7 ปีที่แล้ว +753

    I hated this channel because the words would dissapear before I finished reading
    Then I realized I've been watching all youtube videos in 1.25x speed

    • @MrMutebe
      @MrMutebe 7 ปีที่แล้ว +72

      Are you serious mate? LOL

    • @benjivenator
      @benjivenator 7 ปีที่แล้ว +318

      A speed is a speed. You can't say it's only 1.25

    • @hasamidschwartz8725
      @hasamidschwartz8725 7 ปีที่แล้ว +143

      Well, Ben """"""""""""""""""""""""""Weinzapfel"""""""""""""""""""""""""" jamin,

    • @want-diversecontent3887
      @want-diversecontent3887 7 ปีที่แล้ว +36

      Benjamin Weinzapfel
      Well, Benjamin "SOMETHINGLONG" (null)
      It's a fast speed. 0.5 speed is slow.

    • @lefrancais8808
      @lefrancais8808 7 ปีที่แล้ว +71

      That's because you built speed for 12 hours.

  • @flootah
    @flootah 7 ปีที่แล้ว +205

    i want you to know that this channel is great
    there's so much content that i could not have imagined would be this interesting, and now i can watch 37 minutes of it
    could you teach a class on m64

    • @RadionWave
      @RadionWave 7 ปีที่แล้ว +43

      i would actually be happy to attend such a class

    • @Krong
      @Krong 7 ปีที่แล้ว

      100th like

    • @dylanobrien3785
      @dylanobrien3785 7 ปีที่แล้ว +10

      You won't happily attend it anymore once you start to get the homework.
      "If Mario is moving perpendicularly towards a wall that has a rotation of 90° and he has a speed of 300, can he still pass through it in 1 quarter step?"
      "Explain your work."
      "When Mario bonks into a ceiling, does his vertical speed reset? What about his horizontal speed? How about the walls and the death barrier?"
      "Answer in complete sentences."
      "Should I commentate my videos?"
      "A. No"
      "B. No"
      "C. No"
      "D. DefactNO"
      "YES or NO?"
      "Is the distance that Mario travels necessarily equal to his actual speed?"
      Oh, also the homework uses Comic Sans MS.

    • @kellamyoshikage286
      @kellamyoshikage286 7 ปีที่แล้ว +7

      1. No, Mario's distance per quarter step would be 75, and thus he wouldn't be able to travel through the wall.
      2. Whenever Mario bonks into a ceiling or death barrier, both his horizontal and vertical speed reset, and he will go through the animation in the reverse of his original direction. Upon collision with a wall, however, Mario will have his direction reflected off of the surface of the wall, with his speeds still being reset.
      3. ...Yes. Wait, shit, no!
      4. No, it is not necessary that the distance Mario travels is equal to his speed; the two concepts are of different units, no time frame was specified, and interactions with floors, walls, and ceilings can all affect his motion.
      I would still take the class. Plus, Comic Sans isn't that bad. What other font do you know of that can piss off so many people just by insinuating its use?

    • @grieferjones2237
      @grieferjones2237 7 ปีที่แล้ว

      Dylan o'brien I

  • @rubixtheslime
    @rubixtheslime 7 ปีที่แล้ว +77

    I feel stryder's presence... Reading a sign kills Mario

    • @marioisawesome8218
      @marioisawesome8218 7 ปีที่แล้ว +19

      Entering a door kills Super Triangle Mario 64

    • @TheWASHINGMACHINEBOY
      @TheWASHINGMACHINEBOY 5 ปีที่แล้ว +3

      Rubixninja314 flying near koopa the quick and then shooting out of the cannon away from him crashes super mario 64

    • @falksalt9890
      @falksalt9890 4 ปีที่แล้ว +3

      Jumping into a painting with a goomba jamboree crashes sm64

  • @headcrab4
    @headcrab4 7 ปีที่แล้ว +109

    This stuff is more intense than most college courses I've taken

  • @Verlisify
    @Verlisify 7 ปีที่แล้ว +21

    does 26:30 ish have an application for speedruns? I don't think I have seen that used

    • @suvannaberkahjaya5984
      @suvannaberkahjaya5984 2 ปีที่แล้ว

      ik this is late lol but there is a trick called chip clip where that bug/glitch is used to downwarp in DDD

    • @ayushmansingh5506
      @ayushmansingh5506 2 ปีที่แล้ว

      @@suvannaberkahjaya5984 also the clip in jrb leading to the tunnel

  • @SirLTkdog
    @SirLTkdog 2 ปีที่แล้ว +4

    This channel is an invaluable resource for game developers.

  • @cat1554
    @cat1554 7 ปีที่แล้ว +32

    28:50
    WARNING
    SHARP HITBOXES

  • @GeekCritique
    @GeekCritique 7 ปีที่แล้ว +35

    So, question. How come when Mario long-jumps into a steep floor, his running speed increases so much as long as he's on it? An easy place to try this is the ramp out of the drained moat on the castle grounds. I used to get a kick out of running Mario around on it.

    • @BoredDucc
      @BoredDucc 3 ปีที่แล้ว +15

      I know I'm three years late, but I think it has to do with the fact that long jumping multiplies your speed by a certain value. Long jumping in quick succession will multiply your speed quite fast, until you hit the speed cap. This is why BLJs work, as they never set a negative cap on speed, meaning long jumping backwards could multiply your speed into the negayive millions. Also, because it is a multiplication of your speed, your speed increases exponentially.

    • @sunk6478
      @sunk6478 2 ปีที่แล้ว +3

      Sorry for being 4 years late, but that's because certain slopes retain Mario's speed

    • @AraiDigital
      @AraiDigital ปีที่แล้ว

      Sorry for being 5 years late, but I have no idea

  • @ArmoredSoul1
    @ArmoredSoul1 4 ปีที่แล้ว +7

    My girlfriend and I love watching your content. The theory behind this in terms of speedrunning and game development is fascinating no matter the medium it's presented. Keep it up.

  • @noramwahmwah
    @noramwahmwah หลายเดือนก่อน +21

    chat i found the prequel to the movie

  • @BrickiestBrick
    @BrickiestBrick 7 ปีที่แล้ว +14

    The mother of all Pannen videos

  • @FreyrFox
    @FreyrFox 7 ปีที่แล้ว +72

    "I'm not sure why an object can push us out of bounds in this situation"
    what, you not knowing something? BLASPHEMY

    • @Zelinkokitsune
      @Zelinkokitsune 7 ปีที่แล้ว +17

      Give him a while and he'll have an answer. I mean it took a while to fully understand how cloning worked. Originally it as an art but now it's a Science!

    • @badmanjones179
      @badmanjones179 7 ปีที่แล้ว +9

      i mean its still art but now we understand it. really now mario 64 itself is even more of an art, imitating life in that everything in it boils down to an interesting science. the difference between this and other games is that were studying this one. etc

    • @want-diversecontent3887
      @want-diversecontent3887 5 ปีที่แล้ว

      FreyrFox
      YEAH HE SHOULD KNOW THE UPWARP FIWKJDJWIJDNDN NOTIFICATION II

  • @olivierrheault1359
    @olivierrheault1359 7 ปีที่แล้ว +4

    The amount of stuff you know about this game and how clearly you explain it just completely blows my mind. This game is basically a science at this point and you make me understand all of it. You're amazing!

  • @keiyakins
    @keiyakins 3 ปีที่แล้ว +3

    I really love these videos of going into almost excessive depth on a topic. They're weirdly relaxing while also bring interesting

  • @jlferris5995
    @jlferris5995 7 ปีที่แล้ว +27

    I guess you can say the game is made of some tricky triangles then

  • @theSato
    @theSato 7 ปีที่แล้ว +40

    I can honestly say I was not expecting such a long video at this point, but I'm pleasantly surprised. :D Thanks pannen, ily

    • @theSato
      @theSato 7 ปีที่แล้ว +3

      So many questions answered by this.

  • @JamesJones-yh7nh
    @JamesJones-yh7nh 7 ปีที่แล้ว +10

    You're very good at explaining and demonstrating these complicated mechanics

  • @kellionisthallis6349
    @kellionisthallis6349 7 ปีที่แล้ว +7

    As programmer in training... It's extremely interesting to see how some of these well known, highly praised games were built.
    Thanks for documentaries! Sweet stuff! :D

  • @tacokoneko
    @tacokoneko 7 ปีที่แล้ว +35

    35:00 pannen perfectly syncs the arrows to the music for the entire scene

    • @Charcoal190
      @Charcoal190 7 ปีที่แล้ว +6

      He actually did that in quite a few videos, such as Star Heights

  • @JackBz
    @JackBz 7 ปีที่แล้ว +4

    this has to be one of the best videos you've ever done. really great examples that made me go "ooooh it makes sense why they do that" so many times. tbh I love the videos going deep into small mechanics of the game than anything else

  • @altrogeruvah
    @altrogeruvah 7 ปีที่แล้ว +3

    I love Pannenkoek's 30+min videos. You're really amazing and I appreciate you taking the time to make such great content.

  • @TheMrTangamandapio
    @TheMrTangamandapio 7 ปีที่แล้ว +297

    THIRTY SEVEN MINTUES

    • @bigstevie01
      @bigstevie01 7 ปีที่แล้ว +27

      Some day Pannen will do a twelve hour video and I will die happy.
      I am pleased I made this reply twelve hours after your comment.

    • @batpunk.
      @batpunk. 7 ปีที่แล้ว +44

      You want to see him build up speed for 12 hours?

    • @pikminman13
      @pikminman13 6 ปีที่แล้ว +2

      Leo C. G any more likes and we will cause an overflow

    • @deadmeme9407
      @deadmeme9407 6 ปีที่แล้ว +2

      IT'S OVER 255!

    • @nmotschidontwannagivemyrea8932
      @nmotschidontwannagivemyrea8932 หลายเดือนก่อน

      And 6 years later, he released a nearly 4 hour long sequel on the topic.

  • @Alchius
    @Alchius 7 ปีที่แล้ว +15

    The File Select Theme gets to show its chops for over 30 minutes.

  • @balneor
    @balneor 7 ปีที่แล้ว +2

    Awesome video, that really makes you understand, in some ways, how games are made (And how difficult and time-consuming it is).
    This made me realise a lot of things, that may be applicable to a *lot* of other video-games.

  • @lifehacksyoutubedudewiththeroc
    @lifehacksyoutubedudewiththeroc 7 ปีที่แล้ว +1

    That out of bounds stuff helped me make sense of the QPU movements. I now understand that the game makes sure you are not out of bounds every quarter-frame, which explains why you need to go across 4 PUs rather than one

  • @LegendaryQ
    @LegendaryQ 7 ปีที่แล้ว +9

    We need like a college of Pannen. There's so much interesting stuff going on here, with length and detail to match. You're a professor of SM64 at this point.

  • @Lugmillord
    @Lugmillord 7 ปีที่แล้ว +8

    Wow, almost 40 minutes? What a treat! And this explains so many of the small weird things that you encounter in the game, like how walls push you back differently. And now I know how these staircases in the castle really work! That bothered me for so long. Thanks :D WOW, you even explain why there are invisible walls, awesome. Now that's like the thing that bothered me the most! And this video even explains the underwater downwarp in my hack. Crazy. ...and how you can fall through the top of the castle's tower. Now it all makes sense o.O Really, this is an amazing video / lecture. I can't imagine how much work it must have been to put this together. This may just be your best work yet. I'm thoroughly impressed!

  • @K2JMan
    @K2JMan 7 ปีที่แล้ว +1

    I'm always amazed at how well you can explain such complicated rules of this game while also going into sufficient depth. I don't know if I can fully appreciate the effort that you must have put into this, based on your description, but I am thankful for it, and for the effort of everyone else in the SM64 TAS community (Tyler Kehne, Peter Fedak, etc.).

  • @E-102_Gamma
    @E-102_Gamma 7 ปีที่แล้ว +1

    This was probably the easiest time I've ever had watching a 37-minute video in one sitting. Your presentation skills are impeccable, Pannen. :)

  • @SupLuiKir
    @SupLuiKir 7 ปีที่แล้ว +46

    If the game could be tricked into thinking Mario was swimming for the purposes of quarter-step calculation while still keeping the physics behaviours of running or jumping, would that be useful at all for PU movement and the min-A-press challenge?

    • @Ammonium-ow6pd
      @Ammonium-ow6pd 7 ปีที่แล้ว +1

      · 0xFFF1 yeah, maybe that would remove QPU usage!

    • @skeeth2631
      @skeeth2631 7 ปีที่แล้ว +8

      probably yea, but its more commonly referred to as ABC or the A B-utton C-hallenge for future reference

    • @Lugmillord
      @Lugmillord 7 ปีที่แล้ว +12

      Too bad entering the swimming state resets his speed to zero and you can't build up speed while swimming :/
      Edit: Okay, you can conserve some speed, but it doesn't translate to swimming speed.

    • @Ammonium-ow6pd
      @Ammonium-ow6pd 7 ปีที่แล้ว +1

      Lugmillord oh, too bad then

    • @Lugmillord
      @Lugmillord 7 ปีที่แล้ว

      But we have to consider all possibilites ;) I mean... Pannen tried using the demo Mario. There isn't a crazy idea.

  • @heave-ho6864
    @heave-ho6864 7 ปีที่แล้ว +21

    So this is what you've been working so long on.
    Super excited to watch!

  • @Lizuma
    @Lizuma 5 ปีที่แล้ว +2

    Very interesting, especially with the walls! Now I know why there is sometimes a weird gap on one side of a wall in a game, I was always wondering what was going on! It was also pretty funny seeing how the out of bounds stuff worked!

  • @czechslovakian
    @czechslovakian 6 ปีที่แล้ว +8

    "I painted my room today!" Walls: Green. Floor: Blue. Ceiling: Red

    • @fazaazafg
      @fazaazafg 3 ปีที่แล้ว +2

      out of bounds: gray

  • @yanbo9001
    @yanbo9001 7 ปีที่แล้ว +4

    This video clarified a lot for me. I finally know the movement after a LBLJ works, cause I always wondered my Mario seemingly stops and then instantly moves fast again, now I know it's because you push against OOB.
    Also some clips used in speedrunning finally make a lot more sense. One thing I am still curious about is if what speedrunners call an "invisible wall" is actually just a ceiling "leaking out" or something like that.

  • @Skelpolu
    @Skelpolu 7 ปีที่แล้ว +5

    Not even kidding, you could make a book out of all these videos.
    I imagine it would read just as well as the book "Programming the 6502" by Rodnay Zaks.
    I'd kill for that book.

  • @Mimerneos
    @Mimerneos 7 ปีที่แล้ว +1

    Now, I know this may seem like a 37 minute video, but I had to pause and rewind so many times, that this was easily an hour long experience. Well worth it though!

  • @joshr8967
    @joshr8967 7 ปีที่แล้ว +2

    Wow, this actually explains a lot! I was wondering how you clipped through walls and objects with QPU movement and now I have my answer

  • @xaxaiuedufraine4897
    @xaxaiuedufraine4897 7 ปีที่แล้ว +6

    Never before did I think college education would factor into my understanding of a video about Super Mario 64...

  • @veldhuis94
    @veldhuis94 7 ปีที่แล้ว +11

    I think an object can push you out of bounds because its wall hitbox can push Mario through the floor triangle into out of bounds

  • @KTallguy99
    @KTallguy99 7 ปีที่แล้ว +2

    Thank you for making and publishing this. I imagine it was a real slog to put together, but it's really fascinating to see how the developers choices and how the results of those choices interact with one another. Your analysis is clear and inspiring. Thank you.

  • @eebilu
    @eebilu 7 ปีที่แล้ว +1

    I just want to say it was well worth the effort and time to make this, this is one of your best videos to date and has a flow and polish of a high quality research thesis. You started small and brought up the complexity at a comfortable rate, and by the end it felt fully fleshed out.

  • @sodiumsaturn
    @sodiumsaturn 7 ปีที่แล้ว +3

    pannen has this amazing ability for me to reconsider things and little quirks ive noticed in this game but never really thought twice about... it's really fascinating!! keep up the good work!!

  • @crystalizationism
    @crystalizationism 3 ปีที่แล้ว +6

    Astronaut: Wait,its all triangles
    Mario: *loads pistol* Always has been.

  • @Zadamanim
    @Zadamanim 7 ปีที่แล้ว

    I love how all these videos always end so unceremoniously. It makes it hard not to immediately start up another one.

  • @cirlu_bd
    @cirlu_bd 3 ปีที่แล้ว +2

    pannen went back on all of his old videos ang made chapter with the new youtube feature, what a great lad ! thank you so much for the efforts you put into the mario 64 community !

  • @louiesalmon3932
    @louiesalmon3932 7 ปีที่แล้ว +5

    I know I won't need to use most of this knowledge in my daily life, but damn if I don't always learn cool stuff from these videos. I plan on taking a game design course at my school next spring, I might just show my professor this channel and see if he would like to play some for the class. Edit: 35:44 OH. *THAT'S* why Mario is usually in that animation while moving at high speeds on the ground.

  • @XiphosCreates
    @XiphosCreates 7 ปีที่แล้ว +19

    It's cool to see strange observations from in-game finally explained in videos like this! Though I have a few questions:
    1. Are all instances of what we call 'invisible walls' just the consequence of infinite ceilings/ gaps in the floor?
    2. At 23:02 you explain that horizontal speed gets reset one frame later than vertical speed, but you show yellow arrows, indicating horizontal speed gets reset one quarter frame later than vertical speed. I can't tell from the video which one it is though.

    • @marioisawesome8218
      @marioisawesome8218 7 ปีที่แล้ว

      It was probably Mario's 4th quarter step

    • @Tomatobird8
      @Tomatobird8 7 ปีที่แล้ว

      1. Yes but, for example, in TTC you might hit invisible walls in the middle of the map where you'd think there would not be any gaps in the floor or infinite ceilings. I'm not sure myself what it is but I believe it could be because of some kinds of small misalignments with ceiling&floor triangles.
      2. I believe he meant quarter frames.

    • @want-diversecontent3887
      @want-diversecontent3887 7 ปีที่แล้ว +5

      Tomatobird8
      No, he meant frames. Part 2 is out, and he reveals his MISTAKE! That's right. Mistake.

  • @vultoneo
    @vultoneo 7 ปีที่แล้ว +1

    This video is sick! I'm a software engineer who loves gaming, so i'm always interested in breakdowns of mechanics in video games but this is so amazingly done that almost anyone can understand! Seriously good job!

  • @Cookieglue
    @Cookieglue 7 ปีที่แล้ว

    Some reason, these videos are plain beauty to me. Possibly the simplicity, possibly the cleverness in the engine, but whatever is, I love these videos!!!

  • @MeinCouch123
    @MeinCouch123 7 ปีที่แล้ว +5

    Thank you for this bountiful feast; I shall remain satisfied for a while

  • @KuraIthys
    @KuraIthys 7 ปีที่แล้ว +5

    Considering all the time I spent studying game programming in the last two decades or so. (no, I'm not a professional, nor even that good at it in the end), I find the nature of these hitboxes and in fact the whole collision logic for mario seems way more complex than I expected.
    While I'm sure there were very good reasons for what they did, I'm struggling to think of them for most cases.
    The 4 sub-step collision one at least makes sense.
    Depending on the accuracy of the coordinate system, if an object moves too far in a single step it might bypass the collision volumes, which leads to clipping through objects.
    One solution to this is to make hitboxes larger.
    Another is to perform actual full parametric line intersection testing (but that's difficult and computationally expensive.)
    A third option is to make all objects that can potentially collide move more slowly.
    Finally, you can make the time intervals between tests smaller. Which has the same functional effect as making the speeds lower, but does require more calculations. (since you are repeating the test more times per second.)
    There are possibly other options, but you can see why they went with the last one.
    The strange, multi-layer hitboxes though... That's very... peculiar...
    The more of these I watch, the more strange things mario 64 seems to contain.
    Some are there for good, obvious reasons, but some really don't seem to be at all.
    Makes you wonder how and why they came about.

  • @Lv5whatever
    @Lv5whatever 7 ปีที่แล้ว +1

    I absolutely love your videos. The amount of technical information in them is impressive.

  • @JackBz
    @JackBz 6 ปีที่แล้ว

    So I just wanted to say that this and part 2 are basically my favourite youtube videos ever. I absolutely love the in depth ones about mechanics over anything else. This, blinking, sleeping, HP, floats, RNG etc are some the best gaming videos on youtube imo.

  • @ronamadeo
    @ronamadeo 7 ปีที่แล้ว +50

    Amazing as always. Thanks for your dedication in making stuff like this.
    I totally get killing Mario when he steps out of bounds, but why does his hat disappear?

    • @heave-ho6864
      @heave-ho6864 7 ปีที่แล้ว +54

      I think Tyler said that the developers probably programmed that to happen for testing purposes, like so they would know that Mario had gone out of bounds, and then just forgot to remove it.

    • @edfreak9001
      @edfreak9001 7 ปีที่แล้ว +5

      How do you get your hat back if that happens, anyway?
      (If this is answered in the video, ignore me)

    • @Ultimaximus
      @Ultimaximus 7 ปีที่แล้ว +25

      It's only graphical, you still have it when you respawn

    • @1ted59
      @1ted59 7 ปีที่แล้ว +8

      Heave-Ho yeah that's the popular theory on why that's a thing

    • @DoggieLicc
      @DoggieLicc 7 ปีที่แล้ว +43

      Ron Amadeo Because it's literally hats off for getting out if bounds.

  • @AuraBOI
    @AuraBOI 7 ปีที่แล้ว +39

    I wonder how close you are to knowing more about how the game works than the developers

    • @SuuperW
      @SuuperW 7 ปีที่แล้ว +24

      I bet you he knows more than the developers currently remember about it. ;)

    • @anstheramoldchannel6042
      @anstheramoldchannel6042 7 ปีที่แล้ว +15

      Kyledude252 The devs didn't know the glitches. pannen does

  • @Visleaf
    @Visleaf 7 ปีที่แล้ว

    Thank you for blessing our souls with this wonderful video, Mr. pannenkoek 💕

  • @dorsal937
    @dorsal937 7 ปีที่แล้ว +1

    This is actually pretty informative from a game design point of view (although it may not be exactly modern). Good video, man.

  • @robhillen8007
    @robhillen8007 4 ปีที่แล้ว +5

    Earth & Space science Professor: What makes Earth A habitable planet?
    My friend: Water
    Me: A magnetic field
    27:40 : F L O O R S

  • @Henry00
    @Henry00 7 ปีที่แล้ว +6

    I always wanted to know more about the collision detection in Mario64 (and thus presumably Zelda too?). The one thing I wonder about though is how ledge grabs are detected, is that done on the edge of a floor (any floor?) or the tip of a wall? Loved the video, thank you so much and hope you will do more!

  • @badmanjones179
    @badmanjones179 7 ปีที่แล้ว +1

    thank you for finishing this masterpeice after over a year, i greatly appreciate it

  • @TransitUSA
    @TransitUSA 5 ปีที่แล้ว

    Late night TH-cam always impresses, no matter the circumstances. Thank you for making this video.

  • @thewordywarlock7159
    @thewordywarlock7159 7 ปีที่แล้ว +14

    My god, it's full of triangles.

  • @stunningcactus978
    @stunningcactus978 7 ปีที่แล้ว +3

    After watching this, I'm reminded of how, while performing the Pillarless glitch on SSL, I have, on occasion, instantly died when attempting to enter the top of the pyramid hole with the bomb. And so I ask, Pannenkoek, as you may already know the answer or would be able to investigate it, is there an area of Out of Bounds near the top of the pyramid hole in SSL?

  • @OlmiOP
    @OlmiOP 7 ปีที่แล้ว

    When I saw those 37 minutes I was ready to be confused. 5 minutes in I was already confused, but the rest of the video was really straight forward and simple tbh. Good job on explaining it so well!

  • @CrisRipper
    @CrisRipper 7 ปีที่แล้ว

    You started this video 1 year ago? Wow, too bad you didn't have fun making it...but you did a favor to everyone of us by finishing it and showing it to us, it's really informative and entertaining, despite it being so unfun for you, I'm sure everyone here really appreciate it. Thank you.

  • @50sts
    @50sts 7 ปีที่แล้ว +75

    Professor will this be on the exam?

    • @its_elkku135
      @its_elkku135 7 ปีที่แล้ว +24

      Maybe if you're planning to cure cancer.

    • @roybanderas154
      @roybanderas154 7 ปีที่แล้ว +35

      50sts
      1.- Draw a complete diagram of grounded stair hitboxes.

    • @SSDARKPIT
      @SSDARKPIT 6 ปีที่แล้ว +3

      4. Figure out how Bowser knows when Mario dies.

    • @dhh7444
      @dhh7444 5 ปีที่แล้ว

      Today I comment on a 1 year old comment to tell OP he copied a joke just for that internet attention you need

  • @SgvSth
    @SgvSth 7 ปีที่แล้ว +6

    First Crystal_ posts a video today and now Pannen does. Definitely a good weekend. ;)

  • @aliaspseudonym525
    @aliaspseudonym525 7 ปีที่แล้ว +1

    Fascinating! So many interesting little details! Also, very happy to see this uploaded! No wonder you were inactive for so long, making such a big video!
    Shame it can't be commentated, given how important it is, but I'm still happy you upload it, & I understand your feelings on such matters are a big part of the reason!
    Be well, & here's looking forward to more content from you, Pannen!

  • @skivvy3565
    @skivvy3565 ปีที่แล้ว +1

    This gives you so much more appreciation for how something like the cap that lets you walk through walls works

  • @sunbuYT
    @sunbuYT 7 ปีที่แล้ว +100

    Ceilings are Red
    Floors are Blue
    I subscribed to Pannen
    So should you.

    • @thezipcreator
      @thezipcreator 7 ปีที่แล้ว +6

      Already subbed

    • @groszak1
      @groszak1 7 ปีที่แล้ว

      I'm not allowed to subscribe because I already subscribed.

  • @mikul9204
    @mikul9204 7 ปีที่แล้ว +14

    You should make a game

  • @theclingyfox7899
    @theclingyfox7899 7 ปีที่แล้ว

    Pannen thank you so much for this. Breaking down and understanding how the developers of SM64 got their game to work is not only interesting, but is also invaluable to hobby programmers like me. I can't tell you how many times I've watched one of your videos and had a problem/function I've been trying to solve/fix for days suddenly be made 100% easier to understand and work with. Thanks for everything

  • @garethdean6382
    @garethdean6382 7 ปีที่แล้ว +1

    Very well constructed and thought out. Inspiring enough to make me look over my old work on 2D games.

  • @Aitherion
    @Aitherion 7 ปีที่แล้ว +4

    Gonna hear the file select song in my dreams.

  • @geopyro
    @geopyro 7 ปีที่แล้ว +3

    I should be doing final school work but here I am instead learning about triangles in SM64.

  • @rackednbacked6730
    @rackednbacked6730 4 ปีที่แล้ว

    Your videos are actually the ones allowing me to do a math IA on the logic behind speedrunning! Thank you for helping me pass IB!

  • @PC_Simo
    @PC_Simo 4 ปีที่แล้ว +2

    Upon closer inspection, walls and floors act very similarly in that they push Mario into an assigned direction; the main difference being that, for air movement, the different parts of the floor hitboxes push Mario in the opposite directions, whereas in all the other cases, the entire hitbox pushes Mario in a single direction; and wall hitboxes are additive. It’s the ceilings that are the outliers amongst surface triangles, being the only ones that actually cancel Mario’s movement.

  • @wilytw
    @wilytw 7 ปีที่แล้ว +45

    Explain this atheists