Thread: angle of player
View Single Post
  #13  
Old 08-17-2003, 08:40 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
*punches self in eye*
should be
dx = newposx - playerx
dy = newposy - playery

and prolly have to subtract the sinus of the angles, since as Gil said Graal's y grid is upside down in comparison to common grids

*goes back to the nullifying effects of tv*
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote