Map Editor

BlitzMax Forums/BlitzMax Programming/Map Editor

RetroRusty(Posted 2005) [#1]
Does anyone know of a nice map editor for a 2D platform game, that has some BlitzMax code on how to load a map?

Thanks


GW(Posted 2005) [#2]
'Mappy' is what your looking for.
i know there is some b3d/b+ code to handle the maps somewhere.

There is platform map editor that comes with the bmax samples.


Eric Draven(Posted 2005) [#3]
TileStudio ( http://tilestudio.sourceforge.net/ ) is very good too. You can customize the output file(s) it genarates and is not difficult to load the maps in any language. There are examples for BlitzBasic it the website, and I made functions for loading and drawing the maps in BlitzMax in a couple of hours.


DaY(Posted 2005) [#4]
could you share the code as i would also like to now how this is done? <noob here ;) >


RetroRusty(Posted 2005) [#5]
I would like to see the code for this as I'm a newbie :)

Thanks


Eric Draven(Posted 2005) [#6]
Hi, here is the code along with the TSD file: http://www.doug2k.oi.com.br/TSDemo_EN.zip


DaY(Posted 2005) [#7]
Thx Alot :)


RetroRusty(Posted 2005) [#8]
Thanks for the code :)

Have you tried getting collision working with Tile Studio and BlitzMax? Is it easy to do it?

Thanks


Muttley(Posted 2005) [#9]
You absolute star Eric, I was just about to start looking into doing that myself and you've saved me loads of time. :)

Thanks

Muttley


Eric Draven(Posted 2005) [#10]
Have you tried getting collision working with Tile Studio and BlitzMax? Is it easy to do it?

I haven't tried yet, but the bounds information of each tile is exported and saved in the bounds attribute of the TSMapCell object.
The following TileSTudio tutorial shows you how to interpret the bound codes: http://tilestudio.sourceforge.net/tutor.html


CoderLaureate(Posted 2005) [#11]
Dude!

You are a god!