3 ms·
I once did a project scripting AI for Mario on SMB1 on an emulator, and I watched the game's memory pages as I did so I could learn more. To my surprise, I saw
by eutropia 7y ago
I once did a project scripting AI for Mario on SMB1 on an emulator, and I watched the game's memory pages as I did so I could learn more. To my surprise, I saw the pages of arrays of hex bytes in the memory mirroring what I saw on the level, the layout was very literally transferred directly. When Mario moved, the current screen and the next one were clearly visible scrolling by in memory, which different hex bytes representing different tile types.
- conception 7y agoYou get used to it, though. Your brain does the translating. I don't even see the code. All I see is blonde, brunette, redhead.
- neurostimulant 7y agoThey used that tiling system all the way up to NDS IIRC. I remember tinkering with gameboy advance homebrew programming back then trying to implement infinite scrolling and it works just like you described.