View Single Post
  #3  
Old 09-25-2003, 05:51 PM
FreezeBurnX FreezeBurnX is offline
Registered User
FreezeBurnX's Avatar
Join Date: Jul 2003
Location: Belo Horizonte - Brasil
Posts: 296
FreezeBurnX is on a distinguished road
Send a message via AIM to FreezeBurnX Send a message via Yahoo to FreezeBurnX
Quote:
Originally posted by TribulationStaff
instead of playerx!=x I would use a distance checker.

In case you don't know:
distance=sqrt((change in x)^2+(change in y)^2);

I would make sure to deal with the change in coordinates from the center of the image and the center of the player.
But playerx!=x is inside of a flag and distance=sqrt((change in x)^2+(change in y)^2); is suppose to be beetween {} since you put a ";" at the final, right? It accused an error.
Reply With Quote