Page 1 of 1

just finished a 2d map editor

Posted: Wed Jul 12, 2006 7:22 am
by michael520
Just finished a 2d map editor using GDI+, cost me about one day.

functions: tile-based maps, you may edit values of each tile of a tileset, specify the dimensions of the tileset, import/export map data to file.
operate method: changed values by mouse left/right button, zoom the view by wheel, pan the view by middle button.

As having searched the internet for a long time not found any suitable tiled editor,I made my own one.
Now, I may edit my map for the A* algorithm...
though it's a 2D soft, but can be used for 3d projects if the terrian is a 2D plane.
I am going to make it open source when not busy.

Posted: Wed Jul 12, 2006 9:05 am
by TheGameMaker
any screens???
maybee you could writte a own Map api, which is independent from irrlicht etc, and gives the possibility to load a map, and find a wayfrom tile[m][n] to tile [p][q]....

Posted: Wed Jul 12, 2006 3:09 pm
by Halan
do you think i can use it for my tile based 3d map?
because i worked on one myself but it is very basic...

Posted: Thu Jul 13, 2006 3:33 am
by michael520
I want to put some screen shot but the forum doesn't support uploading images. :cry:

Halan, I think it's suitable.

TheGameMaker, your idea is perfect!
Infact, i decided to put the drawing as the reference background image and then you may editing the tileset more easily.

Posted: Thu Jul 13, 2006 5:18 am
by Joe_Oliveri
You could use photobucket.com I want to see some screens sounds nice. :)

Posted: Thu Jul 13, 2006 5:53 am
by michael520
OK, I uploaded the image! thank you Skaterx29527.

Image

Image


I haven't finished the UI yet, so I only capture the view area of the editor.

Posted: Thu Jul 13, 2006 5:18 pm
by Halan
i really need a look at your source :D

Posted: Fri Jul 14, 2006 1:08 am
by michael520
Halan wrote:i really need a look at your source :D
please see your inbox of the forum, and contact with me by msn messenger.

Posted: Sun Jul 23, 2006 2:29 am
by Human Shield
How do the tiles store data? Can they be referenced from Irrlicht or targeted with the mouse?

Posted: Mon Jul 24, 2006 2:14 am
by michael520
Human Shield wrote:How do the tiles store data? Can they be referenced from Irrlicht or targeted with the mouse?
It stores a pointer pointed to a custom data structure.
Yes, It uses mouse to draw.