Scene change happens before explosion happens
![jschultzjr](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Making a space invaders type game. when I change scene to a boss scene Instead of the last invader being shot showing an explosion animation and explosion sound it jumps instantly to the boss scene before finishing explosion, etc. I have tried using timer to wait before change scene command and timers for explosions etc. but nothing works....any advice?
Answers
Create a boolean game attribute called level-complete for example, and setted to false by default. When all the enemies were destroyed, change its value to true.
when level-complete == true
after X seconds
change scene
it this doesnt work, it might a gamesalad bug.
when level complete=true
after 2 seconds
change scene
and I see explosions perfectly but no scene change......I've spent almost as much time trying to fix this as I have making the entire program. What am I missing?
if the logic you have above is as you say it is then the only logical conclusion is that level_complete is not true
put a log debugging statement behavior in there and see if it gets triggered.