RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
Multiple Protagonist: Unbridled Pirate Destiny (Dev Log)
 
Post new topic Reply to topic Goto page Previous  1, 2 
View previous topic - View next topic  
Author Message
Nephilim
Mage


Joined: 20 Jun 2002
Posts: 414

PostPosted: Fri Aug 05, 2005 7:19 pm    Post subject: [quote]

One trick you can do with Tiled is to have a tileset that includes a 'blocker' tile. If Tiled supports alpha-channelled tilesets (can't remember off the top of my head), then you can make a 25% red wash or something, and then just draw in a walkability layer with the red tile, which would give you an easy, visual way to define walkability. Your exporter could then look at the value of that layer and if it saw a blocker, multiply the terrain tile by -1.

When I was tinkering with Tiled before, I used a similar trick to define script trigger areas - I simply made a tileset that had numbers on each tile, which I could paint with to make areas that trigger scripts - the map just stores a number in that layer, and I look up the script based on the number in an externally-managed script database.
_________________
Visit the Sacraments web site to play the game and read articles about its development.
Back to top  
Post new topic Reply to topic Page 2 of 2 All times are GMT
Goto page Previous  1, 2 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum