scene reset problem ???
Sas-dj
Member Posts: 46
i have a shooting game
when i die in a level and I'm shooting at the time of dieing
when i restart the level I'm still shooting for about a sec before the level resets
can anyone please shed any light on this problem please
thanks in advance
Comments
@Sas-dj Are you using interpolate to shoot? Once interpolate starts, it doesn't tend to stop until it's completed its task.
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
no ... when you restart level its not the bullet you see ....its the sound & the animation
If you are using a Game Level Attribute to trigger the shooting, you'll need to manually resent that during the Scene Reset. Game Level Attributes are not reset during the Scene Reset Behavior.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
im not using game level attribute
Something isn't getting reset. Check what you have going on at the game level as to attributes.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
i know what you mean .....ive looked & checked ... cant see it .... it doesn't do it if i don't use reset scene... its like theres a little delay on reseting the scene
and it only does it if i destroy actor at game over
is there anyway to stop actor at game over without destroying it???
You could change the actors X and Y locations to a location off-screen. You also mention it lasts for a second, what about adding a timer behavior to wait for that 1 second before resetting the scene?
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
ok ill try that .......no i need scene to reset quicker not slower