5 Colors in One Sprite Explained - Audiovisual Effects Pt. 04

Поділитися
Вставка
  • Опубліковано 26 вер 2024
  • How do the character sprites in Super Mario Bros. 2 have 5 colors? It's all explained right here.
    LINKS
    Twitter (updates): / retrogamemechex
    Patreon (support): / rgmechex
    SubscribeStar (support): www.subscribes...
    Discord (discussion): discord.rgmeche...
    INLINE LINKS
    Thank you to Xkeeper for their SMB2 disassembly, which you can find here: github.com/Xke...
    SUPPORTERS
    Thank you to all of my supporters on Patreon and SubscribeStar!
    Anthony Losego, Dan Salvato, F. Murmel, Jonathan Aldrich, Ange Albertini, Mark Canlas, Avi Drissman, Steven, Mike Gerow, Larry Koubiak, Tina Wuest, Owen Christensen, Gynvael, Buddy, Chris Margroff, Brandan Lennox, Jason Hughes, Diamond Ice, Chris Post, Cypher Signal, Rupix, Gabe S, krivx, Walter Huf, David Spalding, Acceleration Shark, Rory Kelly, Carl Cassler, Joe Mecca, Michael Greb, Kefen, Heptonion, leftler, Scott Beca, 19day, Michael Dragone, John Losego, Travis, Arthur Kunkle, Jordan Wright, Node1729, Andrea, Michael Cafarelli, Red Sona, KieferSkunk, Nik, Nudelreaktor, tripper, Nebelwerfer Granitara, Sten, 333Rich333, Glenn hEADcRASH Sugden NPC, Alex Yancey, David Mazarro, null, Ryan, Corey Ogburn, Martin Trozell, Garret Kelly, Jake Hickman, Joel Kuhn, Dan Shedd, Sembiance, Xander479, 4F Panda, David, A Sentient JDAM, Alec Johnson, Brian Henriquez, Travis Nellor, Zach Hugethanks, dishsoap42, Yakov, Oxygen Chen, RetroReversing.com, yuriks, Ceres, Diego Santos Leão, Jeremiah, Chris Connett, Mark, Matthew, sapslaj, Jonathan Scott, Xkeeper, Bjoern Hansen, ers35, Pixy011, Daniel Bernard (ReckedCat), Lukas Kalbertodt, Vier Ladair, Bwangry, iPaq, Jeremy Wright, David Johnson, Matt Shepard, Felix Freiberger, Sypwn, Niles Rogoff, Reflet, Yann Le Brech, Evan, Eugene Bulkin, Walter Weaver, Articate, Julien Oster, buzzert, Steve Losh, Samuel Stoddard, HattyJetty, Paige ? Hex, Yeero, Cruz Godar, Linh Pham, Noah Greenberg, Nick Rogers, Sean Nelson (audiohacked), Bryce, Andrew Yukhymchak, Sean Bryant, John Gabriel, BazBadger, Kyle, Master Knight DH, Tim Romero, Michael B., Eric Loewenthal, Adrian Haslinger, Proxy, Nolan Varani, Thoscellen, Daniel Robinson, Hans Jorgensen, Daniel A.A. Pelsmaeker, Aaron, Max Gartung, Nicolas Dohrendorf, Eric Hoppe, Chaz Serir, derHinek, Gyiyg, samfu, Dominic Wehrmann, André Greubel, Anon42, Urda, Ted Berkowitz, AA, Joseph Torres, serhef, Daniel, Audio, Patrick Johnston, Rodrigo Monteiro, Punchmaster, Stephen Bank, Thomas Berg, Dasterin, Matthew Yu, Alice Hartley, Marcus N., Agoaj, Nicholas Carhuff, Aaron Murray, Epsilion, bob johnson, Seth N. Hetu, Permian Strata, supergtt, Alex Berliner, Sean Coates, Eniplay, iWasHere, Dominic Cerquetti, & Adam S!

