Thread: Simple Movement
View Single Post
  #9  
Old 10-06-2007, 08:06 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
I would atleast define the middle of the player ;P

PHP Code:
if ( !( onwall( nx + 1.5, ny + 2)))  {

  
player.x = nx;
  
player.y = ny;
} 
Reply With Quote