Quote:
Originally Posted by Kyranki
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.
