How to make a spawner from different scenes work at the same time?
Pencil Kraken Games
Member Posts: 42
Let's say I have a spawner in scene number 1. It will spawn a square after 15 seconds.
Now I start the game
I pressed a button to bring me to scene number 2 after only 5 seconds.I stayed at the
scene for 20 seconds.Now I press a button to return to scene 1.The square which is
supposed to spawn did not spawn.
So how do I get the spawner to work even when I am in another scene?
I hope you know what I mean.
Now I start the game
I pressed a button to bring me to scene number 2 after only 5 seconds.I stayed at the
scene for 20 seconds.Now I press a button to return to scene 1.The square which is
supposed to spawn did not spawn.
So how do I get the spawner to work even when I am in another scene?
I hope you know what I mean.
Comments
The only thing I can think is you would have to track your times as game attributes and then maybe you could base all of your spawning off those.
Another option would be an all in one scene game where you are only moving the camera position to show a new level. Though this method.is not very good from a performance standpoint.
Sorry to be the bearer if bad news...
Here's a very quick demo:
http://www.mediafire.com/?h64fxwzruwj5l4a