Sign in to follow this  

scrolling image(Urgent)

This topic is 4262 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I just want to scroll a image on canvas but when i use a loop it is scrolling at time fro top to bottom,but my intention is to scroll it slowly ,iam able to scroll back ground image but ineed to scroll the front end image.I require some help regarding this issue(urgent).

Share this post


Link to post
Share on other sites
You need to move the image based on time elapsed, either by moving it a fixed distance every <your chosen time interval> or by figuring out every frame how much time has elapsed and moving it a suitable number of pixels.

Try searching for more information using the search terms "time based movement", or "fixed update rate".

Share this post


Link to post
Share on other sites
Sign in to follow this