Search found 1 match

by crebba
Mon Jul 08, 2013 12:31 pm
Forum: General
Topic: Pause a sprite's movement?
Replies: 3
Views: 2475

Pause a sprite's movement?

Hi,

I want to move a sprite about 20 pixels at a time every second. What would be the best way to do that?

I assume I need to delay the update of sprite.x in the update() function, but how do I let it pause for that 1 second without affecting other sprites that I may have?

Thanks!
Creabba