Reply to Re: Movin' Sprite
If you don't have an account, just leave the password field blank.
Well... no, not really.
move_stop(1, 6, 225, 1); will move it to the right to x-coordinate 225. There's no real command for relative movement (like move 225 pixels from where I stand). You'll have to use a variable to get around this:
int &crap = sp_x(1, -1);
//1 in previous line means Dink. -1 means "retrieve value"
&crap += 225;
move_stop(1, 6, &crap, 1);
move_stop(1, 6, 225, 1); will move it to the right to x-coordinate 225. There's no real command for relative movement (like move 225 pixels from where I stand). You'll have to use a variable to get around this:
int &crap = sp_x(1, -1);
//1 in previous line means Dink. -1 means "retrieve value"
&crap += 225;
move_stop(1, 6, &crap, 1);