Stop scene
samuel
Member Posts: 1
Hi guys
Im making a spaceshooter game as the one seen in the video tutorial.
i have two questions.
1.How kan i make my bakground stop moving to the left. it continues to movie after you reched the end of the level.
2. I have made a graphic helth display with help from the tut on the site.
But how do i make them diseperare when you die and how do i make my player to respawn?
Best Regards!
Im making a spaceshooter game as the one seen in the video tutorial.
i have two questions.
1.How kan i make my bakground stop moving to the left. it continues to movie after you reched the end of the level.
2. I have made a graphic helth display with help from the tut on the site.
But how do i make them diseperare when you die and how do i make my player to respawn?
Best Regards!
Comments
For example, game is over by killing 25 enemies. I would do this.
Set a game.attribute called EnemiesKilled (integer)
In your enemy unit, under where he is destroyed, also add a change attribute game.EnemiesKilled + 1.
Wherever you have your rule for background moving, also put if EnemiesKilled < 25.
(then move background)
Under the HP Bar When EnemiesKilled = or > 25 destroy actor.
Etc... I think you see the light now...