Hey, so I am new to Love and Lua. Ive programmed in other languages before but it seems some of this is over my head. So ive been trying to learn by using the available tutorials and I started with
http://www.explodingrabbit.com/forum/en ... al-01.669/
Ive made it to the 4th part without too many problems but I just ran into one that I just cant figure out.
Every time I try running the game I get this error:
player/Player.lua:146: attempt to index field 'tl' (a nil value)
now Im sure i just overlooked something but if anyone has some insight could you please help.
Im trying my best to get a grasp on this stuff but sometimes I just don't quite understand.
Thanks Much for your help.
platform Tutorial help
Re: platform Tutorial help
Welcome on the Forums
looks like a typing fault in line 146. look on your code.. maybe you wanted to type "lt" for "love.timer" instead of "tl" or something like that ?
looks like a typing fault in line 146. look on your code.. maybe you wanted to type "lt" for "love.timer" instead of "tl" or something like that ?
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: platform Tutorial help
There's a reason why error messages exist ; it's so that you can identify where and what the problem is. Oh and, please add a .love file when you ask for help.
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
Re: platform Tutorial help
Yes, I'm WAY too late, but the problem is because you are using a new version of ATL(AdvancedTiledLoader). Yes, a new version, not old one. I had the same problem! Watch a guy called Goature on YouTube. Look at his platformer tutorial and download his files from Part 4. Copy + Paste his version of ATL into your game folder.
Hope this helped, even though I'm like 6 months late
Hope this helped, even though I'm like 6 months late
"In those quiet moments, you come into my mind" - Liam Reilly
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 3 guests