Тёмный

The Bad Jump Design and 30 FPS Gravity of TMNT (NES) - Behind the Code 

Displaced Gamers
Подписаться 99 тыс.
Просмотров 156 тыс.
50% 1

Breakdown of the physics-defying logic of jumping in the game. Frame rate, gravity, and special code all apply. Let's dive in.
If you would like to support this channel, here is a link to the Displaced Gamers Patreon page - / displacedgamers
Twitter: / displacedgamers
Facebook: / displacedgamers
Instagram: / displacedgamers
Music by:
/ hariboosx
/ @wolfandraven
[0:00] Intro
[0:54] Gravity
[2:13] Jump Example
[2:55] Frame Rate Rabbit Hole
[5:25] TMNT Jump Breakdown
[9:09] Jump Override Code
[10:23] Game Genie Time
[12:27] Conclusion and Outro
#TMNT #cowabunga #NES

Игры

Опубликовано:

 

27 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 552   
@ShdwHg
@ShdwHg Год назад
Tweaking the jump arc would certainly help, but I think there's a more proper fix. I've noticed that the major issue here is that bumping the Turtle's head on a ceiling negates all their horizontal movement, causing them to whiff what would otherwise appear to be easy jumps. Tackling THAT problem in the collision code might prove to feel even better in the long run; if your vertical momentum was zeroed out but your horizontal momentum was unaffected, those jumps would become significantly easier without touching the arc at all. I'm wondering if it's as simple as a horizontal movement sensor that's a pixel or two too high? Also curious if such a fix would end up breaking things elsewhere where you can suddenly slide into a ceiling that you shouldn't be able to, but I expect it won't be so bad as that.
@DisplacedGamers
@DisplacedGamers Год назад
Very good point. I feel that hitting your head would still reduce your horizontal velocity a bit, but perhaps not as extreme as it does now. Shadow Hog! I nominate you to investigate environmental collision detection in the sidescrolling areas of TMNT!
@ShdwHg
@ShdwHg Год назад
@@DisplacedGamers Oh no! I guess I have to learn 6502 ASM now! (๑•﹏•) (FR tho, it _is_ tempting...)
@JH-pe3ro
@JH-pe3ro Год назад
While it's possible to go this route, the ultimate point of tweaking a platforming game's physics and controls isn't to arrive at "objectively easy traversal" - it's to highlight specific kinds of traversal challenges and explore the possibilities in a dialogue between level design and systems design. TMNT's head hits are a pretty clear example of designed intent. When your jumps are made easier, it's more likely that your game is making you do something else with them. For example, Metroid's jumping allows you to float and land very precisely, which frees up attention for the shooting mechanics. But Mario's jumps are faster and very tied to the horizontal running motion, and the horizontal is intentionally slidey with slow stops and starts, so Mario jumping is really about constantly feeling "out of control". TMNT is in a state where every mechanic is a muddle and doesn't know what it wants to be, but the short arcs are clearly where the platforming gameplay is supposed to feel tough and you are supposed to fail. Another way to think about TMNT's problem is: there's a disconnect between the frame of A button release and when the turtle starts falling. In a Mario-style jump you decide the top of the arc by letting go; it kills Y velocity on that frame and lets gravity take over. That makes you feel like you're controlling it precisely and it means there are a huge variety of jumps because of the combined effect of horizontal velocity and release time, which the level design uses to great effect. But TMNT wants to allow a mix of short jumps and huge screen-sized jumps from a standing start, while making it possible to do both quickly. The way in which the original design went to accommodate the different sizes was to front-load the entire control scheme so that the arc is expressed within 8 frames. That's a problem because held button inputs are never as intuitive as "on press/on release", and using three held-button states to describe the future behavior of the jump aliases the different jumps into what are essentially fighting game command specials, vs watching the character to see when they hit the top of the arc and releasing at exactly that moment. Tuning the jump as done in the video makes this input much easier, but also hurts the responsiveness of the largest jump. A literal double jump would solve this. That gives you the control, it lets you make the high jumps quickly, and it clarifies the short/medium challenge mechanic, even if we don't change the actual arcs or frame timings at all(though tuning the first jump to be a clear fall-on-release definitely makes it more appealing).
@KairuHakubi
@KairuHakubi Год назад
smart. i was thinking all you'd need is to assign, say, a double tap forward to a mostly horizontal vaulting jump
@smob0
@smob0 Год назад
I think you could improve headbonking a bit by shrinking the top the hitbox a few pixels when jumping, similar to a double jump.
@djmips
@djmips Год назад
HAHA neat. I was one of the programmers who translated this game to the C64. Everything you say is something we noticed back in the day as we tried to reverse engineer this (We were not furnished with source code). We ended up trying to make it as close to the original as possible and did not try and improve it. ;-)
@neoqwerty
@neoqwerty Год назад
What is it with companies demanding ports and not handing source code over? That's four I can think of now, you guys and the 3DO DOOM people, then the disaster that was the Sonic Genesis GBA port, and the team that had to reverse engineer Nights Into Dreams for the PC port. I just watched a playthrough of the C64 version, and color me impressed! The game looks pretty much like the only things that had to be simplified was the music and graphics, it looks pretty much like the NES version I played. If you still have contact with whoever did the main theme, give them a shout out! It sounds just as rockin' as the NES version! (and the overworld theme is going to be stuck in my head again, oops)
@recreateification
@recreateification Год назад
I was playing this on a Commodore my friend has a few years ago with and was wondering why only one button was used for both up and jump (think it was up and jump it might have been attack and jump, will try it on his machine again to make sure what share it was) were you limited by source code or was it to accommodate something like the 1 button joystick controllers people had from the 2600?
@radiance_37k
@radiance_37k Год назад
I still have a C64 :) I tried programming a bit on it... Holy crap it was tedious, how did you manage with adding lines in between code?
@cradledani
@cradledani Год назад
@@radiance_37k you might be thinking of basic, where you add the line number for each line of code "10 code here. 20 code here." Then you can ask code between with "11 more code" etc. The guys who ported to c64 did so in assembly no doubt (or some kind of other low level, higher than ASM, language)
@radiance_37k
@radiance_37k Год назад
@@cradledani I honestly did not realize that was an option, nor that you could ask for more lines. Thanks for clearing that up :)
@Godpuncher420
@Godpuncher420 Год назад
Never noticed until now but the Turtles definitely do the trademark Belmont strut when they walk. I wonder if some of the same animators worked on both.
@Skunky48
@Skunky48 Год назад
The Belmont Strut, I love it! There's also an unused subweapon that functions similar to holy water from CV that was found. Possibly related to one of the initial subweapons pitched being a bomb item that does area damage.
@mattdarrock666
@mattdarrock666 Год назад
Most likely, given Ultra was simply a sub-company of Konami, to bend the games per year released limit imposed by Nintendo
@crtinkering7323
@crtinkering7323 Год назад
Possibly why the input lag for attack was programmed into the game... To have that Castlevania feel. It's an action game but in a different pace
@MrBlk4
@MrBlk4 7 месяцев назад
You mean Belmont uses the Turtles walk right? Lol.
@YOBAMUSTDIE
@YOBAMUSTDIE Год назад
I think about 30 years passed since I played TMNT 1 , but I still remember the pain 🤣
@TH3DUDE0075
@TH3DUDE0075 Год назад
Dude I have memories of that jump burned into my eyelids - I see it every time I goto sleep. I was 5-6 years old and every time I would play TMNT I would end up having to call my cousin who was 13-14 and beg him to ride his bike down the street and do the jump for me. Luckily I had a pretty cool older cousin who would usually do it if he wasn’t busy. When I finally did it myself a few years later after pulling the NES back out I felt like the kid in the Wizard.
@otakubullfrog1665
@otakubullfrog1665 Год назад
It would be a lot more fair if the game used typical lava mechanics where you continuously take damage by standing in the water. That way there would still be a penalty for missed jumps, but a less frustrating one than being swept all the way outside. You could even justify it in-universe by saying that Shredder poisoned the sewers to thwart the turtles, which sounds like something he'd do.
@Choralone422
@Choralone422 Год назад
This video perfectly illustrates why TMNT felt weird to play way back when. The jump mechanics in particular were frustrating to a much younger me. Seems like with a little tweaking like this in development this game could have been a real classic instead of just notable.
@TonyTheTGR
@TonyTheTGR Год назад
It very much IS a classic, just in that butthead-difficult kind of way that Battletoads and Spelunker are
@neoqwerty
@neoqwerty Год назад
@@TonyTheTGR Nintendo Hard classics, ah, how I (don't) miss thee.
@chickenofmann8474
@chickenofmann8474 Год назад
Ar
@ResidentWeevil2077
@ResidentWeevil2077 Год назад
Kaizo TMNT 😈
@Foxentails
@Foxentails Год назад
Another big problem is there's no invulnerability time after taking damage.
@mrmacross
@mrmacross Год назад
I had an NES Advantage controller and something I learned early on was that using the Turbo feature made precision jumping a hell of a lot easier. Every time I needed to make a short jump, just turn on Turbo. I have a lot of memories from 30 years ago of that jump at 6:18, and with the Turbo it's so easy.
@DisplacedGamers
@DisplacedGamers Год назад
Yeesssss! That is a great strat.
@gamalielshapira
@gamalielshapira Год назад
This.
@-Keith-
@-Keith- Год назад
The NES Max was really good for that since the big downside of the NES Advantage was that you had to toggle the turbo mode on and off for your buttons, whereas the Max had dedicated turbo buttons. Only downside of the Max was that darn sliding D pad.
@mattdarrock666
@mattdarrock666 Год назад
Personnally, my strat for those jumps was to simply quick-tap the button and barely touch it...
@Appl_Jax
@Appl_Jax Год назад
@@-Keith- I had the max growing up. The dedicated turbo buttons were invaluable. To get around the dpad problem, just got used to pressing the black frame around it.
@ohuckabee
@ohuckabee Год назад
As someone who's played a lot of FPSes, the phrase "tie physics to the frame rate" gave me a chill.
@DisplacedGamers
@DisplacedGamers Год назад
Yeah... I suppose it was a natural holdover as gaming evolved over the years. Processors got faster, but tying physics to the frame rate still saved time.
@themonsterunderyourbed9408
@themonsterunderyourbed9408 Год назад
Anyone that plays Elder Scrolls game should get chills as well.
@neoqwerty
@neoqwerty Год назад
@@themonsterunderyourbed9408 I didn't get chills, I deadbutt _flinched_ .
@jr2904
@jr2904 Год назад
@@neoqwerty dead ass
@DoomRater
@DoomRater Год назад
When Ben Heck did it on his game on a microcontroller, I left a cheeky comment about how he was tying the game's physics to frame rate, but in reality, this kinda used to be the only way to do it in time. I suspect anyone who saw my comment knew that as well.
@XT-8147
@XT-8147 Год назад
I never noticed that the high jump was a double jump until this video. Something about slowing it down made the sudden boost in velocity easier to see.
@JohnSmith-nj4zq
@JohnSmith-nj4zq Год назад
It's not a double jump, just a high jump. A double jump is like in Castlevania SOTN where you can jump again when you are in air.
@JanneSiimesvaara
@JanneSiimesvaara Год назад
@@JohnSmith-nj4zq But in the video it's considered an automatic double jump, which in my opininon is an accurate description since the game gives you a new starting velocity mid-jump, like you'd get out of a more common double jump.
@JohnSmith-nj4zq
@JohnSmith-nj4zq Год назад
@@JanneSiimesvaara It's more like Street Fighter 2, There's a low, medium and high. SOTN jumping twice is what an actual double jump is and looks like.
@sneakingelephant
@sneakingelephant Год назад
This is such an awesome video, will definitely share. The water level and lack of direction are often some of the biggest complaints this game gets but the wonky physics always felt like the worst part of the game for me. Glad that after nearly 3 decades I have an explanation of why it felt that way for me.
@DisplacedGamers
@DisplacedGamers Год назад
Thank you, and thank you for the share!
@JohnSmith-sk7cg
@JohnSmith-sk7cg Год назад
He fixed the water level in his previous video.
@victor_creator
@victor_creator Год назад
10:22 The way I've seen variable jumps done is to decrease gravity while the button is held (and you're going up) or to increase gravity when you release the button, or perhaps a combination of both.
@khatharrmalkavian3306
@khatharrmalkavian3306 Год назад
Mario did it by just holding the upward velocity constant until the jump button is released or a frame limit is reached. After that you're released to gravity.
@zyad48
@zyad48 10 месяцев назад
​@@khatharrmalkavian3306from what I understand, at least in Super Mario World, the game still keeps checking if the jump button is held while in the air regardless of time This leads to the phenomenon that speedrunners coined "regrabbing" where you hold the jump button again at different descending points if your jump for some extra horizontal distance. It's funny how such little changes to code can basically add a high skill mechanic like that lol
@ContraG
@ContraG Год назад
I love how you include Game Genie codes for the fixes. I need to try them out. Keep up the hard work!
@philipmurphy2
@philipmurphy2 Год назад
Peak RU-vid when there is talk of a mechanics of a NES game, Not found anywhere else.
@upsilandre
@upsilandre Год назад
The side by side comparison between CnD Jump and TMNT jump 😀👍 I hadn't noticed the double jump despite it being very visible.
@DisplacedGamers
@DisplacedGamers Год назад
Thanks again for all your hard work! Love your stuff!
@rsmith02
@rsmith02 Год назад
It would be great for someone to redo the game physics as a quality of life patch and compare to the original. There could be a compelling game in here if the control were more intuitive and less frustrating.
@joesshows6793
@joesshows6793 Год назад
Quality of life rom patches are life!
@joesshows6793
@joesshows6793 Год назад
@@SirBuzz yea it is. Games are released with busted code cause they ran out of time and this is as good as it gets. Have you seen the smb64 code fixes??? The dumbasses left debugging on and just turning it off bumped the performance like 20%. Debugging was left on. That’s not part of the gaming experience.
@mrmacross
@mrmacross Год назад
I haven't played on an emulator in a long time, but my suggestion is to play with turbo fire if you have the option. On the NES, if you use the NES Advantage, turn on the Turbo and set it to max. You'll get a short jump 100% of the time. That's what I did when I was a kid and it made the jump at 9:05 elementary.
@crh1985
@crh1985 Год назад
I think TMNT nes game was designed for the 30 fps jump if you play the game some jumps really feel like it the jump he shows in the video couldn’t be made at a 60 fps jump
@TheStuffMade
@TheStuffMade Год назад
It's a good idea, but then it should be rebranded as a new version not to be confused with the original.
@ratone1983
@ratone1983 Год назад
It never ceases to amaze me how such small groups of people programmed this in such a short time with such rudimentary tools. The more I look at these videos, the more I understand the sheer complexity of the task. I was 7 when I played this, and I definitely wanted to be a programmer at that age. Looking at this video today is wonderful, looking at it back then would've been beyond incredible. Thanks!!
@wraithcadmus
@wraithcadmus Год назад
The most fascinating jump physics I can think of is Bomb Jack, you have an incredibly high jump, but hitting jump again causes your vertical speed to be set to 0 (or at least, a very low value), so you can 'hover' with a fast finger.
@WammyGiveaway
@WammyGiveaway Год назад
While unrelated to the timing, preciseness and collision complications of the jumping mechanic, I'd also feel that a tweak to the Turtle's weapon attack during a double jump might also be necessary. You'll notice that when you press the B button, the Turtle will use their standing attack animation, or crouching attack if the Down button was held. That means the hitbox grows from its tiny spinning size to a full body size that makes your Turtle vulnerable. Replacing that frame with just the animation frames from the weapon will keep the Turtle's spinning animation as they draw out their weapon, like the frames seen in a Mr. Invincibility session.
@psp785
@psp785 Год назад
The problem with TMNT is that they can't swim and they're turtles except for the dam level
@affegpus4195
@affegpus4195 Год назад
Is almost like they are tortoises, not turtles
@jeffcox6539
@jeffcox6539 Год назад
Strong currents
@ciceronx
@ciceronx Год назад
@@affegpus4195 Tortoises are turtles.
@Artictoc
@Artictoc Год назад
@@ciceronx Tortoises are land animals and can in fact not swim.
@thatwasprettyneat
@thatwasprettyneat Год назад
I'm not a gave dev, but I would imagine this channel is a gift to gave devs. Either way, I think the fusion of game mechanics and real-world examples is really cool.
@Acoha7
@Acoha7 Год назад
1337 video length. I adore your content. This must take so much time to produce. Great work.
@daseal1479
@daseal1479 Год назад
Just played through this game again thanks to the Cowabunga Collection, and this video really helps explain the frustration everyone has to grapple with when revisiting this classic, great stuff!
@briankarcher8338
@briankarcher8338 Год назад
No kidding - this series is the best on RU-vid. So much value. Thank you.
@GeneralBolas
@GeneralBolas Год назад
I may have mentioned this on another video, but I would really love to see an examination of how a game with large levels goes about compressing/decompressing them. My go-to example is Solar Jetman, which manages to fit some impressively huge levels into a "mere" 256KB.
@markkoetsier6475
@markkoetsier6475 Год назад
Not to mention it's got some equally impressive, sophisticated gravity physics going on by NES standards. Which just happens to be pretty relevant to this vid. 😁
@bobdole930
@bobdole930 Год назад
Yeah, you see some ingenious workarounds in some of the old coding, true masters of their class at the time.
@BradCorrupts
@BradCorrupts Год назад
It was made by Rare if I'm not mistaken, so it's likely CHR RAM based utilizing a lot of tile compression among other things. They had a habit of really trying to push the hardware.
@vaskaden735
@vaskaden735 Год назад
Solar Jetman levels are made from 256 different 128*128 pixels big metatiles. This substantially reduces the size needed to store all levels. Planet 2 for example is 32*26 metatiles big i.e. only 832 bytes is needed for the level's layout. They did a really good job with the levels so these big blocks aren't really noticeable.
@vaskaden735
@vaskaden735 Год назад
Solar Jetman example image where the metatiles are outlined and their ID/number (0-255) shown. drive.google.com/file/d/1UBtwvcrjnp2ccuXgDld97YBxaHPUmris/view?usp=sharing
@mpusztai
@mpusztai Год назад
Each new video feels like Christmas morning. Keep up the good work :)
@Soundole
@Soundole Год назад
Great discussion - I love how you use specific dissections to look at broader concepts as a whole. For a lot of these 'bad' games, I'm really impressed by the ingenious (if imperfect) solutions that devs came up with, operating at a time with very little precedent or theoretical knowledge. The fact that many of these solutions are still perfectly functional in modern development contexts is mind-blowing to me!
@TSHORYUKEN
@TSHORYUKEN Год назад
ur channel is a gold mine for game developers ! thanks so much !!
@JoLiKMC
@JoLiKMC Год назад
This video makes me wonder about another NES oddity: _Ghosts 'n Goblins._ There's nothing "wrong" with any of the game aside from some generic NES vertical-wrap glitching. However, I find it incredibly odd that the game seems to run at, like, 15 FPS…
@THETV1RUS
@THETV1RUS Год назад
You deserve more subscribers. As a game developer, I love your content and hope it continues. This episode was one of my favorites. You make assembly code look so simple haha.
@sagacious03
@sagacious03 Год назад
Neat analysis video! Thanks for uploading!
@kri249
@kri249 Год назад
And this is why I love this channel, especially the Behind the code videos. I had always considered jump physics when designing a game, particularly the gravity and mimicking real world gravitational acceleration. I never considered converting it from m/s^2 to fps but it makes a lot of sense. Though I suppose it depends on the game and how a character is suppose to move. Floaty jumps are what you would expect for playable ninjas. Once again awesome video and keep up the good work. It's always appreciated.
@AboveEmAllProduction
@AboveEmAllProduction Год назад
Yay another vid from the master, always get excited when you post love your vida
@hypercynic
@hypercynic Год назад
Not sure how this is my first time finding this channel, but I love the concept of this series. As a very entry-level coder, it's great for giving different things to think about for little projects I'll be working on.
@danflurry
@danflurry Год назад
Love this series. Really well done
@AniMerrill
@AniMerrill Год назад
I wonder how development on these games would have been different if the devs knew that 40~ years later someone would decompile their code and do an in-depth analysis of the small mistakes that led to some of the most infamous glitches and problems in their games. We see the effect that day one patches and the danger of someone datamining your game have on modern development, and the funniest part is that some of these hot-fixes are totally doable with just a bunch of game genie codes. It definitely makes you think. Back then, programming was a done deal because nobody expected the general public to have the kinds of tools to be able to do this. It's honestly fascinating.
@DisplacedGamers
@DisplacedGamers Год назад
While I wish we didn't live in a "release now, patch later" world, it sure is nice for devs to not only fix bugs but also tweak mechanics after a game has been released. Pairing this approach with a physical release that does not contain those patches as well as the possibility that the server that provides those patches could no longer exist at some point in the future is a cause for alarm for those that may want to revisit a PS5 game (for example) 20 years later.
@JoebDragon
@JoebDragon Год назад
back then they did not have the tools and what kind of cuts / quick changes where made to make the games fit into the rom space / cpu power / ram? Other stuff cut for time leading to quick changes to get the game out on time?
@KingMob4313
@KingMob4313 Год назад
You are absolutely right, there is so much promise to this game and while it has been patched for QOL by others, fixing the jumping and combat animations would be amazing.
@crtinkering7323
@crtinkering7323 Год назад
Thanks! I know nothing of code but your videos are still interesting enough and reveal things to me that I find amazing. And top notch editing skills.
@DisplacedGamers
@DisplacedGamers Год назад
Thank you. I really appreciate it!
@PassportBrosBusinessClass
@PassportBrosBusinessClass Год назад
I agree: the huge problem with these jumps is that bumping the turtle’s head negates horizontal velocity and movement. That ruins everything
@PassportBrosBusinessClass
@PassportBrosBusinessClass Год назад
It’s amazing this game is still so impactful many years later. I bought the COWABUNGA COLLECTION just to get this game. I still have my NES. This was the 3rd game I had for it when I was a kid
@crtinkering7323
@crtinkering7323 Год назад
Awesome content 👍👌 I love your style!
@JossCard42
@JossCard42 Год назад
Well this video made this Thursday morning a lot better
@shawnregina9110
@shawnregina9110 Год назад
It’s funny to see this video. I remember as a child I got stuck in this game at the sewer part you showed because I was unaware of the different jumps. It’s nice to know it wasn’t completely my fault all these years later.
@johnray527
@johnray527 Год назад
Becoming one of my favorite channels. Your video narration & explanation are excellent. I'm also not a programmer. Keep it up!
@DisplacedGamers
@DisplacedGamers Год назад
Thank you so much, John!
@turbokiller
@turbokiller Год назад
Excellent video and background music ;)
@kryptonite5315
@kryptonite5315 Год назад
This is fascinating, from design considerations to a bit of code walking. If you get enough people tweaking the code achieving different solutions, I'd love to see a follow up on this one. If not, can't wait to see what you tackle next!
@TheStuffMade
@TheStuffMade Год назад
Nice deep dive into the TMNT jump mechanics.
@panelvixen
@panelvixen Год назад
Speaking as a player: How about remove a floor tile from the top floor or add a floor tile to the bottom floor? Then how about moving the enemy spawn point a tile or two left or right so the player doesn't have to take a cheap hit and fall back into the water?
@bloodykenshiro8218
@bloodykenshiro8218 Год назад
Love these kinds of videos. You should really release these tweaks as patches for everyone to enjoy.
@danmanx2
@danmanx2 Год назад
Thanks! Very informative!
@nendymion
@nendymion Год назад
While I will never understand assembly programming and the technical details go right over my head, It's always interesting to see a behind the scenes look on how a game operates.
@AlfaTrion
@AlfaTrion Год назад
Very interesting. Thank you!
@sulblazer
@sulblazer Год назад
Dude, I love this series!
@Eener1000
@Eener1000 Год назад
Your videos are great for indie devs! I would love it if you ever have the time to look at the hit detection in Ironsword. The way armor and damage works in that game is so strange.
@MrGSNL
@MrGSNL Год назад
Awesome material! 🥳🥳🥳
@affegpus4195
@affegpus4195 Год назад
This channel is a treasure cove for developers
@cptCrax
@cptCrax Год назад
Thank you for explaining one of the major frustrations of my childhood to me. ❤️
@DeepWeeb
@DeepWeeb Год назад
Supposedly TMNT's "engine" was based off another Konami game; GetsuFumaDen, which is a game with equally floaty movement and loose combat (so much that if you were to press the jump button when falling into a pit, you can actually perform a mid-air jump)
@noisepolice
@noisepolice Год назад
TMNT taught me how to jump in video games. The fact that there are 3 distinct jumps that can happen based on your input blew my mind.
@MidnightSt
@MidnightSt Год назад
just a detail: "gravity" is very rarely adjusted dynamically (or even statically, but during development - you usually tweak it at the beginning, until you find a value which feels right, and then never touch it again, because it refers to "downward force (multiplier of weight) applied globally to everything that has weight", so messing around with it would mess up everything. what's better to tweak is "weight", which refers to downward force (base value) for a single specific object.
@leotato008
@leotato008 Год назад
Hi man! Congrats for showing us these great things! I have a request. There seems to be a glitch fighting Shredder. Sometimes, even if you kill him the game stucks, your turtle freezes as he goes on trying to hit you. It should be something with Shredder's lifebar. You could make a video about this!
@rawkfistgaming
@rawkfistgaming Год назад
I love these deep dives into NES games, and especially TMNT!! Would you be willing to return to the Bomb Swim one more time to dive into the secrets of the current/boost? I've always been interested in that considering how inconsistent it seems to be.
@retrogambit7101
@retrogambit7101 Год назад
You can actually manipulate the current and ride it as long as you dont bonk against any walls. We usually try to stay in a current during speeruns.
@rawkfistgaming
@rawkfistgaming Год назад
@@retrogambit7101 - You're a runner? Me, too! A humble 23:13 in Any%, but that may improve if I can learn the secrets of boost/current. Sometimes I'll be bonk-free and still miss current, so I'm trying to figure out what I'm doing wrong, or what knowledge I'm missing.
@retrogambit7101
@retrogambit7101 Год назад
@@rawkfistgaming Skunky has a great tutorial on current boost. Not sure if its on SR or his YT
@retrogambit7101
@retrogambit7101 Год назад
@@rawkfistgaming Im also trying to improve my Glitchless run and Any%
@rawkfistgaming
@rawkfistgaming Год назад
@@retrogambit7101 Oh, he does??? NICE! I initially learned off one of his runs, but recently I started using Stuff is Stuff's tuto. Gonna have to go give Skunky some more views, lol... Thanks, man!
@dnk_cafe
@dnk_cafe Год назад
These code videos are all super helpful! If there is any game I would love to see code insight for, it would be SNES Harvest Moon, specifically what effects weather RNG and fishing RNG!
@stevenschiro1838
@stevenschiro1838 Год назад
I remember that specific jump being so damn frustrating for me as a kid. Great video as always!
@caesaria
@caesaria Год назад
I remember that jump being impossible on the PC version. Until I discovered the can't-die cheat code to just walk on water
@AdeaciaPlays
@AdeaciaPlays Год назад
I could never make that jump. No matter how many times I tried, I never once made it.
@scythemouse
@scythemouse Год назад
Interesting this comes up not long after I went into a personal deep dive into Shadows of the Empire PC's gravity, and how it's affected by framerate.
@seishino
@seishino Год назад
I wonder how many rom patches this will lead to. A simple better jump / attack rom hack would be very welcome. Allowing turtles to keep their momentum when bumping heads would be amazing. Of course, a full 60FPS conversion would be lovely, but good luck with that.
@DisplacedGamers
@DisplacedGamers Год назад
I would love a full 60 fps conversion
@fkhg1
@fkhg1 Год назад
i love the length of the video, 13:37 is perfect
@Cade_The_Squirrel
@Cade_The_Squirrel Год назад
Nice to see someone giving this game some attention, I think it's a great game that just needed more polish, and I'm glad to see you taking a stab at making it just that much better
@DisplacedGamers
@DisplacedGamers Год назад
Thank you!
@mr.voidout4739
@mr.voidout4739 Год назад
Me in highschool: I don't need math, I wanna be a game designer. Me now: *DAMMIT!*
@brianedwards30
@brianedwards30 Год назад
Great content! I haven't seen a video that covers all of the bugs in the original final fantasy. You should make one or more on that.
@brianjl7477
@brianjl7477 Год назад
This was super-interesting. I am not well-versed in coding fo rht eNES or anything, but it was pretty understandable - great job!
@Draekmus
@Draekmus Год назад
This may be beyond patching, but could the jump physics be rewritten where pressing the jump button applies a high jump velocity, but releasing it instead changes your upward velocity to zero or a low number. If I’m understanding right, it would be the reverse on how TMNT implemented their jumping physics. Instead of three different jumps, you would have one jump that is instead cancelled when you release the jump button.
@DisplacedGamers
@DisplacedGamers Год назад
While I haven't looked at Mega Man 2's exact jump mechanics, I believe it has what you are describing. I showed some footage from it in this video. If you were to duplicate the jump logic from Mega Man 2 for TMNT, you'd have to consider adapting for 30 fps and probably adding the automatic double jump to the end for jump height requirements. Platforming in the NES Mega Man series feels good, and the frame rate allows for it.
@Sandata64RD
@Sandata64RD Год назад
Posting on a very old fire tablet. Your videos are very good and I enjoy learning about coding. If I had to give a next tmnt fix, it be Ralph's and Mike's attack method. Since Sprite editing might be outside your wheel hous, yet I also feel like Feasters Quest also covered damage and distancing I would be interested in hearing your thoughts on basic ideas on how to fix it. Thank you for your video again.
@faisalwho
@faisalwho Год назад
Flashback to early 90s, preteen me cursing the sewer jump. I would later come across the turbo 4 controller and discovered that the top jump button on the controller was mapped to short jump. Never thought I would revisit this experience as a hobbyist game programmer from a completely different perspective 3 decades later.
@GimblyGFR
@GimblyGFR Год назад
I'm quite surprised at how the jump logic works in the game. Re-assigning the speed once the jump has started is not how I imagined it would be done. Perhaps executing the jump once the button has been released ... although it would introduce the feeling of input lag. Anyway, great video, as usual. Very interesting and very didactic. Love this series.
@briankarcher8338
@briankarcher8338 Год назад
Yeah I didn't expect it either and never noticed it when playing. I can't think of a good alternative since the game has no run button and no specific double jump button to make it explicit.
@jamesduncan6729
@jamesduncan6729 Год назад
Honestly I don't have a lick of coding knowledge, maybe a slight idea of how scripting generally works as a whole. But these videos are still INCREDIBLY fascinating to me. I can somewhat understand the basic idea of what you're explaining, and your explanations are just wonderful. Great stuff, man. 👍🏻❤️
@DisplacedGamers
@DisplacedGamers Год назад
Thank you, James. Your comment means a lot as I want the video to be as accessible as possible despite loading it down with technical information.
@VideoGameAnimationStudy
@VideoGameAnimationStudy Год назад
Thanks
@DisplacedGamers
@DisplacedGamers Год назад
Thank you!
@jamminjago
@jamminjago Год назад
I remember the dials on the NES Advantage allowed you to set up the controller to always do a small jump when you press the button.
@DevManStrider
@DevManStrider Год назад
Love your videos. Would like to see a deep dive into more mechanics of the MegaMan games someday. Keep up the good work!
@DisplacedGamers
@DisplacedGamers Год назад
What would you like to see in the Mega Man series?
@DevManStrider
@DevManStrider Год назад
Anything, really. I enjoyed the videos on zipping and QuickMan's AI. Perhaps a glance at how the code evolved for how MegaMan moves around from 1-6? Might turn into a lengthy video, though.
@NaoPb
@NaoPb Год назад
I love these videos
@Vulpas
@Vulpas Год назад
A ROM hack fixing the hit boxes on things plus these jump and attack improvements would be amazing.
@RobertKreese
@RobertKreese Год назад
This is a really interesting topic! Making old classic games feel better to play is really nice. Also the perfect feeling to a games physics is an interesting topic. Perhaps it's hard to find that sweet spot, wich everyone likes. When we developed Alwa's Awakening to modern platforms as Steam, PS4 and Switch etc. We went for what we thought would be the sweet spot for game play and feel to the game. Some people often comments that the gravity is feeling sluggish and the movement speed is to slow. After getting used to the settings in the game people somtimes change their opinion and sees the benefit when doing hard jumps. When porting the game to a real NES, we wanted the game to feel like the original on Steam etc. Brad Smith who made the conversion to NES made an excellent work, and the game feels just like the original. I guess it would be possible to find Game Genie codes for the NES versions that alter things like the gravity and movement speed. But as you said, this would affect the gameplay in even more than just movement speed etc. The leveldesign is made for the settings made in the original code, and could mess up the playability. Still it would be awesome to play around with some settings using Game Genie codes for the game.
@JamieBainbridge
@JamieBainbridge Год назад
Imagine just sitting around disassembling 6502 all day. This guy is living the dream 😎
@returnofmerenguespersempre6664
Dunno why but I love this channel even though I understand the bare minimum of programming talk. Well done captivating even us who arent that knowledgeable, but just love retro.
@SewerBushido
@SewerBushido Год назад
I'm really happy someone is finally digging into the original TMNT game like this
@vaendryl
@vaendryl Год назад
always great to see a little under the hood of a nostalgic game. I wonder if there's anything interesting in the old NES ducktales game. movement in that game always seemed really great, so maybe that's only interesting in a "what makes it great" sense, but the way enemies spawned was often quite annoying. maybe that's also an area worth looking into.
@X_Leonhart
@X_Leonhart Год назад
A simpler solution, IMO... Just make the turtle (an amphibian creature by nature) be able to swim!! Lol. Just a gag coming from my frustration with this game. Awesome video, as always. Learning how code works for these “simple” aspects of a game really makes me value all the effort the programmers put into their software, even if they failed.
@Pulmonox
@Pulmonox Год назад
But... they CAN swim. There's an entire level dedicated to it.
@Raytheman581
@Raytheman581 Год назад
@@Pulmonox They forgot this logic gap when you fall in water in a sewer.
@neoqwerty
@neoqwerty Год назад
@@Raytheman581 It's clearly _holographic_ water, planted there by Shredder to trick them into falling to their death in a black hole!!!
@Raytheman581
@Raytheman581 Год назад
@@neoqwerty Darn that Shredhead! What will he think of next.
@dionelr
@dionelr Год назад
It’s like you peered into my childhood and found all the frustrating parts of this game to make code videos about. I wonder if there’s another way of tackling the problem by changing horizontal movement slightly. I just wonder how much level design would need to change in order to support the new physics. Since I never beat this game, I’m not sure if changes would make soft locked situations occur.
@MrClawt
@MrClawt Год назад
Another amazing video. Konami should have let you make a patched version of the game for Cowabunga Collection!
@the-NightStar
@the-NightStar Год назад
Konami and Digital Eclipse should have come to you, before putting this game on the Cowabunga Collection. They could have talked to you to help them make some tweaks to the game, to fix some of it's oversights with your knowledge. They already tried with the "Remove Flicker" and "Remove Slowdown" options (which don't even work 100% reliably anyway), but with your help and knowledge of coding, they could have made a lot more bug fixes for this old game, so that old AND new audiences could enjoy it much better.
@DisplacedGamers
@DisplacedGamers Год назад
I assume they still have access to the original source code and didn't lean on the wrapper-emulator alone for all of their tweaks, but maybe that was the extent of their changes. That said - I am not sure if the ROI for putting time into tweaking the original game mechanics is worth it for them.
@Adamwinters
@Adamwinters Год назад
Man, this is heavy!
@MickMacklerack
@MickMacklerack Год назад
Just started watching this because I recall being stuck on one of the levels for days as a small kid. I eventually figured out you had to lightly *tap* the jump button to pass without hitting your head and dropping into the water. Edit: LOL you covered the exact spot I was stuck on as a kid at 6.21 !!
@silentarcher7355
@silentarcher7355 Год назад
Awesome video! How do you go about getting the source code for these games?
@SirJonSoda
@SirJonSoda Год назад
You are making this game better. When I play it on Mister I hope these codes or even better versions of them have been released as cheats or rom hacks. If not, I may try to translate them myself (I hope I can)
@DisplacedGamers
@DisplacedGamers Год назад
Go for it! You'll probably make the tweaks even better!
@psychosnyder
@psychosnyder Год назад
Nice video length. :)
@MGRay-xq8eh
@MGRay-xq8eh Год назад
Nowadays it is exciting to have a deep look into the games internals using emulators but at the time the game was made, I can't imagine the stress if such tweaks were performed at the end of the development cycle potentially breaking the levels anywhere in the game :D
@ValkyrieTiara
@ValkyrieTiara Год назад
TMNT really is such an interesting game to look at under the hood with all it's design and gameplay quirks. You can do it!
@azazelleblack
@azazelleblack Год назад
I recall that the creator of Rockman 4 Minus Infinity was able to free up something like 40% of the CPU by re-writing the music code (!!!), allowing that ROM hack to be drastically more complex than the original game. I wonder if there aren't some optimizations that could be done to key game loops of TMNT to free up enough CPU cycles to make it a 60 FPS game.
@goranisacson2502
@goranisacson2502 Год назад
Wouldn't be surprised if that's the case: Mega Man games in particular, I recall, where often made on a death march-pace and I wonder if even this game, big a license as it was, was made with enough time to really work out CPU-freeing solutions or if it was just "do whatever to get it working it needs to be done now now NOW!" With our increased knowledge, documentation and time, so much more is possible now than was back then...
@neoqwerty
@neoqwerty Год назад
PureSabe is _nuts_ with what he squeezed out of MM4... And he did it again with Rockman 7 EP!
@gsus3918
@gsus3918 Год назад
Nice video length :)
@Epinardscaramel
@Epinardscaramel Год назад
12:59 the GameBoy gamegenie is how I learned hexadecimal numbers as a kid 😅
Далее
Ummmm We "HAIR" You!
00:59
Просмотров 2,4 млн
NES Sound: The DMC - Behind the Code
33:48
Просмотров 125 тыс.
Action 52 - A Bit of History & A Bit of ROM Archaeology
18:06
World Record Progression: The Legend Of Zelda (NES)
15:53
I made NES Tetris EVEN FASTER
12:07
Просмотров 43 тыс.
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 686 тыс.
The Hidden Source Code in Dragon's Lair (NES)
20:29
Просмотров 156 тыс.
45 Games That Defined the AMIGA 500
29:54
Просмотров 525 тыс.
Game Genie - Gaming Historian
9:19
Просмотров 1,7 млн
ПАРИРУЙ - Nine Sols
43:31
Просмотров 100 тыс.
Zenless Zone Zero's Pre-Release Special Program
27:03
Просмотров 311 тыс.