Thread: Damn move()
View Single Post
  #6  
Old 01-22-2007, 06:30 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Chompy View Post
And, for better, and smooth movement (time wise),
use this:

PHP Code:
dist = ( dx dy 2) ^ 0.5;
movedxdydist tilespersecondflags); 
Yay basic geometry! One of the few equations from Geometry I actually remember.

But yeah, I never really liked move(). Not for any particular reason really...o.o.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote