Posted 07 December 2011 - 06:38 PM
They move the speed i want, but it looks like they are inching along the screen in a jittery/jumpy fashion. I believe it is because it's moving such a small increment per step, but how can I make the motion appear smoother while maintaining the same speed?
Posted 07 December 2011 - 06:46 PM
You could try increasing the game speed (eg. to 60 fps instead of 30), or increasing the speeds of all objects so that the clouds move at hspeed 1.
Posted 07 December 2011 - 07:35 PM
That would result in the same problem. 'x += .2' each step is the same as 'hspeed = .2'
instead of using hspeed, use the x coordinate...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users