Animation getWidth, getHeight return zero

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
zapwow
Prole
Posts: 48
Joined: Fri Oct 24, 2008 11:37 pm

Animation getWidth, getHeight return zero

Post by zapwow »

Is it just me, or do getWidth() and getHeight() always return zero until an Animation's update function is called? Is this a feature? :nyu:
Attachments
getwidth.love
(18.97 KiB) Downloaded 97 times
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Animation getWidth, getHeight return zero

Post by rude »

Probably NOT a feature.
Post Reply

Who is online

Users browsing this forum: No registered users and 45 guests