Home Games WIP Examples User Dir Affiliates Forums IRC FAQ Rules Terms Register

Username:
Password:
Guests: 14
nodata1010110:40
Cesque10:37
Mordi10:34
Grand-High Gamer10:33
Metroid Style Map System
This is the map system Iīm using in my project. It describes the game map using strings in arrays.

This example includes my map editor, itīs not fancy but it works.

I hope this can help in your projects.

DOWNLOAD NOW
Information
Language:
Author:
Date:
Downloads:
Comments:
Rating:
GM 6
DoctorM64
Mar 26, 2008
287 (Broken)
19
8.9 (13 votes)

Really nicely done, I can't really see any flaws. 10/10
#1 Posted by Jaxx on March 26, 2008 at 05:15 pm


Marvelous. I'm probably using this.
#2 Posted by miky on March 26, 2008 at 08:17 pm


Mmm.
Better than mine, 9/10
#3 Posted by PY on March 26, 2008 at 08:26 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.
#4 Posted by sir Xemic on March 27, 2008 at 09:50 am

Ok after some further research I understand why you used strings for certain stuff. It's good. =P
#5 Posted by sir Xemic on March 27, 2008 at 10:58 am

Nice work :) 10/10
#6 Posted by samuraikill on March 27, 2008 at 12:04 pm

Wonderful!
#7 Posted by TWAL INT on March 28, 2008 at 08:10 am

The only problem I see is that there is no set room transition system, but that isnt too big of deal 10/10
#8 Posted by Alert Games on March 28, 2008 at 12:31 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.
#9 Posted by RetroX on March 28, 2008 at 06:17 pm

Quote
Don't just rate things 10/10 when you don't even open them
Maybe you're right, but why do you think that?

Also, am I the only one who gets this?
(zoomed in)
#10 Posted by sir Xemic on March 29, 2008 at 01:19 pm

He's rated every single example he's commented on a 10/10.
#11 Posted by RetroX on March 29, 2008 at 05:05 pm

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.
#12 Posted by KNZone2 on April 01, 2008 at 11:11 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
#13 Posted by Moikle on April 02, 2008 at 11:32 am

Thank you for your feedback everybody!
C-Ator9, thatīs really strange. When I moved from GM6 to GM7 the opposite was happening (rectangles were 1px bigger, lines were too low/right). I guess Iīll have to switch to sprites.
As for the editor coding style, it was done in a rush, just to make the game map. Thank you for the advise!
#14 Posted by DoctorM64 on April 03, 2008 at 07:39 pm

Maybe it's just my graphics card which decides how to draw the lines.
#15 Posted by sir Xemic on April 05, 2008 at 07:07 pm

Ooo it was really good, too bad im not making a metroid game, nice nevertheless

9/10
#16 Posted by DSDownload on April 22, 2008 at 08:15 pm

very nice, i will definitely use in some sort of game yet to be decided.
#17 Posted by hypercube1 on August 09, 2008 at 10:10 pm