Author Topic: Metroid (NES) source code released  (Read 26775 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Metroid (NES) source code released
« Reply #15 on: April 25, 2010, 01:29:34 am »
Yeah. Heck, even with calc games we do this sometimes. In Metroid II: Evolution, certain map data is used several times in a row, for example if you fall in a huge pit. In Illusiat 13, if I didn't do that with the Desert and the 4th Dimension dungeon, the game wouldn't even fit on a regular 83+ if it ever got finished.

In some old Illusiat games, the same map data was used for multiple dungeons too. For example, in Illusiat 11, the fire, ice and bolt dungeons are identical except the ASCII sprite palettes (which contains 2 tiles for the dungeon, 1 for the battle floor and one for the event triggering tile) were not the same accross all 3 dungeons. In Illusiat 10, there are twin towers somewhere. One is the magic tower and the other is the strenght tower. Both are exactly the same, even the tile palettes. Fortunately the entire game is not like this so only certain parts can be repetitive. Also those dungeons are generally very small (1x8 rooms, usually). This is always done to save space and stuff, not really because of laziness. Sometimes the limitations at the time are just too much.
« Last Edit: April 25, 2010, 01:33:48 am by DJ Omnimaga »

Offline Zera

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 737
  • Rating: +82/-7
  • Monochrome Artisan
    • View Profile
Re: Metroid (NES) source code released
« Reply #16 on: April 26, 2010, 02:27:11 am »
Quote
In Metroid II: Evolution, certain map data is used several times in a row, for example if you fall in a huge pit

Heh. I didn't know that. I wonder how that's accomplished.

I only recently worked out the whole logic in infinite corridors: Place a teleporter toward the ending boundary, and have the player (unknowingly) teleport back to an earlier point in the corridor over and over. :P

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Metroid (NES) source code released
« Reply #17 on: April 26, 2010, 02:39:29 am »
Oh for example, my maps are split by columns. Each subprogram containing map data contains one column. If there's a huge pit somewhere, instead of doing

If A=1
map data
If A=2
map data
If A=3
map data
If A=4
map data
If A=5
map data
...
If A=20
map data
If A=21
map data

If for example the repetitive maps ranges from row 2 through 5 (row being A), I'll do the following instead:

If A=1
map data
If A>1 and A<6
map data
...
If A=20
map data
If A=21
map data

Saving a lot of memory

And yeah what you say about infinite corridors is how they works. I think some of my games uses such method. Instead of moving one map forward it just loops back.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Metroid (NES) source code released
« Reply #18 on: March 23, 2012, 10:25:37 am »
FOr example the infinie Stairs in SM64...

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Metroid (NES) source code released
« Reply #19 on: March 23, 2012, 11:57:30 am »
Woah read time stamps bro, it's almost been 2 years since the last post here.
I'm not a nerd but I pretend:

Offline stevon8ter

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 663
  • Rating: +10/-0
    • View Profile
Re: Metroid (NES) source code released
« Reply #20 on: March 23, 2012, 11:59:26 am »
LOL

indeed :P :P :P
None of my posts are meant offending... I you feel hurt by one of my posts, tell me ... So i can appoligise me and/or explain why i posted it


Hi there, I'm the allmighty (read as: stupid, weak...) STEVON8TER

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Metroid (NES) source code released
« Reply #21 on: March 23, 2012, 04:32:48 pm »
Wow quite the necropost indeed. I guess it doesn't help that this forum section barely has any discussion, though. X.x