Skip to main content
June 14, 2008
Question

Making some thing move twords something else?

  • June 14, 2008
  • 3 replies
  • 499 views
I am making a ship style shooter like geometry wars and asteroids. I want the enemy ships to move twords he players hip. How would I do this?
Thank you.
This topic has been closed for replies.

3 replies

kglad
Community Expert
Community Expert
June 15, 2008
then you should start working through some basic flash tutorials or hire someone to code this for you. you're undertaking a project that's beyond your current capability.
kglad
Community Expert
Community Expert
June 15, 2008
what don't you understand?
June 15, 2008
well
everything. I know basic movie control in action scripts and thats it.
kglad
Community Expert
Community Expert
June 14, 2008
use a loop to update the screen objects. calculate the direction of the player's ship (using Math.atan2(playership._y-enemyship._y,playership._x-enemyship._x) to determine the direction).
June 15, 2008
I dont understand. sorry I am somewhat new to actionscript.