Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

2D tile map editor with binary output


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 makuto   Members   -  Reputation: 436

Like
0Likes
Like

Posted 26 December 2012 - 10:41 AM

Hi! I've been working on a tile map system for my 2D games (using SFML). The system assumes there will be only 255x255 possible tiles, with 256,256 reserved for a blank/transparent space (useful for layering), as well as any special binary file characters (like EOF).

 

I'd rather not implement a tile map editor myself as it is just reinventing the wheel.

 

Is there a free, Linux-compatible tile map editor that I can make output the data how I want it to be outputted? In this case that means one file with a 1D array of two chars per tile. I want to be able to load the file with the least amount of interpretation code possible.

 

Am I better off just making my own simple editor?



Sponsor:

#2 makuto   Members   -  Reputation: 436

Like
1Likes
Like

Posted 26 December 2012 - 11:20 AM

Never mind, I found this thread that answered my question.



#3 Servant of the Lord   Marketplace Seller   -  Reputation: 8955

Like
1Likes
Like

Posted 26 December 2012 - 01:11 PM

If you can't find a tile editor that has the exact map format you want, you can always use the editor anyway and make a command-line tool to convert the maps for you.


All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.

Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal


#4 Khatharr   Members   -  Reputation: 1575

Like
0Likes
Like

Posted 26 December 2012 - 02:40 PM

Ooh. Nice link. I always used SotL's method. I never thought to shop around for one.


void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

#5 makuto   Members   -  Reputation: 436

Like
0Likes
Like

Posted 26 December 2012 - 08:17 PM

I just spent a few hours wading through the code for a Tiled map parser. Let's just say I decided to roll my own editor.

 

This isn't completely bad; I do get the experience and something that works dynamically in game.



#6 Dan Mayor   Members   -  Reputation: 1626

Like
0Likes
Like

Posted 26 December 2012 - 08:39 PM

    If your project isn't on a rushed deadline I would always suggest building your own custom tile editor.  It's good practice and gives you a little better core understanding of the collision and positioning systems that your using.  If nothing else your editor should be easier for your developers as it would cater directly to the project it's intended for.


Digivance Game Studios Founder:

Dan Mayor - Dan@Digivance.com
 www.Digivance.com





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS