[Solved] Issues with the tile based scrolling tutorials.

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.
Post Reply
User avatar
Ryne
Party member
Posts: 444
Joined: Fri Jan 29, 2010 11:10 am

[Solved] Issues with the tile based scrolling tutorials.

Post by Ryne »

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
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Issues with the tile based scrolling tutorials.

Post by thelinx »

It's most likely because you don't have the "tile" images somewhere. Take a look at love.load.
User avatar
Ryne
Party member
Posts: 444
Joined: Fri Jan 29, 2010 11:10 am

Re: Issues with the tile based scrolling tutorials.

Post by Ryne »

I figured out the issue was with reducing the tile number without changing the map, stupid mistake :ultrahappy: . Thanks for the reply!
@rynesaur
User avatar
arquivista
No longer with us
Posts: 266
Joined: Tue Jul 06, 2010 8:39 am
Location: Insert Geolocation tag here
Contact:

Re: Issues with the tile based scrolling tutorials.

Post by arquivista »

Ryne, Lovelike evolved from that tutorial if u interested
http://love2d.org/forums/viewtopic.php?f=5&t=1942
--------------------------------------------------------
To Do: Insert Signature Here
--------------------------------------------------------
Post Reply

Who is online

Users browsing this forum: No registered users and 60 guests