Change Background

bbfy

  • Posts: 1
Hi all,

is there a possibility to change the background programmatically.

I have to change the image and the speed.

As an option can i create an actor in negative X or Y position? and move it down.
What is the best option the create a moveable Background dynamic.

Thank you!

ipe 369

  • Posts: 1001
http://community.stencyl.com/index.php?topic=3466.0
Have a look at rhys's post, post 4. Not sure if this is what you want? You can make the background move by changing it in the editor for example:
Say your game featured the background moving very quickly to the left once the mouse was clicked.
When the mouse is clicked, you delete all the actors on the screen (as if they've just shot past the viewpoint) and change the background to a fast moving one. :)