КОМЕНТАРІ • 456

  • @joebykaeby
    @joebykaeby 3 роки тому +1740

    I cannot imagine the board meeting where they decided “giving the player one pixel of white in the eyes” is worth reducing the number of drawable objects by more than 10%

    • @aetherarcanist4819
      @aetherarcanist4819 3 роки тому +303

      It looks baffling, but hey, we probably paid more attention to their white eyes than we would to an extra sprite being drawn without flickering everything

    • @melody3741
      @melody3741 3 роки тому +248

      It's a tiny detail but I think that subconsciously it makes a big difference to the players and makes the characters much more animated and alive looking. Even if you don't think it makes a difference, it probably affects you subconsciously. I mean literally the entire game (and every videogame) is literally just you interpreting visuals, so it makes sense to want to make them look as good as you can.

    • @claude-alexandretrudeau1830
      @claude-alexandretrudeau1830 3 роки тому +82

      @@melody3741 This is the reason we remember Mario and not Pitfall Harry.

    • @BagOfMagicFood
      @BagOfMagicFood 3 роки тому +114

      It helps that the game was already fully designed, so they knew how much room was left for extra objects.

    • @door-chan
      @door-chan 3 роки тому +27

      Only 90's game devs will understand 😤

  • @arthurhenriqued.a.ribeiro2078
    @arthurhenriqued.a.ribeiro2078 3 роки тому +748

    I've noticed the Mario with Red Flickering Eyes multiple times when going through a door. Thanks for the explanation!

    • @Dargonhuman
      @Dargonhuman 3 роки тому +37

      I main Peach myself but I too have noticed that she seems to "blink" rapidly when going through doors.
      I never considered it was the same effect as the flickering sprites so in my head canon, I explained it as the characters were just blinking fast to adjust their eyes to the drastic changes in lighting.

    • @theREALsilviautism
      @theREALsilviautism 3 роки тому +2

      @@Dargonhuman huh

    • @gunsunnuva8346
      @gunsunnuva8346 3 роки тому +4

      I've always mained Toad since the early 90s, so I have to admit I've never noticed this glitch.

    • @yourlocaldeedge69420
      @yourlocaldeedge69420 3 роки тому

      Yea

    • @cadencase5216
      @cadencase5216 4 місяці тому

      @@theREALsilviautismRead it again, it makes perfect sense??...

  • @The_WhitePencil
    @The_WhitePencil 2 роки тому +32

    I find it absolutely hilarious that toad is the only one who already uses white in his color palette and yet is the only one lacking whites in his eyes.

    • @DoomKid
      @DoomKid 2 роки тому +7

      Toad with eye-whites seems kinda disturbing the more I think of it.. I’m just so used to them being solid black dots!

  • @xander0479
    @xander0479 3 роки тому +818

    Somehow I never noticed the eyes freaking out when on a door but now I won't be able to un-see it, thanks

    • @xander0479
      @xander0479 3 роки тому +60

      @@alainchristian I'm pretty good at not seeing things. It's one of my many talents

    • @Bry10022
      @Bry10022 3 роки тому +1

      r/TIHI?

    • @xander0479
      @xander0479 3 роки тому +20

      @@Bry10022 this ain't reddit, fella

    • @Bry10022
      @Bry10022 3 роки тому +5

      @@xander0479 I know, It probably qualifies for the Thanks, I Hate It subreddit…

    • @aaendi6661
      @aaendi6661 3 роки тому +6

      Have you ever noticed that in SMB3 and Kirby's Adventure, the tiles on the right side of the screen have the wrong colors while scrolling?

  • @aurachanneler8396
    @aurachanneler8396 3 роки тому +635

    Don’t you just HATE when your eyes turn door-colored? I sure do!

  • @shadowmanwkp
    @shadowmanwkp 3 роки тому +660

    Another well-known NES game that uses multiple sprites for the player character is Mega Man. In those games, the whole face is a separate sprite, so sometimes Mega's face flickers due to hitting the sprite limit.

    • @pleasedontwatchthese9593
      @pleasedontwatchthese9593 3 роки тому +22

      The MSX, which came out a few years before the NES, also used this trick often of sprite stacking. I believe the first Metal Gear used this. MSX also had color math, which the NES sort of had but it was more on a global level than at the sprite level. For the NES It was often used for pausing the game or a underwater level to tint the screen. On the MSX the color math could be used with sprite stacking to get new colors.

    • @warmCabin
      @warmCabin 3 роки тому +44

      Another fun fact about Mega Man's face graphics: the skin color, white eyes, and black pupil colors are reused for the health pickups, enemy damage flashes, and even some projectiles (at least in mm2). So you could say the iconic lemons are actually flesh balls!
      Plain-colored weapons, like Quick Boomerang and Metal Blade, use this trick to allow more colorful outfits for Mega Man. More colorful weapons, like Air Shooter and Leaf Shield, require Mega Man to match his projectiles.
      As an interesting aside, consider the flashing health and energy pickups, which use Mega Man's palettes. You'd think those are using palette cycling, but they actually have to use two separate graphics to avoid making Mega Man into a strobe monster.

    • @BagOfMagicFood
      @BagOfMagicFood 3 роки тому +16

      This also made the graphics more versatile, since it meant that any facial expression could be slotted in with any pose.
      A sprite even more versatile was Dizzy in The Fantastic Adventures of Dizzy, where not only did he have many face pieces to choose from, but his gloves and shoes were separate objects that could float just anywhere they were needed for any pose. Being separate objects, they had a separate palette from the body, allowing the body to contain _two_ shades of white with black outlines instead of having to share with the red gloves and shoes.

    • @KieferSkunk
      @KieferSkunk 3 роки тому +11

      @@warmCabin Re Mega Man changing colors with the weapons: That's neat! I didn't know that was due to a hardware limitation. Capcom came up with a rather plausible way to spin a limitation into canon, at least for those games. (I haven't played anything in the Mega Man series past MM4, sadly.)

    • @powergannon
      @powergannon 3 роки тому

      Was going to say the same thing. They did a great job with the level of detail for Mega Man

  • @RetroSho
    @RetroSho 3 роки тому +232

    I've always seen that eye flicker effect for years as a child. And when I started playing on emulators it got more pronounced due to the upscaling on an LCD. Always wondered what was going on behind that! Thanks for demystifying yet another interesting aspect of these older games! 😀

    • @johneygd
      @johneygd 3 роки тому +11

      What i did noticed is that on the nes via composite video, mario has black eyes and a black mustage while on a emulator via vga ,mario’s mustage and eyes are just blue, i don’t why it is, but this can be no coicidence i believe nintendo took advantage of the ntsc color artifacts.

    • @Nicholas_Steel
      @Nicholas_Steel 3 роки тому +7

      @@johneygd It depends on the colour palette that the emulator uses. FirebrandX has made a very accurate NTSC colour palette and most NES emulators let you change the colour palette being used. It's not 100% accurate because you'd need something like a 12bit display panel and most LCD screens are 6 or 8 bits so the palette is optimized to look the best on a common LCD display (HDR displays may be 10bits and professional displays may be 12 bits).

    • @KieferSkunk
      @KieferSkunk 3 роки тому +8

      @@johneygd NTSC color artifacts and the properties of the display itself both come into play. Remember that most CRTs aren't exactly great at reproducing the NTSC color spectrum exactly either - not to mention the TV's own controls are likely playing a part as well. I recall the SMB2 sprites having non-black (dark-blue) borders on my old TV, but I always figured that was because the TV's "black" wasn't really black. It was only when I played it on an emulator that I saw it actually being dark blue, and that it was actually different from SMB1.

  • @dogg-paws
    @dogg-paws 3 роки тому +91

    It should be noticed that the SMB2 prototype lacks the extra eye sprites, putting the characters' eyes more like the style shown in SMB3.

  • @HappyBeezerStudios
    @HappyBeezerStudios 3 роки тому +45

    I will always have mad respect to the programmers of that age. Being able to work around the limitations of the hardware to create truly magnificent games. Being able to so tightly manage the limited resources.

    • @sharkofjoy
      @sharkofjoy 2 роки тому +2

      There's still a large amount of current work done in this space, specifically in iot and devices meant for near space flight. Extreme limitations on weight and size are still getting devs to coerce complicated functionality from scarce resources.

  • @vlco_o
    @vlco_o 3 роки тому +92

    Before knowing about this, I though Mario and co. were blinking while going through a door!

    • @Dargonhuman
      @Dargonhuman 3 роки тому +27

      That was my head canon as well - I figured they were going from very bright light to very dim interiors (or vice versa) and were adjusting their eyes.

    • @kemalswimmingsuitswimmingh415
      @kemalswimmingsuitswimmingh415 3 роки тому +12

      Marios eye go like
      😐😑😐😑😐😑😐😑😐😑😐😑😐😑😐😑😐😑😐😑😐😑😐😑😐😑😐😑 XD

    • @Jadamhodges
      @Jadamhodges 2 роки тому +2

      They were….

  • @stevethepocket
    @stevethepocket 3 роки тому +257

    "Your new game just came out."
    "On the NES? It can't render my sprite. I HAVE SPECIAL EYES."
    "Look. Look with your special eyes."
    "MY SPRITE!"

    • @LouieFromPikmin
      @LouieFromPikmin 3 роки тому +1

      What is this a reference to?

    • @literallyn01imp0rtant
      @literallyn01imp0rtant 3 роки тому +7

      @@LouieFromPikmin 1-800-CONTACTS if I remember correctly.

    • @nullvoid564
      @nullvoid564 3 роки тому +1

      @@literallyn01imp0rtant MY BRAND!

    • @noti7510
      @noti7510 3 роки тому +10

      special eyes? on my cartridge?
      it's more likely than you'd think.

  • @MrBizznessMan
    @MrBizznessMan 3 роки тому +145

    1-800-CONTACTS?
    THEY CAN'T HAVE MY BRAND!
    I have special eyes...

    • @lilwyvern4
      @lilwyvern4 3 роки тому +9

      Tali: Look. Look with your special eyes.

    • @devonhooker2332
      @devonhooker2332 3 роки тому +7

      MY BRAND

    • @Bry10022
      @Bry10022 3 роки тому

      I like this comment…

    • @nullvoid564
      @nullvoid564 3 роки тому

      They specialize in special eyes

  • @thefranklin6463
    @thefranklin6463 3 роки тому +41

    Everyone’s eyes may look
    g o r g e o u s

  • @thetreblerebel
    @thetreblerebel 3 роки тому +5

    It still blows my mind with the limits of the NES, of what programmers and creators accomplished

    • @KieferSkunk
      @KieferSkunk 3 роки тому +6

      IMO, coming up with creative solutions in the face of severe limitations is a lost art. Programmers back in the day knew what kinds of limitations they were up against and found really interesting ways to get around them, and many developers today just don't have to worry about it anymore.

  • @Siphonay
    @Siphonay 3 роки тому +86

    I never thought about how this flickering behavior was something completely intended and designed by the game programmers, it makes perfect sense!
    Thank you very much for this videos. As always, informative and easy to follow despite being really technical.

    • @607
      @607 Рік тому

      It doesn't to me, could you explain? Why is this more desirable than simply having the enemy that's in front appear in front?

  • @mystcat3
    @mystcat3 3 роки тому +31

    I've always wondered why Mario's eyes glitch out when he's in a red door and now i know it, great videos btw!

  • @mresturk9336
    @mresturk9336 3 роки тому +6

    All the revisions that went into Doki Doki becoming the western SMB2 is a fascinating discussion. Among other things it was American audiences introduction to Nintendo's powerful MMC3 enhancement chip, which would go on to become the workhorse of second generation NES cartridges (Most future NES games would put this chip to use). In the case of SMB2 it added all the animated backgrounds that were static in Doki Doki Panic, a trick the developers lifted from SMB3's development.

  • @KyoukiJuuno
    @KyoukiJuuno 3 роки тому +19

    I've never actually noticed the eyes flickering until this day, and now I cannot unsee it. Great job video! :D

    • @inlovewithi
      @inlovewithi 3 роки тому

      Just play with Toad. Problem solved.

  • @BokBarber
    @BokBarber 3 роки тому +7

    I always thought the flickering eyes was the characters raising their eyebrows in anticipation of going through the door.

  • @WatanabeNoTsuna.
    @WatanabeNoTsuna. 3 роки тому +2

    I just found this channel on the patrons list at the end of the latest Technology Conections video. 😂 🤣
    That was a great find!!! 💪 👍

  • @sonnyjimbod
    @sonnyjimbod 3 роки тому +3

    I've been working on my first disassembly (Bomber King). I was literally staring at code in the debugger that I had no idea what it did. This video was absolutely serendipitous.

  • @n2n8sda
    @n2n8sda 3 роки тому +23

    Love these videos, so many things that are a lot more involved than they appear.

  • @The-Zer0th-Law
    @The-Zer0th-Law 3 роки тому +18

    They have special eeeeeeyes!

  • @Gunbu
    @Gunbu 3 роки тому +4

    Excellent video! I always thought that the flickering was a glitch or unintentional when enemy characters overlapped each other. Interesting to learn that the sprites were cycling so that they each had a chance to show on screen due to programming!

  • @sierranicholes6712
    @sierranicholes6712 2 роки тому +2

    i always noticed the flickering effect when sprites were overlapping but never understood why that might be happening. this is so interesting, especially knowing that it was a conscious choice made to ensure that no particular sprite in that group had priority over another.

  • @duckhive
    @duckhive 3 роки тому +3

    SMB2/USA sprites are beautiful

  • @GameplayandTalk
    @GameplayandTalk 3 роки тому +3

    So the blinking eye effect was basically a happy accident. That's so cool!

  • @brady9426
    @brady9426 3 роки тому +3

    The frame by frame loaded sprite visualization is really cool, this is good stuff!

  • @mrmimeisfunny
    @mrmimeisfunny 3 роки тому +54

    You don't have to leave a comment about Mega Man's face. There are already a lot of comments about it.

  • @The_Holy_Wooomy
    @The_Holy_Wooomy 3 роки тому +38

    "One doesn't really deserve to be always on top of the other, so to be fair and allow both enemies to show through, the OAM slots that each sprite gets is shuffled every frame."
    We did it boys, we established true equality

  • @obvfw
    @obvfw 3 роки тому +2

    I thought it would be an eye-shaped sprite over top of the player sprite, but having a white square show through from underneath probably saves a few bytes, since it can be reused for the other characters. Very interesting!

  • @mindnomad
    @mindnomad 3 роки тому +1

    aaaaaa it's called sclera!!!!!!!!!!
    On a more serious note, this video was very informative, as your videos usually are. Thank you for making this!

  • @vuurniacsquarewave5091
    @vuurniacsquarewave5091 3 роки тому +11

    Honestly, this sprite system in SMB2 seems to introduce an artificial limitation layer on top of what the system allows. What I mean is, it does not seem dynamic at all, and can't reserve the exact number of objects required to show everything in one frame, so a lot of the "sprite bandwidth" goes unused.

    • @KieferSkunk
      @KieferSkunk 3 роки тому +9

      Well, to some extent that problem existed in Doki Doki Panic as well. That game had some scenes in it where there were just as many sprites on the screen at once, and they had to flicker just the same, though I couldn't tell you if the code cycled the objects in the same way. The eye-transparency trick here does reduce the sprite slots by one, which exacerbates the problem, but the problem was there to begin with, and exists in plenty of other games as well.

  • @AWigglePig
    @AWigglePig 3 роки тому +22

    Mario's *EYE* conic late NES-era sprite design

  • @spicybreadproductions1972
    @spicybreadproductions1972 3 роки тому +4

    I'm surprised you didn't talk about Megaman, seeing how he has five (well, six) colours

  • @GreenCloversGuy
    @GreenCloversGuy 3 роки тому +3

    I'm always amazed by your diagrams and explanations, you really do clarify these abstract programming and design ideas

  • @StefanBrodd
    @StefanBrodd 3 роки тому +3

    Wow, genius! I love how old console games used these "tricks" to get more done that first thought possible!

  • @Moomoo254
    @Moomoo254 3 роки тому +5

    Weirdly enough, I found this channel through NileReds patron list.

  • @annoyedwalrus7803
    @annoyedwalrus7803 3 роки тому +1

    Watching these videos makes me feel a bit like Neo in The Matrix.

  • @therubygemstonetrg
    @therubygemstonetrg 3 роки тому +6

    I would like to know the inner workings of the Game Boy Zelda games.

  • @diacosiapentacontahex
    @diacosiapentacontahex 3 роки тому +7

    I've always wondered how SMB2 did this! This level of clarity is something I never thought I'd learn, yet here you are, solving it in a way that even idiots like me can understand it!

    • @sopix7761
      @sopix7761 2 роки тому

      well, if you were wondering about this then you're not that much of an idiot, don't look so down on yaself

  • @inceptional
    @inceptional 3 роки тому +1

    Dude, you are a legend. I have learned sooo much about all this game stuff from watching your videos, particularly the stuff around the SNES, and I'm learning new things every day as I rewatch each video and understand just a little bit more each time. Major kudos to you.

  • @Dargonhuman
    @Dargonhuman 3 роки тому +2

    Well, huh, not only did I learn why the eyes seem to blink or sparkle, I also learned why sprite flickering happens all in one video.
    This is why I love this channel.

  • @Justin-TPG
    @Justin-TPG 3 роки тому +1

    I guessed this one before you revealed it but the extra information about how OAM works was very interesting, thanks!

  • @RandyLent
    @RandyLent 3 роки тому +8

    I actually genuinely love your content.

  • @Ravenpaw1313
    @Ravenpaw1313 2 роки тому

    The more I see to the "magic" that goes in behind what we consider "simple" games still utterly blows my mind with how much thought, attention, and creativity was needed to pull them off, let alone perform small innovations such as the whites of these sprite's eyes. Fascinating!

  • @unreal-the-ethan
    @unreal-the-ethan 3 роки тому +2

    That little comment about Toad was quite funny to me.

    • @MattRose30000
      @MattRose30000 3 роки тому

      So does that mean that Mario is EATING TOAD HEADS the whole time!?!?

    • @KieferSkunk
      @KieferSkunk 3 роки тому

      @@MattRose30000 Given all the weird things that Mario gets to do when eating them, it's as good an explanation as any. :)

  • @mr.cook5
    @mr.cook5 3 роки тому +2

    this vid was spectacular, great job.

  • @abraveastronaut
    @abraveastronaut 7 місяців тому +1

    It's very funny to me that Toad, who has white as part of his palette already, is the one who doesn't have whites to his eyes. Like it's not worth drawing them unless it takes extra effort to do it.

  • @MaxOakland
    @MaxOakland 3 роки тому +6

    The irony is Toad’s sprite wouldn’t even need an extra sprite but he doesn’t have whites in his eyes

    • @KieferSkunk
      @KieferSkunk 3 роки тому +4

      Yeah, but special-casing for Toad would require a lot more complex code and a lot of extra shuffling around of the OAM, and handling that case dynamically could easily have slowed down the game execution code to the point that it couldn't maintain a steady framerate. (That kind of thing is NOT easy at the machine code level.)

    • @oxybrightdark8765
      @oxybrightdark8765 3 роки тому

      Even if he did, he already has white.

  • @mousermind
    @mousermind 2 роки тому +1

    Look! Look, with your special eyes!

  • @TheYouTubeGame
    @TheYouTubeGame 3 роки тому +1

    Really cool stuff, man. Always look forward to your videos. Thanks for all the work you put into them!

  • @randywilliams6248
    @randywilliams6248 2 роки тому

    These guys were legends back in the day. Any of the old school dudes had to do what they had to do and created so many classic games for millions of people to enjoy due to hardware limitations.
    Not that game design is any easier by anymeans but these boys set the foundation

  • @gatto_furry
    @gatto_furry 7 днів тому

    finally, I wasn't the only one that saw the eyes freaking out!!!

  • @CutieFakeKirby
    @CutieFakeKirby 3 роки тому +1

    Simple,
    Take mario for example,
    There are 2 sections, Background tiles, and sprite tiles, mario actually has four colors: red, blue, gold yellow, and transparent. The white part in the eye is actually transparent, the background tile goes white when the eyes go on the background tile.
    Big brain >:3
    Edit: oh wait the white part is also a sprite

  • @cerjmedia
    @cerjmedia 3 роки тому +8

    7:55 don't know how much time it took to create that but thank you
    I can't wait until Minecraft becomes a "Retro Game" because man I would love this kind of stuff for games like that

    • @jwhite5008
      @jwhite5008 3 роки тому +3

      Minecraft (java edition) already has loads of mods, skins, maps, was decompiled and analyzed countless times, what else would you like?

    • @cerjmedia
      @cerjmedia 3 роки тому +1

      @@jwhite5008 I would like to see this channel analyze in their style. Where every frame has a slot of data showing information, in a similar fassion to what you see at 7:55. If you know of videos or channels that make videos like this for Minecrafts code do let me know!

    • @FakeDomi
      @FakeDomi 3 роки тому

      there's a lot less trickery going on behind the scenes so it wouldn't be even nearly as interesting as games on old, severely limited systems

    • @lev7509
      @lev7509 3 роки тому

      You might be very interested in the classic DOOM games for DOS.
      John Carmack put genius effort to make something like that run on 16-bit DOS computers.
      doomwiki.org/wiki/Entryway

    • @5nefarious
      @5nefarious 3 роки тому

      @@FakeDomi I disagree that it wouldn't be as interesting, but it would be a lot harder to show. Modern games tend to have much more complex logic. Especially a 3D game like Minecraft using tons of procedural generation.

  • @brightsideofmaths
    @brightsideofmaths 3 роки тому

    This is such great content! Thank you :)

  • @dezinfectant
    @dezinfectant 3 роки тому

    Ive been searching for this answer my whole life

  • @niemand7811
    @niemand7811 4 місяці тому

    It was then Capcom and their Mega Man franchise through which they implemented the "more than three colors" rule. Mega Man has in this regard even five visible colors: blue, teal, yellow, black and white. Plus Mega Man has a signature eye blink animation.

  • @Rompler_Rocco
    @Rompler_Rocco 3 роки тому +1

    And just like that, the universe answers my question from over 30 years ago... THANK YOU!!!
    ...Also, may I recommend a very fun, but *very* glitchy, NES game to dissect? DODGE BALL. It used to regularly flicker and slow down to the point where I was sure my nintendo would catch on fire 🏐🏐🔥🚒👍

  • @foolhou2e
    @foolhou2e 3 роки тому +1

    When you asked how this was the day before posting, I thought this might be the answer, but I thought I was wrong because the sprites on the spriter's resource don't reflect this, and I figured the impact on sprite flickering would be more severe.

  • @ScootZMedia
    @ScootZMedia 2 роки тому +1

    The technique is called Sprite stacking and megaman used it as well

  • @WaluigiisthekingASmith
    @WaluigiisthekingASmith 3 роки тому

    I'll never unsee the shuffling. Thanks

  • @trunkit8749
    @trunkit8749 3 роки тому +5

    Is it weird that I was just thinking this a week ago?
    Edit: even weirder is that I thought this was the solution, but thought it was inefficient. Which it is.

    • @art1637
      @art1637 3 роки тому

      What’s even weirder is that your pfp looks kinda familiar, can’t seem to put my finger on it though...

    • @JennBitAlt
      @JennBitAlt 3 роки тому

      @@art1637 why does everyone have this pfp i do not understand please help

  • @Eventlesstew
    @Eventlesstew Рік тому

    Fun fact: Pac-Nan does the same trick for its third cutscene when Blinky is revealed to be a monster by rendering Blinky himself and his cloak as seperate sprites, this also allows the assembled together sprite to look like it was more than 16 pixels wide.

  • @isavenewspapers8890
    @isavenewspapers8890 2 роки тому

    0:00 I need me a partner who talks about me the way Retro Game Mechanics Explained talks about the characters in Super Mario Bros. 2

  • @TehVulpez
    @TehVulpez 3 роки тому +1

    Appropriate video for Halloween. Eyes are haunted.

  • @BriansManCave
    @BriansManCave 3 роки тому

    I guess I will never see this game the same way again ;-)

  • @Crimson-Hat
    @Crimson-Hat 2 роки тому

    Oh this explains how the battle sprites in Mother look. because most of them have more then 3 colors. You can even see extra details being added as the enemy loads in like the chain and collar on the stray dog.

  • @phubans
    @phubans 2 роки тому

    Damn, I feel like I never really noticed the eye flickering when going through doors. I probably just tuned NES sprite flicker out as a kid. But now, thanks to this video, I'm going to fixate on it every time I play SMB2.

  • @Snooty4835
    @Snooty4835 11 місяців тому

    I showed this to my cousin (who has a doctorate degree) this video and he had no clue what you were talking about

  • @sumez4369
    @sumez4369 3 роки тому +1

    One comment in this video kinda sticks out to me.
    The "transparency" from overlapping enemies is _definitely_ not a desired effect, and in fact a pretty notorious quirk in NES programming (but could apply to any similar hardware).
    It would absolutely look a lot better if one shyguy just passed in front of the other, but it's really difficult to create an effecient sprite cycling routine while also maintaining a depth priority maintained by game logic. Even giving the player character priority like SMB2 does has a negative impact on how striking the flickering appears on the remaining objects.
    I think this is especially evident in a belt scroller such as Mighty Final Fight which choses to forego sprite priority in favor of more effecient sprite cycling, despite the fact that sprite priority would make a lot of sense in a game like that.

  • @churroman183
    @churroman183 3 роки тому

    Huh, thanks for making more sense of how old games used to work. I wondered how they managed to up the look from Mario 1 to Mario 2/USA

  • @Lizuma
    @Lizuma 2 роки тому +1

    I was wondering why the eyes flicker when opening a door! Nice explanation for one of my favorite games!
    Also interesting is that the prototype didn't have the whites in the eyes, so they must've been decided to be added in later!

  • @AndreasElf
    @AndreasElf 3 роки тому +1

    If I were good at game programming. It's stuff like this that would be fun to code.

  • @Gamezopher
    @Gamezopher 3 роки тому +1

    I can't wait for part 11 of your main series on hardware registers. Then I wonder what will be your next 'main' series.

  • @robotsturm6488
    @robotsturm6488 3 роки тому +1

    I learn a new trick yo use on my proyects

  • @Flo_Resolution
    @Flo_Resolution 2 роки тому

    On AtariAge, somebody made a Mario walking animation with 4 different types of sprites stacked on top of each other.
    So the "meta sprite" has 12 colors, and looks like something on the Master System

  • @Nat-jf2ge
    @Nat-jf2ge 3 роки тому

    That's interesting, i never know they could draw sprites over / under other sprite layers. Cool video!

  • @PCFROMVCS
    @PCFROMVCS 3 роки тому +1

    All that for a small detail, I can see why SM3 ditched the white eyes

  • @BWGLite
    @BWGLite 3 роки тому +25

    This got me curious! In the Super Mario All-Stars version of Super Mario Bros. 2, even though the characters' whites don't need to be separate anymore, is the object still present?

    • @MaxwelThuThu
      @MaxwelThuThu 3 роки тому +21

      Just saw here on a debugger and nop! Each character is composed of 2 16x16 sprites and nothing more.

  • @elesfinter9753
    @elesfinter9753 3 роки тому +3

    I didn't know the NES could draw sprites on top of other sprites :0
    I'm guessing they used that trick in the exit/enter pipe animation in smb1

    • @mikeax24
      @mikeax24 3 роки тому +1

      Sprites are different from tiles, pipes are most likely tiles

    • @MarioFanGamer659
      @MarioFanGamer659 3 роки тому +1

      Pretty sure Mario is drawn behind the background when he enters the pipe. SMB3, on the other hand, does make use of a masking sprite which goes above Mario but also goes behind the background, thus creating the illusion that Mario goes behind the pipe only but not decorative tiles.

    • @elesfinter9753
      @elesfinter9753 3 роки тому

      @@MarioFanGamer659 I thought the exact same smb3 technique was used in smb1

  • @legolorian3271
    @legolorian3271 Рік тому

    Amazing visual aid

  • @TheRunningLeopard
    @TheRunningLeopard 3 роки тому

    This is the first time I was able to understand what is going on fully, I’m proud of myself lmao.

  • @KieferSkunk
    @KieferSkunk 3 роки тому +10

    A couple things I thought might be worth pointing out:
    You can see the eye-flashing thing most clearly with the door because it doesn't move and doesn't collide. But in theory, there are other cases where it could happen as well. Specifically, if any object were to go behind the player and occupy the same space as the eye-whites, you'd see them flicker then as well, since the whites would be competing for priority with the other objects. (I think the game specifically disallows this - everything collides with each other except the door.)
    You can probably reproduce the eye flicker by making the player stand to the right of two or more of the waterfall logs with their eyes in the same horizontal line as the logs. Since the eye-whites would occasionally be at a lower priority than the logs, they'd hit the 8-objects-per-scanline limit and end up not being drawn. Again, this may or may not be possible or feasible to recreate. The game designers may have built the levels in such a way that you can't make that happen - e.g. no stationary ground low enough for the eyes to overlap vertically with the logs. I'd have to play around with an emulator to see for sure.
    Also, I would say that the Shy Guy overlap-flicker you mentioned at 6:30 is not a matter of "fairness" or a deliberate design decision to show the two characters equally, but rather a simple consequence of the sprite-shuffling design. It has the effect of making both Shy Guys appear roughly equally, but I don't think the devs specifically intended for that to happen.
    Finally, do you know what, if anything, actually used the "Important Item" slot? (#4, to the right of the player character slot.) I don't think I saw it ever populated in any of the examples here, but there are a lot of other scenes in the game. :)

    • @KieferSkunk
      @KieferSkunk 3 роки тому +1

      On standing in line with the logs: It occurs to me that the player could stand anywhere on the screen so long as the eyes are in the same line as the logs. It doesn't have to be to the right of them - the priority order is essentially random.

  • @laurenhahn8569
    @laurenhahn8569 3 роки тому

    The Mega Man games on NES do this too. Mega Man's armor is two shades of blue and black, but his face, as well as bullets, explosions, health power ups, and the faces of other bosses all share a universal black-tan-white color palette. It's a clever way to reuse commonly appearing colors to maximize detail in objects and backgrounds.

    • @williamdrum9899
      @williamdrum9899 2 роки тому

      Some NES games take it one step further and use sprites that either don't move (or move in sync with scrolling) for additional background color. Normally a 32x32 section of tiles MUST share the same palette (or is it 16x16?) but since sprites can use their own distinct palette they can go anywhere and break this limit easily

  • @theoverseer393
    @theoverseer393 2 роки тому

    Man, and here i was used to the higher-end updated graphics without that issue (gameboy advance)

  • @neoasura
    @neoasura 3 роки тому +1

    Funny, because back in the day on crappy TVs, you couldnt even tell the characters had white eyes.

  • @zelirious4504
    @zelirious4504 2 роки тому +1

    I can't view peach as not slightly fed up

  • @ScavengerFX
    @ScavengerFX 3 роки тому

    This is an awesome explanation, Thanks!

  • @IgnatRemizov
    @IgnatRemizov 3 роки тому

    This explains everything!!! Cool video thank you!

  • @JDoucette
    @JDoucette 2 роки тому

    The priority issue is primarily for the limited sprite visibility per row. Secondarily it is for ensuring everything can be drawn beyond the onscreen limit. The draw ordering is only important for the main player character and other important sprites, but not because there is no preferred ordering for enemies. It would be better if their ordering was constant.

  • @PrismariLaura
    @PrismariLaura 3 роки тому

    2:37
    "THEIR BRAND!"

  • @maxgamesst1
    @maxgamesst1 3 роки тому

    Such a high quality channel

  • @alisiaale565
    @alisiaale565 3 роки тому

    When I was younger, I thought that the flashing eyes when the player is in front of a door is just some special animation added to the player, but I didn't know it was actually a glitch, lol.

  • @MagnumCypro
    @MagnumCypro 3 роки тому

    I was waiting for this to be talked about.

  • @swifttt
    @swifttt 3 роки тому

    I always noticed the flickering behind the eyes. At the time, I wasn't so sure why that happened, though. This video helps clear it up, thanks! :D

  • @azforu29
    @azforu29 Рік тому

    I'd love to see someone do a video on the more hardcore detailed games like Vice Project Doom, Ninja Gaiden 1-3, Shatterhand and The Guardian Legend. Just the more high end artwork, not to diminish the artistry here. Its movingly beautiful.

  • @nathann1445
    @nathann1445 3 роки тому +1

    SMB2 mario be jumping in lowercase

  • @sashakvasha1529
    @sashakvasha1529 2 роки тому +1

    Even trog nes colors, Bloop have black cyan and blue, Spike have black light yellow and orange. Big Sprites Bloop have Dark blue blue and white, Spike have Brown Orange and white, even bloop's tongue have black dark pink and pink. Even Original Trog have black light yellow and orange, Red one black light yellow and red, brown one with wheel black light yellow and Brown, jumping green one black light yellow and green