Camera problem

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
Gunroar:Cannon()
Party member
Posts: 1085
Joined: Thu Dec 10, 2020 1:57 am

Camera problem

Post by Gunroar:Cannon() »

The camera is shaky when following the rect in this example.
What could be the problem?
Attachments
lovegame.love
(9.5 KiB) Downloaded 183 times
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
pgimeno
Party member
Posts: 3541
Joined: Sun Oct 18, 2015 2:58 pm

Re: Camera problem

Post by pgimeno »

That's something that you should ask the library author about, but I can say that setting camera:setFollowLerp(0.2) solves it for me for these zoom levels.
User avatar
Gunroar:Cannon()
Party member
Posts: 1085
Joined: Thu Dec 10, 2020 1:57 am

Re: Camera problem

Post by Gunroar:Cannon() »

Aw, man. Camerax should be azzzznn(?) or young neer, I think their both offline (though I could be wrong).
Thanks for the "fix", strangely it works now :? atleast with the compulsory 0.2 lerp :cry:
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
zorg
Party member
Posts: 3435
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Camera problem

Post by zorg »

If you mean "Stalker-X" then that was indeed by ad(o)n(ac)(zzzzzzz...).
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.
User avatar
Gunroar:Cannon()
Party member
Posts: 1085
Joined: Thu Dec 10, 2020 1:57 am

Re: Camera problem

Post by Gunroar:Cannon() »

zorg wrote: Mon Oct 11, 2021 5:19 am If you mean "Stalker-X" then that was indeed by ad(o)n(ac)(zzzzzzz...).
Oh, yes. adnzzzzzzz ( is the white color thing compulsory...like in his name?)
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
zorg
Party member
Posts: 3435
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Camera problem

Post by zorg »

that's the cruft that's not needed anymore :P
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] and 15 guests