http://www.headchant.com/2012/01/06/tut ... ve-part-1/
I'm trying to use this tutorial to use Tiled in LOVE2D. After simply attempting to apply the principles, I finally broke down and ended up copypasting the code into my file word for word just to see if I could get it to work. What's weird is that the document provided works just fine, but not my copy of it. It's certainly possible that my code is messing it up, but my code is solid as long as I leave the tutorial stuff out of it.
I have the latest version of Tiled, and I opened and saved both maps in it. I suspected the tutorial might be outdated, but for some reason the tutorial file still works but mine does not.
The error I'm getting is: attempt to index field 'tl' (a nil value). Curiously, I see no reference to 'tl' anywhere else in the whole code (which would explain why it is 'nil') and yet it works fine on the tutorial.
I'm planning to sell this game at some point or put it on Kickstarter, so I'm not asking anyone to do my work for me, but can someone who uses Tiled tell me what the "proper" syntax for this tutorial would be on the latest version of Tiled?
Tiled tutorial help
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- GungnirDev
- Party member
- Posts: 119
- Joined: Thu Jun 28, 2012 10:31 pm
Tiled tutorial help
Bullets are the beauty of the blistering sky
Bullets are the beauty and I don't know why
Bullets are the beauty and I don't know why
- GungnirDev
- Party member
- Posts: 119
- Joined: Thu Jun 28, 2012 10:31 pm
Re: Tiled tutorial help
Bullets are the beauty of the blistering sky
Bullets are the beauty and I don't know why
Bullets are the beauty and I don't know why
- DaedalusYoung
- Party member
- Posts: 413
- Joined: Sun Jul 14, 2013 8:04 pm
Re: Tiled tutorial help
I don't know, but on that very page, people ask about the tl value in the comments.
And although I just had it open, for some reason, it's not loading the page anymore, but I'd say read those comments.
And although I just had it open, for some reason, it's not loading the page anymore, but I'd say read those comments.
Re: Tiled tutorial help
You need to actually use an old version of ATL(AdvancedTiledLoader), because the new version does not have the tl value.
Watch a tutorial by Goature linked below and download his assets to get the old version.
Also, I have a tutorial for you on Tiled if you want to use it.
Goatures tutorials: http://www.youtube.com/watch?v=Mz6E9A8Xm84
General Tiled Collision: http://higherorderfun.com/blog/2012/05/ ... atformers/
http://www.explodingrabbit.com/forum/en ... al-01.669/ -- Watch all 5 or 6 guides
Hope these help!
Watch a tutorial by Goature linked below and download his assets to get the old version.
Also, I have a tutorial for you on Tiled if you want to use it.
Goatures tutorials: http://www.youtube.com/watch?v=Mz6E9A8Xm84
General Tiled Collision: http://higherorderfun.com/blog/2012/05/ ... atformers/
http://www.explodingrabbit.com/forum/en ... al-01.669/ -- Watch all 5 or 6 guides
Hope these help!
"In those quiet moments, you come into my mind" - Liam Reilly
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 6 guests