How do I make an actor be moved automatically?

MichaelSillimanMichaelSilliman Member Posts: 31
edited February 2014 in Working with GS (Mac)
Im making a simple game, since it's my very first and there's a bad guy you have to avoid. How can i make it so he moves back and forth at random continuously?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    How exactly do you want the actor to move? "back and forth at random continuously" could mean that the actor starts in one direction (e.g. left) and then at a random moment switches directons (e.g. right) and then at a random moment switches back, etc. Is that what you want? That type of movement ensures that the actor will eventually move off of the scene unless you have scene wrap enabled.
  • MichaelSillimanMichaelSilliman Member Posts: 31
    Well the "actor" is just an obstacle in the game moving back and forth. I want it going to the right of the screen, turning around, then going to the left of the screen then repeating that. I want the obstacle which is just a dot to do that throughout the whole scene. Do you know how to do that?
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
  • MichaelSillimanMichaelSilliman Member Posts: 31
    Thanks!
  • Shadow_DevelopmentShadow_Development Rocklin, CA. United StatesMember Posts: 85
    Im making a simple game, since it's my very first and there's a bad guy you have to avoid. How can i make it so he moves back and forth at random continuously?
    @MichaelSilliman This discussion should be in the "Tech Support" category. That's ok, just try and remember next time.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2014
    @Shadow_Development, actually Tech Support is for people having comparability issues or other problems affecting being able to run GameSalad at all. The Working with GameSalad or the Windows subforums are the appropriate place for this.
  • MichaelSillimanMichaelSilliman Member Posts: 31
    Oh sorry im pretty new with all this stuff :/
Sign In or Register to comment.