1st Post - New to GS - Need help with scrolling background
JAMills
Member Posts: 2
Hello All,
New to GS and working through the templates and tutorials.
Working on the PC version 10.0
I have a Shooter project I started.
Iphone Landscape
I want a scrolling background of mountains
to do this i created 2 actors and gave them images I made in PS
Sky 470px X 320 px
Mountains 1440px X 320px
I gave the Mountains Actor a MOVE rule (Direction 180 Speed 30)
I set the scene to Wrap X
This worked great till I added a Spawner Actor to generate Enemy Actors, then I realized that they also would wrap if not destroyed before they went out of the view screen
If I turn off the Wrap X for the scene then the mountains eventual run out instead of wrapping
Can someone tell me how to either
1. Destroy the Enemy Actors once they have left the screen
2. make the Mountains Actor Wrap X not using the Wrap X setting for the Scene
Thanks
Josh
New to GS and working through the templates and tutorials.
Working on the PC version 10.0
I have a Shooter project I started.
Iphone Landscape
I want a scrolling background of mountains
to do this i created 2 actors and gave them images I made in PS
Sky 470px X 320 px
Mountains 1440px X 320px
I gave the Mountains Actor a MOVE rule (Direction 180 Speed 30)
I set the scene to Wrap X
This worked great till I added a Spawner Actor to generate Enemy Actors, then I realized that they also would wrap if not destroyed before they went out of the view screen
If I turn off the Wrap X for the scene then the mountains eventual run out instead of wrapping
Can someone tell me how to either
1. Destroy the Enemy Actors once they have left the screen
2. make the Mountains Actor Wrap X not using the Wrap X setting for the Scene
Thanks
Josh
Comments
I just figured out how to destroy using a Timer rule
I will look into the Static Background idea as I progress. I am just playing with templates and small projects to get familiar with GS.
GS App design is going to be a fun to learn....