The Dink Network

Reply to Re: Y cordinate

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 7th 2003, 07:40 PM
fairy.gif
The command is like this:
move_stop( int sprite, int direction, int destination, hardness);, so here's how it works. If you want the sprite to move left, you'd put 4 for int direction. Then Destination is based on the direction; for 4 and 6, you use X coords; for 8 and 2, y coords. So if you wanted Dink to move left from, say, x = 300 to x = 100, you'd do this:
move_stop(1, 4, 100, 1);