How Do I Move Spawning Actors Separately?

uhyanauhyana Member Posts: 36
edited April 2012 in Working with GS (Mac)
I'm using the method in this video to move one actor spawning multiple times.



It works great, however, when that actor spawns 2 or more times on the screen there is a problem. If the user is touching and holding on the first actor, when the user touches and holds down on the second actor, the second actor moves toward the first one, until the user lets go. Does anyone know how I could have the user able to touch and hold down on multiple spawns of the same actor?

Answers

  • mrglocklingmrglockling Member Posts: 258
    Thats because its the same actor try making seperate actors
  • uhyanauhyana Member Posts: 36
    Yeah, I got that. Do you think there is anyway of doing it with the same actor? Because this actor has a bunch of rules on it and I don't know if duplicating it is the best idea. Plus as the game goes on there are going to be like 5+ of these actors flying around and the user must be able to stop them from falling.
  • uhyanauhyana Member Posts: 36
    Ok I copied those rules on to my actor so now I can hold 2 at the same time. But when I swipe it up the actor will stop moving once I let go, it will not continue like a throw effect. Also when I am holding 2 down and let go of one it moves toward the second actor.

    http://www.mediafire.com/?g6rpc6dof7yt9

    Those are my 2 project files. Preview1 is what my game is like now and the movement is perfectly how I want it, except the user can only touch one at a time. Preview2 is with the multitouch which is good but I want the actors to move like they do in Preview1. Any Ideas?
Sign In or Register to comment.