View Single Post
  #23  
Old 09-01-2007, 12:00 AM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Quote:
Originally Posted by Kyranki View Post
So what's the best calculation then Storm?
For movement systems, I have always used...
NPC Code:
temp.cx = player.x + 1.5;
temp.cy = player.y + 2;


Which give the center of the players base (thats the area which blocks against walls). Add/subtract 1 from those positions to find the respective edges of this region.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote