Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
General Discussion

Automapping with the Tiled map editor

findingme
Thursday, April 17, 2014 - 08:58

I've been trying unsuccessfully to figure out the secret behind automapping with Tiled. I would like to replace a generic 'grass' tile with other tiles depending on its neighbors. The file I uploaded (at this link http://www.mediafire.com/download/cen5e9f15003y7p/Objects.zip, since apparently I can't attach .zip files) with map2.tmx and rules.tmx describes what I've done so far; I'm trying to replace the black square in map2.tmx with the black square with a boundary. But when I automap, nothing occurs, not even an error. What could I be doing wrong?

  • Log in or register to post comments
Stefan Beller
joined 13 years 2 months ago
Thursday, April 17, 2014 - 09:24

Hi findingme,

the rule looks fine.

However in the map2.tmx there is only a layer "Tile Layer 1", but the the rule is looking for "grass" layers.

 

  • Log in or register to post comments
findingme
joined 11 years 2 months ago
Thursday, April 17, 2014 - 14:53

Oh, so that was it! I feel silly and relieved at the same time. Thanks a bunch!

  • Log in or register to post comments
Stefan Beller
joined 13 years 2 months ago
Thursday, April 17, 2014 - 14:55

nevermind, feel free to ask away.

  • Log in or register to post comments
findingme
joined 11 years 2 months ago
Thursday, April 17, 2014 - 16:12

Huh? No, I mean, changing the name from 'Tile Layer 1' to 'grass' fixed all of my problems.

  • Log in or register to post comments
William.Thompsonj
joined 12 years 2 weeks ago
Friday, April 18, 2014 - 03:34
William.Thompsonj's picture

Hey findingme, I also struggled with automapping. I went through their wiki and found some useful information when I first started using Tiled, it was pretty helpful. Don't know if you've seen the wiki but here's a link:

https://github.com/bjorn/tiled/wiki

There is a link on there about automapping if you want to learn more. There are videos and quite a bit of useful documentation. The version number might be out-dated but it's still quite useful and relevant.

  • Log in or register to post comments