How do you get the x and y positions of an image?

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.
pighead10
Prole
Posts: 6
Joined: Fri Oct 29, 2010 5:32 pm

Re: How do you get the x and y positions of an image?

Post by pighead10 »

That's because that's different: apparently, the love.graphics.draw() function accepts nil as 0.
Ah...
jbskaggs
Prole
Posts: 17
Joined: Sat Dec 12, 2020 4:20 pm

Re: How do you get the x and y positions of an image?

Post by jbskaggs »

Robin that really helped me understand a similar problem I was having. So nil doesnt equal zero- that is helpful to me.
User avatar
zorg
Party member
Posts: 3436
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: How do you get the x and y positions of an image?

Post by zorg »

jbskaggs wrote: Tue Dec 15, 2020 6:13 pm Robin that really helped me understand a similar problem I was having. So nil doesnt equal zero- that is helpful to me.
However true that might be, please don't necropost into 10 year old threads.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests