I am just trying to make a draggable pie, but I keep getting this error:
Code: Select all
Error
main.lua:33: Incorrect paremeter type: expected userdata.
Traceback
[C]: in function 'draw'
main.lua:33: in function 'draw'
[C]: in function 'xpcall'
Code: Select all
Error
main.lua:33: Incorrect paremeter type: expected userdata.
Traceback
[C]: in function 'draw'
main.lua:33: in function 'draw'
[C]: in function 'xpcall'
Code: Select all
love.graphics.draw(pie, imgx, imgy)
Code: Select all
image = love.graphics.newImage("pie.png"),
Code: Select all
love.graphics.draw(pie.image, imgx, imgy)
Users browsing this forum: Awarre, Google [Bot] and 2 guests