Reply to Re: need some help
If you don't have an account, just leave the password field blank.
July 28th 2010, 05:47 PM

developer


just for testing purposes, i have now done this:
i have checked and when pushing it the first time, &location has value 355. but the script never runs this part when pushed for the second time:
i have worked with some editors before but this engine doesnt seem to make much sense...
void main(void) { int &direction; &location = sp_x(¤t_sprite, -1); sp_speed(¤t_sprite, 1); sp_hard(¤t_sprite, 0); draw_hard_map(); } void push(void) { if (&location > 350) { move(¤t_sprite, 6, 400, 1); draw_hard_map(); } if (&location < 351) { move(¤t_sprite, 6, 355, 1); draw_hard_map(); &location += 5; } }
i have checked and when pushing it the first time, &location has value 355. but the script never runs this part when pushed for the second time:
void push(void) { if (&location > 350) { move(¤t_sprite, 6, 400, 1); draw_hard_map(); }
i have worked with some editors before but this engine doesnt seem to make much sense...