Can we do animations without using setViewport in Love2d?

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
olegharput
Prole
Posts: 5
Joined: Sun Apr 11, 2021 8:29 pm

Can we do animations without using setViewport in Love2d?

Post by olegharput »

Because setViewport is in not Urn Language bindings.
User avatar
UnixRoot
Citizen
Posts: 91
Joined: Mon Nov 08, 2021 8:10 am

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

Post by UnixRoot »

Why do you use Urn and not just plain Lua? Love2D works great as it is.
User avatar
BrotSagtMist
Party member
Posts: 636
Joined: Fri Aug 06, 2021 10:30 pm

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

Post by BrotSagtMist »

I dont even see why you would need that for animations in the first place.
obey
zingo
Citizen
Posts: 50
Joined: Mon Jan 16, 2023 7:34 am

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

Post 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.
User avatar
zorg
Party member
Posts: 3449
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

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

Post 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.
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: Bing [Bot], Google [Bot] and 3 guests