Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 19:56:48 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 [2]   Go Down
  Print  
Author Topic: Metroid (NES) source code released -  (Read 7893 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #15 on: 25 April, 2010, 07:29:34 »
0

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: 25 April, 2010, 07:33:48 by DJ Omnimaga » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Zera
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 31 July, 2010, 09:18:05
Date Registered: 14 January, 2010, 08:23:21
Posts: 742


Topic starter
Total Post Ratings: +71

View Profile
« Reply #16 on: 26 April, 2010, 08:27:11 »
0

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. Tongue
Logged



A strange man walks up to me in the saloon, when I'm working, and asks me to marry him; and I say, "I cannot marry thee, for I have a love who sails the deep, salt seas; and though he's been gone these seven years, no man shall marry me; for what if he has died, or in some battle slain; or drowned in the deep salt sea; or found another love; and he and his new love both married be? If that is so, I wish them both health and happiness that burns across the sea." He looks at me and kisses me and says, "Weep no more, my own true love, for I am your long-lost love."
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #17 on: 26 April, 2010, 08:39:29 »
0

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.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Eiyeron
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 07 January, 2013, 20:29:04
Date Registered: 09 August, 2011, 16:51:22
Location: Err 404.
Posts: 552


Total Post Ratings: +18

View Profile WWW
« Reply #18 on: 23 March, 2012, 16:25:37 »
0

FOr example the infinie Stairs in SM64...
Logged




aeTIos
You got stair'd!
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 16:54:39
Date Registered: 15 September, 2010, 06:00:00
Location: Netherlands, Overijssel
Posts: 3121


Total Post Ratings: +120

View Profile
« Reply #19 on: 23 March, 2012, 17:57:30 »
0

Woah read time stamps bro, it's almost been 2 years since the last post here.
Logged

If something above sounds rude, feel free to vote it down, it was not meant to be rude<<lolol
--Always stay relAXEd!--


Spoiler for Hidden:


[







Spoiler for Still Alive:
This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive
stevon8ter
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 20:28:46
Date Registered: 22 March, 2012, 18:23:00
Location: In my house :o Belgium
Posts: 629


Total Post Ratings: +10

View Profile
« Reply #20 on: 23 March, 2012, 17:59:26 »
0

LOL

indeed Tongue Tongue Tongue
Logged

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
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #21 on: 23 March, 2012, 22:32:48 »
0

Wow quite the necropost indeed. I guess it doesn't help that this forum section barely has any discussion, though. X.x
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.37 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.