The Dink Network

move_stop

June 4th 2003, 05:58 PM
fairy.gif
Ok, so I'm probably just making some insanely dumb mistake... but for some reason, when this section of the intro is run, it freezes up just after &fire is created.

wait(400);
say_stop("something is said!", 1);
int &fire = create_sprite(200, 271, 11, 506, 1);
move_stop(&fire, 6, 303, 1);
sp_active(&fire, 0);
sp_active(&person, 0);
int &thing = create_sprite(360, 271, 16, 335, 1);
say_stop("some more things are said!", 1);
wait(400);

So, uh, the fireball doesn't move, and the game ceases. It doesn't like hit anything that prevents it from reaching its destination, it just *doesn't move*. Whyfor?
June 4th 2003, 07:46 PM
knightg.gif
WC
Peasant He/Him United States
Destroying noobs since 1999. 
The fire ball needs a timing so it 'animates', and a speed set so it can move.

wait(400);
say_stop("something is said!", 1);
int &fire = create_sprite(200, 271, 11, 506, 1);

sp_seq(&fire, 506);
sp_timing(&fire, 0);
sp_speed(&fire, 6);

move_stop(&fire, 6, 303, 1);
sp_active(&fire, 0);
sp_active(&person, 0);
int &thing = create_sprite(360, 271, 16, 335, 1);
say_stop("some more things are said!", 1);
wait(400);
June 4th 2003, 07:54 PM
fairy.gif
Thank you. You've half-solved my problem. However, now the fireball just animates in place, but still will not move across the screen to the destination. Yes, I've quadruple checked to make sure that there's no hardness blocking it (I think it's set to move through hardness anyways, isn't it?)... I'm so confused.