Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help,
read this .
Ryne
Party member
Posts: 444 Joined: Fri Jan 29, 2010 11:10 am
Post
by Ryne » Wed Oct 20, 2010 2:07 am
Hi, I've been trying to follow the tile based tutorials and I seem to be getting some errors. Using the exact code from
http://love2d.org/wiki/Tutorial:Fine_Ti ... _Scrolling I get this error:
Code: Select all
Error
main.lua:111: Incorrect parameter type: expected userdata.
Traceback
[C]: in function 'draw'
main.lua:111: in function 'draw'
[C]: in function 'xpcall'
Could anyone help?
Last edited by
Ryne on Sat Oct 23, 2010 3:55 am, edited 1 time in total.
@rynesaur
thelinx
The Strongest
Posts: 857 Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden
Post
by thelinx » Wed Oct 20, 2010 5:35 am
It's most likely because you don't have the "tile" images somewhere. Take a look at love.load.
Ryne
Party member
Posts: 444 Joined: Fri Jan 29, 2010 11:10 am
Post
by Ryne » Wed Oct 20, 2010 6:23 am
I figured out the issue was with reducing the tile number without changing the map, stupid mistake
. Thanks for the reply!
@rynesaur
arquivista
No longer with us
Posts: 266 Joined: Tue Jul 06, 2010 8:39 am
Location: Insert Geolocation tag here
Contact:
Post
by arquivista » Wed Oct 20, 2010 8:15 am
Ryne, Lovelike evolved from that tutorial if u interested
http://love2d.org/forums/viewtopic.php?f=5&t=1942
--------------------------------------------------------
To Do: Insert Signature Here
--------------------------------------------------------
Users browsing this forum: No registered users and 60 guests