why images are shaking?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
dll1024
Prole
Posts: 2
Joined: Fri Feb 17, 2012 12:48 am

why images are shaking?

Post by dll1024 »

i am making my first game with love2d
in my game islands goes down in screen, but it seems they are shaking!
can anyone tell me why? :huh:
Attachments
1945.love
(11.81 KiB) Downloaded 145 times
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: why images are shaking?

Post by Lafolie »

It looks fine on my computer. You appear to be using deltatime so... *looks at code*

Hmm, have you considered using math.floor on the x/y positions of the islands? This might solve the issue. Drawing stuff at non-integer values can cause somewhat odd behaviour.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
User avatar
Tesselode
Party member
Posts: 555
Joined: Fri Jul 23, 2010 7:55 pm

Re: why images are shaking?

Post by Tesselode »

Looks perfectly fine to me.
dll1024
Prole
Posts: 2
Joined: Fri Feb 17, 2012 12:48 am

Re: why images are shaking?

Post by dll1024 »

my game in 3 pc!
see FPS and water background in all three.
what is this? :-&
Attachments
3.png
3.png (39.18 KiB) Viewed 2114 times
2.jpg
2.jpg (32 KiB) Viewed 2114 times
1.jpg
1.jpg (101.62 KiB) Viewed 2114 times
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests