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

SDL Tile MAP Question


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
2 replies to this topic

#1 MoBaT   Members   -  Reputation: 115

Like
0Likes
Like

Posted 03 February 2013 - 03:10 PM

I got a question for how should I be creating my tilemap. Should I make it where I just draw the map myself and then specify the spots where different collisions are like what this guy did: http://a248.e.akamai.net/camo.github.com/28e1bb15d28335f2d7763576debf5543cf6a255b/687474703a2f2f6b656e2d736f66742e636f6d2f696d616765732f7a656c64612f7a656c6461392e706e67

 

Or should I make it where I just draw the map based on:
1:0 1:1

0:1 0:1

 

Where the first part is the map tile id and the second is if it's a certain item like a hole, water, solid etc.



Sponsor:

#2 Servant of the Lord   Marketplace Seller   -  Reputation: 8943

Like
0Likes
Like

Posted 03 February 2013 - 07:26 PM

That image you linked to looks like it's a tile map editor - if it is a tile map editor, he didn't draw the map, he used and editor to place tiles, and the editor likely saves the map in a format similar to what you suggested.

 

You could use a pre-built editor like Mappy or Tiled. It'll require several days to figure out how to load the maps they generate, but it'd probably be worth it for the speed and ease of creating your maps.


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


#3 Plethora   Members   -  Reputation: 404

Like
0Likes
Like

Posted 04 February 2013 - 11:20 AM

Just a thought for ya:

 

One of the first "programs" I ever coded with the intent to do anything was my own tile map editor, it's genuinely not all that hard to make a simplistic one and as I learned at the time 90% of the code used to display, save, and load your maps can be reused easily in the game you make to use the maps, so its not even all that much "extra" time to create one.


I'm working on a game!  It's called "The Village and the Nation".  Check it out if you'd like... its an ambitious project but I am extremely dedicated to it and I love how things are going thus far.  By all means, give me some feedback.

 

http://infinityelephant.wordpress.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