How Spherical Planets Bent the Rules in Super Mario Galaxy

  Рет қаралды 794,605

Jasper

Jasper

Күн бұрын

Let's find out how Super Mario Galaxy's gravity and physics engine broke all the rules, and changed the Mario series forever.
🐦 / jasperrlz
💰 / jasperrlz
🤼 / discord
🌎 noclip.website
📰 Thomas Grip - Planning: The Core Reason why Gameplay Feels Good ( frictionalgames.com/2017-05-p... )
🎵 Mahito Yokota - Super Mario Galaxy - File Select ( • Video )
🎵 Koji Kondo - Super Mario 64 - File Select ( • Video )
🎵 Arvi Teikari - Baba Is You - Fruit On Grass - Garden ( • Baba Is You OST - Frui... )
🎵 猫叉Master - Elebits - Story Mode ( • Elebits Music - Story ... )
🎵 Mahito Yokota - Super Mario Galaxy - To The Gateway ( • Video )
🎵 Jasper - Epoch ( • Epoch )
🎥 Super Mario 128 Tech Demo HD ( • Super Mario 128 Tech D... )
🎥 Super Mario Odyssey Dev. Talk - ft. Mr. Koizumi ( • Super Mario Odyssey De... )
🎥 Yoshiaki Koizumi @ Montreal International Game Summit 2007 ( • Yoshiaki Koizumi @ Mon... )
🎥 Longplay of Donkey Kong Jungle Beat [HD] ( • Longplay of Donkey Kon... )
🎥 Miyamoto on World 1-1: How Nintendo made Mario's most iconic level ( • Miyamoto on World 1-1:... )
🎥 [LONGPLAY] NES - Super Mario Bros 3 (HD, 60FPS) ( • [Longplay] NES - Super... )
🎥 Super Mario Odyssey (1/42) - Opening, Cap and Cascade Kingdoms ( • Super Mario Odyssey (1... )
🎥 Lighting and Day Night Cycle In Catalyst ( • Lighting and Day Night... )
🎥 Extra footage of Super Mario Odyssey provided by MML's Commentaries ( / @mmlcommentaries )
📰 Iwata Asks : Super Mario Galaxy : Volume 1: The Producer and Director ( iwataasks.nintendo.com/intervi... )
📰 Iwata Asks : Super Mario Galaxy : Volume 2: The Developers ( iwataasks.nintendo.com/intervi... )
💜 Jewel, Jacob, Veegie, Scruffy, Muz, SolidifiedGaming, Will, Really_Tall, Argle Bargle
🧡 riidefi helped me with the code to show Mario's hitboxes inside the game.
🖥️ noclip.website code branch github.com/magcius/noclip.web...
🕹️ Visualizer cheat code for Super Mario Galaxy gist.github.com/magcius/92864...
00:00 Intro
03:37 The Physics behind Spherical Planets in Super Mario Galaxy
26:03 Channel Update

Пікірлер: 1 100
@ninjanerdstudent6937
@ninjanerdstudent6937 3 жыл бұрын
Narrator: There is no written rule that item boxes might have good items. Mario Maker: Correct.
@aclstudios
@aclstudios 3 жыл бұрын
@Luke yeet ...wut
@ado-
@ado- 3 жыл бұрын
@Luke yeet ...wut
@Cuck-Lord
@Cuck-Lord 3 жыл бұрын
@Luke yeet ...wut
@phantomred2
@phantomred2 3 жыл бұрын
@Luke yeet ...wut
@hri7566
@hri7566 3 жыл бұрын
@Luke yeet ...wut
@alessiobenvenuto5159
@alessiobenvenuto5159 3 жыл бұрын
So it's confirmed, photons in mario universe have weight.
@robhillen8007
@robhillen8007 3 жыл бұрын
Light has energy so E=mc² says it will be affected by gravity like it has a very small mass, but to the point of falling straight down is a Mario universe exclusive.
@chloroplast8611
@chloroplast8611 3 жыл бұрын
@@robhillen8007 electrons can be affected by gravity
@DavidSartor0
@DavidSartor0 3 жыл бұрын
Good comment.
@alessiobenvenuto5159
@alessiobenvenuto5159 3 жыл бұрын
That would explain why mario doesn't stretch in space too, because all the weight of the photons create pressure just like an atmosphere. It's all coming together.
@ezraguerrero2879
@ezraguerrero2879 3 жыл бұрын
Acrually, E=mc^2 is not the full story! I reccomend you check out minute physics videos about the subject, but there is an extra term in the equation that is irrelevant for most objects due to their slow speeds compared to light. I am no expert on the subject, but with a little research you can dig up a lot of cool stuff!
@andrewdrost6786
@andrewdrost6786 3 жыл бұрын
The visuals you used for the gravity fields are outstanding. They make the concept so easy to understand.
@Mario-vt2dy
@Mario-vt2dy 3 жыл бұрын
Yeah, how did he make them?
@SemlerCrafter
@SemlerCrafter 3 жыл бұрын
@@Mario-vt2dy he made a mod
@webbtail245
@webbtail245 3 жыл бұрын
@@SemlerCrafter they're probably just objects you can view by using a debug mode
@JasperRLZ
@JasperRLZ 3 жыл бұрын
while I'm flattered to have been mistaken for Nintendo debug code, I did all of the visuals myself through a modified version of noclip. I put a link to the code branch in the video description.
@thelegendaryluxray6088
@thelegendaryluxray6088 3 жыл бұрын
@@JasperRLZ that’s absolutely incredible
@blackasthesky
@blackasthesky 3 жыл бұрын
The actual difficulty of this is that these madlads always build their engines themselves, and code the game in c/c++ entirely. That's art.
@SaadTheGlad
@SaadTheGlad 3 жыл бұрын
Blackasthesky holy shit that’s a pain in the ass, and unity is hard enough!
@nostalgiafactor733
@nostalgiafactor733 3 жыл бұрын
it makes sense, pre-built engines are only *really* useful for indie-developers and for the companies that made the engines (ie. Unreal). A custom engine will always have more flexibility and personalization to fit any specific needs of a particular game.
@__8120
@__8120 3 жыл бұрын
I made Tetris in c++ and I wanted to die I can't imagine building a game like this
@keithkaranu4258
@keithkaranu4258 2 жыл бұрын
@@nostalgiafactor733 that might have been the case in the past but more and more studios are using third party engines. Case and point being games like animal crossing using unity or FF7 remake using UE4.
@Gevs
@Gevs 2 жыл бұрын
While that was true at the time, Nintendo actually uses Unreal Engine for their games now. I was shocked when I found that out.
@199NickYT
@199NickYT 3 жыл бұрын
I can't believe I never realized that the cause-effect relationship for Super Mario Galaxy went FROM spherical worlds TO the outer-space theme, not the other way around. The outer-space theme was a complete byproduct and a means to the end of spherical worlds. It was not the intention from the beginning. Mind-blowing.
@RedHatGuyYT
@RedHatGuyYT 3 жыл бұрын
Nintendo's philosophy is gameplay first, worldbuilding later.
@199NickYT
@199NickYT 3 жыл бұрын
@@RedHatGuyYT and I knew that, which is why I am even more stunned I didn't figure it out earlier lol
@ausdorian3252
@ausdorian3252 3 жыл бұрын
@@RedHatGuyYT except on mario oddysey
@rhettmitchell
@rhettmitchell 2 жыл бұрын
@@ausdorian3252 how so
@ausdorian3252
@ausdorian3252 2 жыл бұрын
@@rhettmitchell the gameplay is add a lot of moves and 1 action captures whit barely any use And a world whit a million moons easter eggs and more
@ODCrab
@ODCrab 3 жыл бұрын
Default Mario was 1 tile high. So fitting inside a sphere makes sense. He was only a long boy when he was on growth shroom. His body must have slowly reverted to normal after the Delfino police confiscated them.
@arctrog
@arctrog Жыл бұрын
ふふふふ🤭
@cube2fox
@cube2fox Жыл бұрын
I always assumed that 3D Mario was the "long" Mario of the 2D games. Nintendo even called "long" Mario "Super Mario" in some Super Mario Maker commercial.
@ODCrab
@ODCrab Жыл бұрын
@@cube2fox "long" Mario would be the weird shroom, lol Mario wasnt actually hitting the shrooms untill the first "super Mario" game. So "super Mario" would be his trip-sona. He probably started them to help regrow his bones after DK Jr severely injured him. It's commentary on opioid adiction.
@cube2fox
@cube2fox Жыл бұрын
@@ODCrab Luckily super mushrooms are hallucinogenics not opioids!
@ODCrab
@ODCrab Жыл бұрын
@@cube2fox Its real world counterpart, the fly amanita, is hallucinogenic. But this is a fictional mushroom that gives health and sometimes growth. I feel pain killers are a more apt comparison. Though you could argue that the pain being gone is a hallucionation as well. Still the principle is the same. Getting adicted to something perscribed for medical purposes. And suffering from continued use, long after it is still necessary.
@dkosmari
@dkosmari 3 жыл бұрын
Also worth noting is Mario's silhouette when behind a wall; so much for making levels spherical with no walls... they ended up writing special code to show Mario when he's obstructed.
@radiak488
@radiak488 3 жыл бұрын
it’s actually a completely separate model! twitter.com/mariobrothblog/status/1307752723954237442?s=21
@ArcRay20
@ArcRay20 3 жыл бұрын
i want to say "didnt they already do this in Sunshine" and they did, but also that "peep hole" effect the sometimes happens that makes a hole in an object so you can see through it, but it doesnt happen all the time. maybe its only for objects and not walls?
@melody3741
@melody3741 3 жыл бұрын
I know i hate when games dont do that! It was such a great addition and genius.
@thinkublu
@thinkublu Жыл бұрын
​​@@ArcRay20 the Splatoon games actually do that peephole effect too, it's so helpful And yeah, it's only for objects, and only some objects - if you have splatoon 3, you can go to the lobby and notice that you can see through the targets and the elevated platform on a stand by the moving targets One of the big things you can see through are the bumpers on some of the maps too
@thinkublu
@thinkublu Жыл бұрын
I just realised this is 2 years old oops
@Dezomm
@Dezomm 3 жыл бұрын
Getting a "behind the scenes" look like this gives me a whole new level of appreciation for the immense amount of work, passion and ingenuity that goes into making a game as revolutionary as Mario Galaxy. Thanks a lot for the time you put into making this!
@__-cd9ug
@__-cd9ug 3 жыл бұрын
even though I know there are teams of talented people working hundreds if not thousands of hours on those major games, I feel like this is one of the first time I've begun to realize and appreciate their efforts
@iLiokardo
@iLiokardo 3 жыл бұрын
too much work lol
@ims2129
@ims2129 3 жыл бұрын
Liokardo bruh
@BierBart12
@BierBart12 3 жыл бұрын
It also shows just how dedicated Japanese people are to their work in a way.
@nuxx1876
@nuxx1876 2 жыл бұрын
nintendo still puts a ton of work into a lot of their games, just a shame their shitty business practices overshadow that fact
@zydeas
@zydeas 3 жыл бұрын
I'm fairly sure a whole lot of games these days use **capsules** rather than cylinders. that's what both Unity (& UE4 too I believe) use for their character controllers. Physics solving code can get very complex so I'm simplifying, but the rounded bottom on a capsule means it's easier to write a character controller that doesn't get stuck on tiny variations in the height of the ground. If you think about it this way, Galaxy Mario is essentially a capsule with no mid-height. Having character animations switch around and not match hitboxes is also something that's incredibly common, simply because complex character animations often don't fit inside simple shapes.
@JasperRLZ
@JasperRLZ 3 жыл бұрын
I was simplifying for the sake of video explanation, but the orientability of capsules is still a problem. Abusing the symmetry of spheres to forgo orientability concerns altogether is an elegant solution, especially having to interpolate a sweep along a surface. I debated for a long time whether to include capsules vs. cylinders in the script, but as the main concern is about orientability, I figured it wouldn't be a major sin to exclude the difference for the benefit of snappier pacing.
@zydeas
@zydeas 3 жыл бұрын
@@JasperRLZ Fair enough. A sphere would probably be the option I'd end up choosing in their situation too (after banging my head against the wall with cylinders long enough). The video's still great.
@charlesthomson9276
@charlesthomson9276 3 жыл бұрын
However "capsules" are more complex shapes than cylinders and spheres (which can be defined with just two points and a radius or one point and a radius respectively) so in terms of collision detection calculations they'd probably avoid capsules. Just a thought....
@DogsRNice
@DogsRNice 3 жыл бұрын
Capsules are also recommended to be used in the godot engine as well even for 2d games
@leonardotemperanza5824
@leonardotemperanza5824 3 жыл бұрын
@@charlesthomson9276 While it's true that capsules are indeed more complex shapes than spheres, what you used to describe the definition of a cylinder in a physics engine pertains to capsules, not cylinders. A capsule can be represented with a line and a distance (radius) from that line. A cylinder, on the other hand, assuming it's not always axis aligned, can be slightly more expensive (especially cylinder-cylinder intersection tests), which is why it's not even included as a physics primitive in most modern physics engines such as PhysX. I doubt the performance difference would in any way be significant for tens or even hundreds of objects though.
@LeleSocho
@LeleSocho 3 жыл бұрын
8:12 "to answer this... ... ...we need to talk about Parallel Universes" sorry i couldn't resist with Mario 64 File Select music on the background.
@boilingsoymilk
@boilingsoymilk 3 жыл бұрын
this sounds super familiar, is this from the mario 64 thing?
@boilingsoymilk
@boilingsoymilk 3 жыл бұрын
@@bucketfullabiscuits7865 thanks! :)
@DavidSartor0
@DavidSartor0 3 жыл бұрын
@@bucketfullabiscuits7865 *Rocks Edit: Fixed.
@r033cx
@r033cx 3 жыл бұрын
This is 100% intentional
@Alphie_
@Alphie_ 3 жыл бұрын
@@r033cx If it isn't I'll be super disappointed.
@MrDoot_
@MrDoot_ 3 жыл бұрын
wow, this man really just figured out the gravity in super Mario galaxy, AND the cell shading in windwaker?? kudos to you, my guy. Kudos to you
@DeathnoteBB
@DeathnoteBB 3 жыл бұрын
And the scrolling textures in Mario Galaxy 2
@MrDoot_
@MrDoot_ 3 жыл бұрын
@@DeathnoteBB yes, that's how I found this channel, of course. All great stuff
@TamaraValmar
@TamaraValmar 3 жыл бұрын
Mario already was a round man but we had no idea just *how* round this little jump man *really* is...
@bamster64
@bamster64 2 жыл бұрын
The custom graphics that you use to represent usually invisible and abstract objects (e.g. force field) is an amazing work of art. As a programmer myself I'm always wondering "did he do that on the video editing software or did he code it manually into the engine".
@jbritain
@jbritain Жыл бұрын
He implemented it in his map viewer for Nintendo games, noclip
@PurpleSunTAS
@PurpleSunTAS 3 жыл бұрын
As a TASer, it's always interesting to see how physics and mechanics work at the core of it. The shaped gravity fields makes it clearer as to how gravity can be manipulated for speed and height. Great video!
@playtime8945
@playtime8945 Жыл бұрын
@Luke yeet ...wut
@katawaya8101
@katawaya8101 Жыл бұрын
I bet TASing this game takes literal calculus
@Green0Photon
@Green0Photon 3 жыл бұрын
Oh wow, this was incredible. Mario Galaxy is my favorite game from my childhood, and it was amazing learning about how the gravity actually works, which I've always wondered about. It's super interesting how, after playing the game, the gravity shapes you talk about are super obvious. Thanks for such an informative and interesting video!
@Shady_Inktail
@Shady_Inktail 3 жыл бұрын
I actually didn't know that the Spooky Speeder star in Ghostly Galaxy had individual gravity zones to make you fall back to the start to prevent cheating. Very interesting.
@BaalFridge
@BaalFridge 3 жыл бұрын
"Rules and player expectations" Here I was thinking you were gonna say parallel universes
@UltravioletNomad
@UltravioletNomad 3 жыл бұрын
Me: expecting a video about level design This video: let's talk about physics and coding Me: I have no idea what's going on but I'm having fun.
@reddragon3132
@reddragon3132 3 жыл бұрын
As someone who's dabbled a bit with game dev myself the idea of using gravity fields had been my first thought of how galaxy pulled this off. Especially since they're a good way of describing gravity from a physics viewpoint. The thing that surprised me most was using a spherical hitbox! It's a simple fix but is such an ingenious idea!
@Marv503
@Marv503 3 жыл бұрын
This is so interesting! I never realized that the shadows always point to the ground. When you climb up the wall with the honey, the shadows are displayed on the wall, so you can see how high you flew, because you wouldn't see your shadow on the ground at that point
@makarisland
@makarisland 3 жыл бұрын
Every time I replay Galaxy I'm always baffled at how smooth and seamless the gameplay feels despite the minor complaints about the camera controls I have. I never realized that the camera controls bug me bc I'm trying to control the camera like I would do in other 3d games I've played when the intention was to get rid of the need to control the camera at all. I still can't help my urge to readjust the camera and look around more freely though, the game's so pretty:,)
@tovi3280
@tovi3280 3 жыл бұрын
So glad I got to watch this before sleeping, this is so relaxing to watch, so please do more!
@MetroAndroid
@MetroAndroid 3 жыл бұрын
When Mario Galaxy first came out, there were so many times where I wasn't sure if I'd fall into space or land on the other side. Made me afraid to even go near the edge of most planets. Awesome video! Somehow I didn't see your videos since the one on scrolling textures, so I'll be watching those too.
@KaptenKetchup
@KaptenKetchup 3 жыл бұрын
I recommend the book "game feel" for those interested in how the controls of Super Mario Bros. and Mario 64 works on a more technical level.
@littlemoth4956
@littlemoth4956 Жыл бұрын
Game feel is a stupid ass term. Anyone who uses it is extremely likely to be completely clueless on game design.
@KaptenKetchup
@KaptenKetchup Жыл бұрын
@@littlemoth4956 Huh, I've never heard that sentiment. Why do you think that?
@carlosfbarajas7755
@carlosfbarajas7755 3 жыл бұрын
I hate math, so I'm going to become a game developer. Some years later: I have to program the physics of gravity fields!!!!!!
@nigeladams8321
@nigeladams8321 3 жыл бұрын
I'm going to be real with you: This is kind of how I assumed it worked (other than the sphere hotbox bit) what made this kind of obvious to me was the gravity switching areas with the arrows that move along walls.
@HaydenTheEeeeeeeeevilEukaryote
@HaydenTheEeeeeeeeevilEukaryote 3 жыл бұрын
I don’t think I’ll ever get tired of listening to you talk about Super Mario Galaxy, and simply because you present it really well and I feel it still has so much left to teach us. As I’m sure you’re aware of by now, these videos are awesome and I can’t wait to see what else you have to teach us in the future about how these old games accomplished so many of their cool feats.
@ArthurGamer20101
@ArthurGamer20101 Жыл бұрын
Black Holes: are the most powerful objects in the universe, where not even light can escape. The planets with a blackhole inside it: well, it's all right!
@poijnve3912
@poijnve3912 Жыл бұрын
jsu tlike with the moon, black holes can have orbits~
@aortaplatinum
@aortaplatinum 3 жыл бұрын
Now that we know how it works, it would be rad to see this applied to older games' gravity segments through mods, Mad Space from Sonic Adventure 2 in particular needs it
@FunkyFurret
@FunkyFurret 11 ай бұрын
Portal with spherical chambers!
@aortaplatinum
@aortaplatinum 11 ай бұрын
@@FunkyFurret S P H E R I C A L
@Quaternality
@Quaternality 3 жыл бұрын
Very, very, very interesting Jasper! And I mean that in a good way! Lots of information to think about, especially with that article on planning in games. Thanks for taking the time to make this, your stuff is always a treat to watch!
@voyagerwitch
@voyagerwitch 3 жыл бұрын
you made this whole video without saying the word "vector" once. i'm impressed!
@Eli-akad
@Eli-akad Жыл бұрын
I remember playing Mario galaxy when I was 7 back in 2007 while my mother’s friend was babysitting me. The planets that were a sphere with hole straight thru them scared me as a youngin (same kinda fear that some feel from deep oceans) because of what I knew about gravity as a kid and the back drops. The thought of falling in one of those holes and somehow falling out the world terrified me. At the time I didn’t even know what game I played until around 2013 when I learned about Mario galaxy. For the longest time I was perplexed by what game it was and why it was so strange as a Mario game to me
@okathebakerpon5788
@okathebakerpon5788 3 жыл бұрын
The editing for all the visuals in this video is incredible from the hitboxes to the gravity fields, they're just really nice to look at in this video! Excellent work yo!
@1gnore_me.
@1gnore_me. 3 жыл бұрын
hitboxes are actually really weird, most of the time they don't really match up with the model as well as you would think ... but as a player you never see the hitbox so it doesn't bother you. it's only when a hitbox is outrageously bad that people start noticing.
@ozmaozmaozmaozma
@ozmaozmaozmaozma 3 жыл бұрын
Absolutely adore your channel and content. All your videos are so in-depth and engaging. I’ve been looking forward to all your videos after following you on twitter
@Dogmen58
@Dogmen58 3 жыл бұрын
So glad to see you doing it! It was very interesting for me to look into technical stuff of this game - and many others. Good job!
@Rotog
@Rotog 3 жыл бұрын
Excellent video! I just finished my Galaxy playthrough in 3D All-Stars. These mario games in particular are so fascinating in terms of design, and your passion for breaking down how they work is so infectious that it makes me want to toy around with game creation again!
@JamesDarpinian
@JamesDarpinian 3 жыл бұрын
Gravity fields affecting shadows, and shadow-specific gravity fields, are genius. Little details like this are what make Nintendo games consistently great. Thanks for the in depth look.
@supahstarclod
@supahstarclod 3 жыл бұрын
Yooooo glad there's appreciation for Elebits music!! On the real though, super glad to see another Galaxy-related video from you. I always assumed that there were hidden points within each planet and that gravity was determined using the closest point to Mario, but preset gravity fields are way more elegant as a solution.
@JasperRLZ
@JasperRLZ 3 жыл бұрын
elebits music is very much "on the real"
@pedroenmanuelfuenteszambra8873
@pedroenmanuelfuenteszambra8873 Жыл бұрын
Your videos are amazing. They are fun to watch, plus, you have compiled so much great reference. Having that library of used content in the description section makes of this video an even more valuable resource. Thanks sincerely.
@davidguthary8147
@davidguthary8147 Жыл бұрын
Another great example of Galaxy's visual design telling the player where things will fall: black holes. If you see a black hole, you know that's where Mario will end up if he gets too close. They're introduced intuitively with the first black hole being at the center of a planet, then they demonstrate dangerous areas in places which might otherwise seem safe. The player knows Mario can't go to the other side of that planet at the start of Ghostly Galaxy because there are black holes on the other side. Black holes help to demonstrate how gravity works on the stone spiral in Beach Bowl Galaxy. Black holes in Honeyhive Galaxy prevent the player from questioning why they can't walk on the underside of the main planet. There are plenty more examples.
@Sientir
@Sientir 3 жыл бұрын
It's really cool learning how they handled the gravity in Galaxy! It worked sooo much better than a student project I'd worked on in college that was an FPS that took place in a similar setup (though we had a grappling hook to get you from place to place).
@patrickholston7090
@patrickholston7090 3 жыл бұрын
Only about 8 minutes in so far, but the contrasts you draw between how Mario falls in different instances on similarly shaped areas actually highlights how good the game design is that I never got confused about whether an area was going to have “flat” or “curved” gravity while playing.
@joyceliang3658
@joyceliang3658 Жыл бұрын
This was so well done!! The arrows/boxes make the concept so easy to understand and the narrative is easy to follow as well (prior knowledge, gaps, questions relevant methods)! Keep up the great work!
@Lou-li5mv
@Lou-li5mv 3 жыл бұрын
big kudos for listing both the music used as well as the footage sources!! It's something I often wished was included in videos, so big thumbs up.
@MrDiana1706
@MrDiana1706 3 жыл бұрын
Super Mario Galaxy 2's 2D Levels that are based on changing directions is also a great example. The video, narrations and explaining are awesome and this is just my first time watching a video of you. Keep the good stuff.
@user-wd7bw9ip5y
@user-wd7bw9ip5y 3 жыл бұрын
It's actually quite interesting how the Mario 128 demo inspired both Pikmin and Super Mario Galaxy. One demo being the foundation of 2 great games.
@ianbowden2524
@ianbowden2524 Жыл бұрын
I love this level of technical analysis on big games. I've seen people talk about stuff like this, but only when making their own smaller games. Awesome stuff dude.
@marcorubio3002
@marcorubio3002 3 жыл бұрын
the way you transitioned between topics is very smooth and the visuals you use are very helpful to see how the game works. gonna watch another video of yours
@KenColton
@KenColton 3 жыл бұрын
These videos are _ridiculously_ high quality and really interesting. I can’t imagine how long these take to make. This channel is criminally undersubscribed. I am subscribed to over 100 channels, but can count on 1 hand the number I actually turn notifications on so I don’t miss when they do upload. Congrats for making that list
@haysdixon6227
@haysdixon6227 3 жыл бұрын
I’m taking Physics this year, and the part around Mario’s jump/fall speed switching from only Y to a combination of XYZ was super interesting. reminds me a lot of problems with a force pushing forward/down, or pulling back/up, where you have to find the components of the force with sin/cos. although the 3D must make it quite a bit more complex, plus dealing with the camera
@derpherpington8085
@derpherpington8085 Жыл бұрын
Incredible video. This is one of those topics I took for granted and never even stopped to consider how it was accomplished, but I was immediately super curious when I saw the video. I love the creativity that artists and designers use to achieve stuff like this.
@seifenspender
@seifenspender 3 жыл бұрын
Rendering the gravity fields and spheres was AMAZING. This has to have taken very much effort and I respect that a lot. It is very easy to sympathize with you and I like the direct way you talk. Keep doing what you are doing, gladly subscribing to this kind of stuff!
@CasualCheetah
@CasualCheetah 3 жыл бұрын
Outstanding analysis! It's easy to tell that a lot of time and effort went into writing and presenting this. ❤️
@caymorris8719
@caymorris8719 3 жыл бұрын
A year or so ago I was trying to replicate this physics system in Unity. I was going on a bunch of assumptions on how it worked, and I'm very happy to see my assumptions were correct. I even had the shadow orientation. Project got cancelled, but it was a good (if frustrating) experiment! Orienting the camera was the hardest part for me personally.
@psychmd6794
@psychmd6794 Жыл бұрын
Watching this 2 years later and all I can say is wow. The effort put into the editing, researching, and commentary is amazing! You did such a good job explain and using edits the further your explanation. Great work! Keep it up! I’m surprised you don’t have more subs.
@osfield
@osfield 3 жыл бұрын
watching your videos makes me so happy because they give an answer to almost all the questions I had that led me to learn video game development, and Super Mario Galaxy was THE game that had the most tricky questions
@forgado7396
@forgado7396 3 жыл бұрын
It's always great when I see these videos. They're incredibly interesting.
@Big-boned_Pikachu
@Big-boned_Pikachu 3 жыл бұрын
When I was in college I would sit outside the game development classes and listen in from time to time. I found them fascinating but I could never actually partake because I needed money and I knew we had a very low % of students actually make it into work after graduation. Your videos scratch that same itch of listening to lectures behind closed doors. Thanks for sharing this with us
@yanec2501
@yanec2501 Жыл бұрын
Man this was something I really needed. The nostalgia trip and my love for game design in one video. Really well made. The visuals made it way easier to understand how their gravity and hitboxes worked. Well done Jasper :D
@ThomCote88
@ThomCote88 3 жыл бұрын
Great explanation! I was part of SMG2.5 ages ago if you've heard of that so I knew about the gravity fields, but I wasn't aware of the spherical collider technique. It's so interesting how that must've informed the very rounded character/object designs in Galaxy, which I've always thought fit the Mario series perfectly.
@EOS62035
@EOS62035 3 жыл бұрын
this here was wonderful, as with all your other creatoons!! i will always support your content
@davidandrewthomas
@davidandrewthomas 3 жыл бұрын
One of the things I find incredible about Super Mario Galaxy compared to just about any other (third-person) game is how little I find myself messing with the camera. Maybe that has something to do with the spherical planet game design, but it's really pretty amazing how much they innovated here and how much it just...works. Such a special game.
@funfan2345
@funfan2345 3 жыл бұрын
this has been so interesting to watch, and it's great to have someone answer your longing questions about how the physics system works in mario galaxy
@jacobb3440
@jacobb3440 3 жыл бұрын
absolutely phenomenal video!! i still can't believe it's so simple (but so clever) i imagined such a more complicated gravity system tied to the level geometry
@dusty2366
@dusty2366 3 жыл бұрын
I wonder what other ways the circular hitbox influenced the models and animation. I noticed in the footage that Mario's basic run keeps his arms fairly spread out from his sides to better fill in the shape, along with his model having really big hands that also help emphasise the spin mechanic.
@8SomaCruzes
@8SomaCruzes 3 жыл бұрын
I'll always be in awe at how skilled Jasper is at presenting complicated concepts in a way that's both concise and clear.(under 100 club)
@Yipper64
@Yipper64 Жыл бұрын
I have had a game idea for a while now about a character who's direction of gravity depends on the last part of ground they stood on. Basically if you walk towards a wall and up it, now your gravity is down wherever that wall is. This video definitely gave me some good tips, like how I should make sure the player has a spherical hitbox.
@rougeknight4029
@rougeknight4029 8 ай бұрын
Incredible video! I would love to see some more videos that go behind the scenes of iconic games!
@pflaumi123
@pflaumi123 3 жыл бұрын
5:22 Seeing how they did it in the games before, I throw in a idea to solve the problem before seeing the rest of the video. Especially since u said it is surprisingly simple in 3:14. A change from cartesian to spherical coordinate system might do the trick. I mean it feels like the application in itself stays the same with the swap. Lets see how they end up doing it. Edit: The gravity field object is a cool solution. That does its job and is rly resource friendly. After 8:03 I saw that it is not as simple as I thought before, but further building on it I thought they use the collision mash and make him fall in the direction of the nearest collision triangle (like what u later said in 17:23). Then these points are either active (e.g. ground), inactive (e.g. walls) or switchable. The switchable ones are needed to allow platforming and need to check Marios position. These only activate if Mario is orthogonally above them. This should prevent getting sucked through the ceiling. I know the resources needed would be nuts in comparison and I of cource dont even know if my idea is feasibe, but damn I love wasting time with thinking how I might make programming problems work. I seriously took up to an hour total now.
@11equalsfish
@11equalsfish 3 жыл бұрын
5 years ago, I watched ClassicGameJunkie's explanation for Mario Galaxy Gravity. It's amazing how the standard for KZbin videos is higher now. I've been watching videos like this since I was a kid, so I'm quite excited about this channel's current activity. I hope this channel finds a good audience.
@frickinfrick8488
@frickinfrick8488 3 жыл бұрын
Incredible work as always, I absolutely love your content! It’s so interesting to see all the tricks behind my childhood games and you have a really pleasant voice over and presentation.
@nappkins9346
@nappkins9346 3 жыл бұрын
One of the best videos I've seen on KZbin. Outstanding. Keep up the good work!
@Glacial7
@Glacial7 3 жыл бұрын
I think the best example of seeing gravity fields is probably rightside down galaxy of Galaxy 2 It’s the closest we can get to visualising the gravity fields interacting with eachother, as the player constantly jumps through them and flipping up and down
@MrHomelessHobos
@MrHomelessHobos 3 жыл бұрын
This video is out of this world
@Cliffordlonghead
@Cliffordlonghead 3 жыл бұрын
Congrats you are First but don't edit this comment
@MrDoot_
@MrDoot_ 3 жыл бұрын
yay! another upload about game design! please keep doing this kind of stuff, you're really good at it
@AuraBOI
@AuraBOI 3 жыл бұрын
Wow this is insanely well made and explains it all perfectly! The visuals for the gravity fields are perfect as well
@DanielC01000100
@DanielC01000100 3 жыл бұрын
is there any place when we can read about the calculations to determine "down" on discs, donuts, lines and the other shapes? because figuring that out is really genius.
@JasperRLZ
@JasperRLZ 3 жыл бұрын
It's just some basic geometry, but it might make for a nice lightweight follow-up video for a more niche crowd.
@benwyatt2838
@benwyatt2838 3 жыл бұрын
@@JasperRLZ programmer who also does RE on games in Ghidra here. I'd love to see more of that and also more insights from it like this.
@Clodd1
@Clodd1 3 жыл бұрын
@@JasperRLZ You call something that almost breaks the rules of physics “basic”? haha
@nishoakesribavan5438
@nishoakesribavan5438 3 жыл бұрын
@@JasperRLZ that would be appreciated
@jackrasksilver6188
@jackrasksilver6188 3 жыл бұрын
Here's my like and comment for the algorithm: I enjoy the tweets and vids.
@typhoonthunder
@typhoonthunder 2 жыл бұрын
this channel is pure gold. love this kind of in depth analysis of the way these games are programmed
@BareTuna
@BareTuna 3 жыл бұрын
This video was exactly what I was hoping it would be... I always wondered how it was done! Keep up the good work man, this video was super enjoyable to watch :)
@andricode
@andricode 3 жыл бұрын
I've tried to remake that in a 2D environment and that makes everything a lot more understandable
@RedPoisonDragon
@RedPoisonDragon 3 жыл бұрын
Huh, that redesigning of Mario's model thing makes a lot of sense. I somehow always felt that, in Galaxy, Mario's arms and hands felt a little big compared to the rest of his body. Likely also the animations were designed to make the sphere hitbox make more sense
@thehiddenninja3428
@thehiddenninja3428 3 жыл бұрын
Also I'm sure I remember his fists visibly grow in size whilst doing a spin
@RedPoisonDragon
@RedPoisonDragon 3 жыл бұрын
@@thehiddenninja3428 That they do
@viggoasgarden7050
@viggoasgarden7050 3 жыл бұрын
I'm loving these videos, really great quality and really comprehensive. It's really cool that you're actually adding code to the game to visualize what you're talking about 👌
@neylick
@neylick Жыл бұрын
Your channel is insanely rich, I love every little visuals, music choice and the amount of details. Cheers
@Unk0wnHope
@Unk0wnHope 3 жыл бұрын
Just a casual comment for the algorithm. Thank you for the content!
@stevengoomba6490
@stevengoomba6490 3 жыл бұрын
I always thought Mario’s galaxy model has his arms out more than most of the other, guess the spherical hitbox shows even in the minor character changes.
@avoilachan
@avoilachan Жыл бұрын
Great video, this concept would've been so hard to grasp if I looked into it on my own but you explained it so well, thanks!
@mr_whyy
@mr_whyy Жыл бұрын
I love you ! Explaining how my all time favorite game works behind the scenes is so awesome
@jstrandquist
@jstrandquist 3 жыл бұрын
This was super interesting and informative! I'm curious, what sort of coordinate system does Galaxy use to determine the relative position of things? I figure that a global Cartesian coordinate system would be simplest, but where would you draw the origin? Alternatively, it seems like giving each planet its own spherical coordinate system would simplify movement calculations (ie, jumps change Mario's radial position, while walking changes his angular position), but based on your description of the gravity fields, it sounds like that isn't the case.
@JasperRLZ
@JasperRLZ 3 жыл бұрын
Everything's done with Cartesian coordinates. They put the origin in an arbitrary location every map.
@jstrandquist
@jstrandquist 3 жыл бұрын
Good to know, thanks!
@Katzelle3
@Katzelle3 3 жыл бұрын
The floating arrows made me think that they carefully placed parallel hitboxes all over the place and added some clever blending, but the basic shape idea is super elegant, yet likely a coding nightmare.
@quorryraphael9980
@quorryraphael9980 3 жыл бұрын
It's probably less nightmarish than you think. The simple shapes have simple rules
@BambinaSaldana
@BambinaSaldana Жыл бұрын
I honestly thought they would go for vector fields, and use specific points as attractors, but the approach they used sounds much more simpler, and much more easy on the computer.
@lagmeester9456
@lagmeester9456 3 жыл бұрын
I thought I had a good idea of how the physics worked going into the video, but man did it go into details I didn't expect. I can see you put a lot of time into this video, good job.
@Rolfke
@Rolfke 3 жыл бұрын
Very nice video! Nice job on the custom visuals to illustrate the gravity fields.
@pbrunet44
@pbrunet44 3 жыл бұрын
8:12 To answer this, we'll need to talk about *parallel universes*
@DaNintendude
@DaNintendude 3 жыл бұрын
Mario's hands feel quite large in Galaxy as well (at least to me they do). I'm guessing that's due to the sphere hitbox. Having larger hands helps give him more of a spherical shape. I believe the reason Mario is more short and round in Odyssey is because they wanted to make his design feel more like how he looks in classic Mario artwork.
@user-bo6vy5eg8g
@user-bo6vy5eg8g 3 жыл бұрын
They also get bigger when you spin, i'm pretty sure.
@DaNintendude
@DaNintendude 3 жыл бұрын
@@user-bo6vy5eg8g Yes I believe that is true. I thought I mentioned that in my comment but I guess not, lol
@QuiteDan
@QuiteDan Жыл бұрын
I did a whole study on mario galaxy style movement and gravity. Happy to hear it wasn't very far off This is a GREAT channel!
@dnys_7827
@dnys_7827 2 жыл бұрын
oh my god this is absolutely brilliant, it made my giddy with joy seeing behing the curtain on a game i love so much. outstanding work.
@CallMeTess
@CallMeTess 3 жыл бұрын
Is it just me or does this all seem really obvious? I guess it may be because I have experience in programming, but really, the implementation of gravity fields seems like such an obvious solution, the way they're being explained just feels kind of condescending. The thing about the spherical hitboxes is actually a very interesting solution to the hitbox rotation issues, though.
@The_Holy_Wooomy
@The_Holy_Wooomy 3 жыл бұрын
Mario’s eyes in reflections don’t have pupils. Just saying...
@david_ga8490
@david_ga8490 3 жыл бұрын
Lol you are right
@CaioLoureiro
@CaioLoureiro 3 жыл бұрын
Your videos are so clever and so inspiring. You explain complex game design concepts in such an easily understandable way. Thank you so much for this. I'm in love with your channel already!
@ZedEdge
@ZedEdge Жыл бұрын
Gosh dang, you're videos are so good. Love all the visualizations in the game worlds.
The Glitch that Broke Link's Cel Shading
35:10
Jasper
Рет қаралды 546 М.
How scrolling textures gave Super Mario Galaxy 2 its charm
14:01
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 87 МЛН
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 3,7 МЛН
How I prepare to meet the brothers Mbappé.. 🙈 @KylianMbappe
00:17
Celine Dept
Рет қаралды 56 МЛН
The most overused game graphic you never noticed | Texture Archaeology
8:15
Kid Leaves Stoop
Рет қаралды 2,7 МЛН
Super Mario Galaxy - An Impossible Masterpiece
53:52
Liam Triforce
Рет қаралды 418 М.
Finding the BEST sine function for Nintendo 64
26:41
Kaze Emanuar
Рет қаралды 291 М.
Beta64 - Super Mario Galaxy with guest Scott the Woz!
43:13
Beta64
Рет қаралды 1,9 МЛН
Mario Kart and the Doppler Effect
8:55
Scruffy
Рет қаралды 1,3 МЛН
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,4 МЛН
The Quiet Sadness of Mario Galaxy
11:17
Jacob Geller
Рет қаралды 2,4 МЛН
How The Wind Waker Redefined Cel Shading
18:43
Jasper
Рет қаралды 404 М.
The Problem with the Grass in Mario 64
35:04
Kaze Emanuar
Рет қаралды 319 М.
Take the Water Challenge: Good Family VS Bad Family
0:45
Realistic Craft
Рет қаралды 6 МЛН
Stereo Madness Hold Version
1:00
Speedroute
Рет қаралды 14 МЛН
Когда игра в танки зашла слишком далеко
0:12
Короче, новости
Рет қаралды 7 МЛН