Spawn actor problems

CoinCoin Member Posts: 1
edited November -1 in Working with GS (Mac)
Hello

I have made a soundboard app where a actor is a graphic with text on it. I have set it up so that when the actor is pressed the sound speech is played and the original actor is destroyed allowing a blood splatter actor to replace its position along with a sword swipe actor.

So the sequence is a bit like this

Actor board off screen.
Move actor into position on screen
Actor is pressed – destroy actor.
Change actor for sword
Play sword swipe sound
Change actor for blood
Spawn actor 1 (left side of sliced board)
Spawn actor 2 (right side of sliced board)

Here is my dilemma..

I have created this actor a split into two separate actors (As I want them cut in two like a sword). I can destroy the original actor (that's easy) and put the sword swipe actor on top. I have also managed to get the two separate actors to plot in the replacement position on screen after the sword has swiped so that it looks whole but I want them now to split apart and fall down the screen and then the original board to move back into its original position.

Does anyone know a good way of getting the boards to fall apart in a random arc and then get go back to the original instruction of the actor board moving back into its original position.

Any help would be fantastic as the app is finished but I wanted to polish it up a bit.

Thanks guys.
Sign In or Register to comment.