Computer AI

GingerBGamesGingerBGames Member Posts: 390
edited November -1 in Working with GS (Mac)
Does anyone know a way for me to make an actor(computer controlled) to come from the top/botton/right of the screen and go to the middle of the screen? I want to have a pond and the player cast his/her line in the pond, have 3 (computer) actors drop their lines in as well, each time a fish hits their hook, it goes up to their respected start area, and then, comes back down without the fish on the line.

Each fish will be worth a certain amount of points, whom ever has the most points when the time expires, wins. I have my actors, I just don't know how to get this to work. Frustrating!

The player will only need to tap his/her line in order to cast, so when player taps the line, each time to throws out the line (like fly-fishing).

Comments

  • synthesissynthesis Member Posts: 1,693
    Use the accelerate toward or move to position behaviors. Have the target location be 240x and 160y (screen center).
  • GingerBGamesGingerBGames Member Posts: 390
    Thank you for your response.
    Would that be for all three position of the screen?
    Player 1 (human) from left to right
    Player 2 (pc) from top to bottom
    Player 3(pc) from bottom to top
    Player 4(pc) from right to left
Sign In or Register to comment.