In my game, when the player fall out the layout, he created a death particule and explode (destroy). After 1 sec he come back to the spawn
Player is outside layout -> call "death"
On fonction "death" ->
set local key "deaths" to int(WebStorage.LocalValue("deaths"))+1
Player spawn particule_Death
Player destroy
Wait 1 sec
object_Spawn spawn Player
[/code:3b0esa3f]
Everything works perfectly but when the player walk on spike :
[code:3b0esa3f]
Player on collision with Spike -> Call "death"[/code:3b0esa3f]
That create a bug :
1rst time particule spawn one time
2nd time 4 particules spawn on death
3rt time 8
4rt time 32
...
That very anoying cause it make the game lag and not so beautiful
[url=http://www.hostingpics.net/viewer.php?id=609066Capturedcran69.png][img="http://img4.hostingpics.net/thumbs/mini_609066Capturedcran69.png"][/url]
I DO NOT understand why with the outside layout it's working perfectly but with spike particules invade my screen
Thank for reading me