how to make actor chase by another actor

premvijay89premvijay89 Member Posts: 7
edited June 2012 in Working with GS (Mac)
Curently im doing a platform game in gamesalad,my question will be how to make a character(monster) chase a character(hero) on the platform field.....need help guys....thank u

Best Answer

  • UtopianGamesUtopianGames Posts: 5,692
    Accepted Answer
    You can use the move to command but you will need to constrain the hero's X & Y position to a real attribute so the enemy knows where to go.

    You can also use magnitude to determine the distance between the hero and enemy and a self start X & Y on the enemy so if the hero is so far in front the enemy will go back to its starting position.

    Darren.

Answers

  • master200012master200012 Member Posts: 372
    Use writable tables. See JohnPatimois (or something...I forgot his name!)'s template about rewinding time to get ideas about following one position after another.
  • Sportsguy831Sportsguy831 Member Posts: 5
    Hey Darren, can you explain on how to constrain the enemy to the hero (as an example)? I am new at this and need help for my game.
    Thanks
Sign In or Register to comment.