Jump to content
  • Advertisement
Sign in to follow this  
biotachyonic

Tile Editor(games)

This topic is 4831 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I have been working on an RPG game engine that will take an array like:
char test_map[10][3][10] = {
		{ 
			"    3     ",
	      		"    3     ",
	                "    3     " },
		{	"2222222222",
			"          ",
			"22     222" },
		{	"3333333333",
			"3333333333",
			"3333333333" }
	};
There are three layers, a regular tile layer, a layer for alpha tiles(transparent images), and an Event layer. I have looked at serveral map editors, but none of them use a format that I would like, and it seems that for them to work I would have to modify the source code. What I think I need, is an easy GUI development kit, that I can use with C or Perl, as those are the only languages I know. Just so you know I'm not working without tools, here is the source, it is a uuencoded tar file. I know it has nothing to do with my question, but there could be someone who finds it useful. # Save this document to a textfile named: murphy.txt
[ $ uudecode murphy.txt; tar -jxf engine.tar.bz2 ]
[ $ gcc -o render render.c `allegro-config --libs --cflags` ]
# This will work with pretty much any bmp you have, so if you want to make your own tiles go for it, oh. # usage: render dump.bmp # I have another program that will take 64x64 tiles and compile them into an image like dump.bmp, if you care. begin-base64 644 render.tar.bz2 QlpoOTFBWSZTWSAP4IoAcGL///99J//6///f//////////////////////// //////8I4B2/AAADRQoEgABIFSSkBIAAAAFAAAJVCiCUKQkKoAoAAAAAAAAQ AAAAAAAAAaAGgAAAAAABoAaGjQAGgAAAAADIAAAABoAANGTQCUQhGQyEaaBP Sek9Kb0jCnphMjTKPJPKm8JRk8p7KBtU8ofok9T0TTTyA1HqBpiejUB6mgem UDagBoAaA0G01MgAAAZpHoQAAAAAAAAAaAGgAAAAAABoAaGjQAGgAAAAADIA AAABoAANGTQIAAAAAAAAANADQAAAAAAA0ANDRoADQAAAAABkAAAAA0AAGjJo EAAAAAAAAAGgBoAAAAAAAaAGho0ABoAAAAAAyAAAAAaAADRk0AVFIIJAIZTB iZE9Bop4AmVPU9TzKajymyamwJPNA1T09KbaTKeKfqmeUyg8U8EZTyT2hT0T 0xpNJ6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ZJWCmDVQzZmbNmrNmmGbRmM2jRUVk0VMzBmzFSs2Qy KrJKpkZs2SkM0wzJGGEwaKrNMgrBkYTJJWTJkMMmFYKVgwlKmDIyGSqyTJky MmSqqowGEwYTCpXCkkE9SgfiqR4yoSTeqJGFVREnqVII4SkkJopCJOBUUqIn 1VRUqSSMKJPrqSKUBhSFFSVUR9dSqiqqoKoMFBKqSqkJ69Q/ypQZKIlKkSfL SpEMKiqkqkHuVVUJMIpFVKpSpI/GVE/TUjJRJxFQYQUT8sqVUiZKkJ8RSqki YVEfy1VSDApCqkqkaFe/KI+QqJmUFUamGBJ8gqJhSSqKUJ+0/NYSNqsxUlSi pUh+gomxkkwSPtKB/8UGakkf3VBhUT+wpIj9JUkyVJJuVEkmFIk8pRBKoEG5 KiqQdSVJJNFKrCiYUSqwsSSFLEkkMIcwQkQf/xdyRThQkCAP4Io= ==== [Edited by - biotachyonic on August 25, 2005 7:00:07 PM]

Share this post


Link to post
Share on other sites
Advertisement
Ok, that array looks more like this in the source:
char test_map[10][3][10] = {
{
" 3 ",
" 3 ",
" 3 " },
{ "2222222222",
" ",
"22 222" },
{ "3333333333",
"3333333333",
"3333333333" }
};

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!