how to? make stage and background unlimited
i want to make my game stageand background unlimited when when my player character moves to the right
how can i do that?
i wouldlove a sample code
btw my background is a movieclip
Thanks
i want to make my game stageand background unlimited when when my player character moves to the right
how can i do that?
i wouldlove a sample code
btw my background is a movieclip
Thanks
Hi,
you know - stage has finite dimensions (max dimensions) in Flash runtime:
http://kb2.adobe.com/cps/496/cpsid_49662.html
but I assume you're looking for something called parallax scrolling ![]()
You could start with entry article (Flash/actionScript + source files + demo) here:
http://active.tutsplus.com/tutorials/games/add-depth-to-your-game-with-parallax-scrolling/
(the car - actor in game - moves to the right and background scrolls during that movement, etc)
hth,
regards,
Peter
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.