Metroid Style Map System

by DoctorM64


Posted on March 26, 2008 at 6:51 PM







Jaxx commented March 26, 2008 at 9:15 PM
Really nicely done, I can't really see any flaws. 10/10
miky commented March 27, 2008 at 12:17 AM
Marvelous. I'm probably using this.
PY commented March 27, 2008 at 12:26 AM
Mmm.
Better than mine, 9/10
sirxemic commented March 27, 2008 at 1:50 PM
Works flawlessly. However, your way of coding is a bit awkward. I have found a lot of things which aren't necessary, and things which could be optimized much.
For example. You used strings for variables which you only give the values "0", "1" etc. Why not just numbers? And when you want to store them to a string you use string(...), while they already are strings.
Also,
with(oMapBlock) {x+=8
myposx=x/8
myposy=y/8
}
Could be changed to:
with(oMapBlock) {x+=8
myposx+=1
}

The reset_map script uses two the same loops. Why don't you use one loop?

There are a few other things as well. But I can conclude that you didn't optimize your code.

I'm still giving you a 9 because it's great nontheless.
sirxemic commented March 27, 2008 at 2:58 PM
Ok after some further research I understand why you used strings for certain stuff. It's good. =P
samuraikill commented March 27, 2008 at 4:04 PM
Nice work :) 10/10
TWAL INT commented March 28, 2008 at 12:10 PM
Wonderful!
Alert Games commented March 28, 2008 at 4:31 PM
The only problem I see is that there is no set room transition system, but that isnt too big of deal 10/10
RetroX commented March 28, 2008 at 10:17 PM
TWAL INT, STFU. Don't just rate things 10/10 when you don't even open them just to get friended, because you get hated. 'nuff said. Anyways, this is awesome. 10/10 for brilliance.
sirxemic commented March 29, 2008 at 5:19 PM
Don't just rate things 10/10 when you don't even open them
Quote
Maybe you're right, but why do you think that?

Also, am I the only one who gets this?
(zoomed in)
RetroX commented March 29, 2008 at 9:05 PM
He's rated every single example he's commented on a 10/10.
KNZone2 commented April 02, 2008 at 3:11 AM
But, Retr OX, it is awesome.

Very nice map system. I like it. I'll see if I can modify it for my personal uses. Thanks very much.
Moikle commented April 02, 2008 at 3:32 PM
nice, but i found one coding error, when you move the mouse to the left, or above the window, it comes up with an error
DoctorM64 commented April 03, 2008 at 11:39 PM
sirxemic commented April 05, 2008 at 11:07 PM
Maybe it's just my graphics card which decides how to draw the lines.
DSDownload commented April 23, 2008 at 12:15 AM
Ooo it was really good, too bad im not making a metroid game, nice nevertheless

9/10
hypercube1 commented August 10, 2008 at 2:10 AM
very nice, i will definitely use in some sort of game yet to be decided.