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.