The Dink Network

Reply to Re: Is it possible to move a sprite diagonally in a cut scene?

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:
 
 
July 8th 2008, 01:52 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
Yes, you use directions 7, 9, 1, and 3. And when you move it like that, you use the X coordinate. Not that that makes much sense, but I guess...

move_stop(1, 9, 320, 1);

The first number is the sprite or whatever (1 = Dink). The second is the direction (9 = diagonal-north-east). The third number is the X coordinate to move Dink to. Basically, the Engine takes care of this, as long as you put in some number, Dink will move diagonally toward that spot. And, the last number is 1. It doesn't have to be, but I generally set it as that to avoid bugs. (1 means the sprite will move through hardness. 0 means he'll stop at hardness).

I know it's kind of all over the place, but you understand?