spawn actors
hi, i have a problem with the spawn attribute, lets say i have actor1 and when i do a double tap actor2 appears and actor1 disappears and that goes on until actor3 but when i double tap in actor3 to go back to actor1 the game freezes , so anyone knows how to make actor1 spawn from actor3 without having the game freeze
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
ACTOR 1
> rule
--- ACTOR receives TOUCH is PRESSED
-constrain attribute-- game.tap1-to-game.tap1+1
-otherwise-- timer --AFTER .5s --game.tap1-to-0
>rule
--ATTRIBUTE - game.tap1 = 2
--destroy this actor
--spawn actor 2 in the place of actor 1
and so on for the other actors until it reaches actor 4
ACTOR 4
>rule
--- ACTOR receives TOUCH is PRESSED
-constrain attribute-- game.tap4-to-game.tap4+1
-otherwise-- timer --AFTER .5s --game.tap4-to-0
>rule
--ATTRIBUTE - game.tap4 = 2
--destroy this actor
--spawn actor 1 in the place of actor 4
and then the game freezes with actor 1