Hey!
I've been trying love for the past few days (one has got to do something in the work breaks) and I can't seem to find a way to draw an animation inverted in relation to the Yy axis. Do I have to have separate animations for left/right facing character?
Thank you!
Animation drawing
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Animation drawing
Ah yes, we have discussed this but the idea passed from our minds a long time ago.. not sure if we have any plans of implementing this anytime soon. Do we, rude?
Now posting IN STEREO (where available)
Re: Animation drawing
Hello, and welcome. 8-)
That is only a matter of scaling with negative values ... or a least I thought so until I tried it. The sprite has a horrible tendency to disappear when one value is negative and not the other. Great.
It will be fixed in 0.2.1, of course, but until then you'll have to use separate animations for left/right.
That is only a matter of scaling with negative values ... or a least I thought so until I tried it. The sprite has a horrible tendency to disappear when one value is negative and not the other. Great.
Code: Select all
function draw()
-- This was supposed to work.
love.graphics:draw(anim, x, y, 0, -1, 1)
end
-
- Prole
- Posts: 2
- Joined: Wed Feb 27, 2008 12:11 pm
Re: Animation drawing
Yeah,I tried that -1 trick before posting.
Glad I pointed out a valid bug! LOVE is really fun to toy with
Glad I pointed out a valid bug! LOVE is really fun to toy with
Re: Animation drawing
It's really helpful.incognito54 wrote:Glad I pointed out a valid bug!
I remember testing negative scaling just before the 0.2.0 release, but I obviously forgot to test it with only one negative value.
Re: Animation drawing
Oh, and here you will find tons of rpgmaker sprites, backgrounds and stuff you can happily use without rpgmaker.
And rude, Everything doesn't seem to have any moderators, maybe you just need to assign yourself as one.
And rude, Everything doesn't seem to have any moderators, maybe you just need to assign yourself as one.
Teh Blog -> http://cryodreams.com.ar
Re: Animation drawing
Fleg figured it out. Needed to set rights on the Administrators group.
Who is online
Users browsing this forum: Bing [Bot] and 4 guests