Page 1 of 1

Can we do animations without using setViewport in Love2d?

Posted: Wed Jul 26, 2023 3:30 pm
by olegharput
Because setViewport is in not Urn Language bindings.

Re: Can we do animations without using setViewport in Love2d?

Posted: Wed Jul 26, 2023 6:03 pm
by UnixRoot
Why do you use Urn and not just plain Lua? Love2D works great as it is.

Re: Can we do animations without using setViewport in Love2d?

Posted: Wed Jul 26, 2023 11:11 pm
by BrotSagtMist
I dont even see why you would need that for animations in the first place.

Re: Can we do animations without using setViewport in Love2d?

Posted: Wed Jul 26, 2023 11:23 pm
by zingo
I've never seen an issue with the way animations are usually done in Love2d and Lua. Actually, I wasn't even aware of "setViewport"...or in what sort of instance one would use that regarding animations.

Re: Can we do animations without using setViewport in Love2d?

Posted: Thu Jul 27, 2023 5:35 am
by zorg
As i said in a previous thread regarding the same issue from this person, there's only one setViewport function, and it's for Quads. Usually it's not needed since you would usually just make as many quads as you have animation frames.