Reply to Re: How will Dink lose weight?
If you don't have an account, just leave the password field blank.
it's schack on swedish - that's chess in English
Anyway. If you want Dink to move, you can use:
move_stop(1, direction, destination-x or destination-y, 1);
where direction is 2 (down), 4 (left), 6 (right) or 8 (up) (see numpad) and destination-x or -y is the coordinate where Dink will stop. So:
move_stop(1, 8, 20, 1);
will make Dink (1) move up (8) to y-coordinate 20 (20) and he can walk through hardness (1).
Now, you want Dink to move to x=337 and y=301. You'll have to check where Dink is currently standing and then use the correct movement commands to get him there (if his posistion is below that, let him move up and so on).
In addition, if you want the &knight1 and &knight2 sprites to move, you should just set their speed to 1 as they can't move without a speed. Note that sp_base_walk and sp_speed have &oldman instead of &knight1 or &knight2.

Anyway. If you want Dink to move, you can use:
move_stop(1, direction, destination-x or destination-y, 1);
where direction is 2 (down), 4 (left), 6 (right) or 8 (up) (see numpad) and destination-x or -y is the coordinate where Dink will stop. So:
move_stop(1, 8, 20, 1);
will make Dink (1) move up (8) to y-coordinate 20 (20) and he can walk through hardness (1).
Now, you want Dink to move to x=337 and y=301. You'll have to check where Dink is currently standing and then use the correct movement commands to get him there (if his posistion is below that, let him move up and so on).
In addition, if you want the &knight1 and &knight2 sprites to move, you should just set their speed to 1 as they can't move without a speed. Note that sp_base_walk and sp_speed have &oldman instead of &knight1 or &knight2.