
09-25-2003, 05:44 PM
|
|
Registered User
|
Join Date: Jul 2003
Location: Pennsylvania
Posts: 368
|
|
|
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. |
|
|
|