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
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 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.
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?
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.
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 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.
Comments
http://www.jamie-cross.net/?portfolio=gamesalad-recipe-007-enemy-behavior-patrolling