request. IMAGE instead of USERDATA

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.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: request. IMAGE instead of USERDATA

Post by T-Bone »

slime wrote:It already does that:

Code: Select all

love.graphics.draw("cat.png", 10, 10)
LÖVE wrote:Error: main.lua:1: bad argument #1 to 'draw' (Drawable expected, got string)
I take everything back. My bad :P
Post Reply

Who is online

Users browsing this forum: No registered users and 73 guests