So following up on my previous post. I found some good information on 2D game engines, not an RPG engine but its a start:http://gpwiki.org/index.php/SDL:Tutoria ... e_Overview
Now I was wondering where I could find information on making a map editor that was able to save files which can then be read by the engine. Thanks :D (P.S) I am not making an RPG I am just learning about game design.
Map Editors
Moderator: Coders of Rage
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Map Editors
Well, the save/load thing is basic file input/output. The making an editor part would be hard. Hopefully Marcel has some references for you and hopefully he finds time to get on the forum again ;)
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: Map Editors
I believe that LusikkaMage has some sort of tutorial or something on the subject somewhere. She also has boobs.
Re: Map Editors
mmm.. i usually make a base game engine, then make two divverent versions. one thats the game, and one that just hase functions that you can use to place objects in the world space.
i usually have one big class that something like level, or world or something to that nature. then once i have populated that class with my editor, i write that entire class to a binary file. then use the game to load that file. it works fine, its fast. and alot more compact that doing xml or something like that.
i usually have one big class that something like level, or world or something to that nature. then once i have populated that class with my editor, i write that entire class to a binary file. then use the game to load that file. it works fine, its fast. and alot more compact that doing xml or something like that.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
Re: Map Editors
^, note then you also dont have to include the texture files or anything like that.
so you would save everything into a file like lvl01.lvl and it will be like 2675KB
but have all your textures, sound, map data, everything you need for that specific map. and its really easy to load the bin file into a object again.
so you would save everything into a file like lvl01.lvl and it will be like 2675KB
but have all your textures, sound, map data, everything you need for that specific map. and its really easy to load the bin file into a object again.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"