Reply to another bug......
If you don't have an account, just leave the password field blank.
I need this lightning bolt to damage people;
int &stkx = sp_x(&current_sprite,-1);
int &stky = sp_y(&current_sprite,-1);
&stkx += 10;
&stky -= 33;
int &bolt = create_sprite(&stkx,&stky,0,960,1);
sp_touch_damage(&bolt,55);
sp_que(&bolt,200);
sp_range(&bolt,40);
sp_seq(&bolt,960);
sp_kill(&bolt,600);
It looks good, but does not do the damage. I also tried hurt(&current_sprite,50); but it crashed. Anyone see somethin' wrong here?
int &stkx = sp_x(&current_sprite,-1);
int &stky = sp_y(&current_sprite,-1);
&stkx += 10;
&stky -= 33;
int &bolt = create_sprite(&stkx,&stky,0,960,1);
sp_touch_damage(&bolt,55);
sp_que(&bolt,200);
sp_range(&bolt,40);
sp_seq(&bolt,960);
sp_kill(&bolt,600);
It looks good, but does not do the damage. I also tried hurt(&current_sprite,50); but it crashed. Anyone see somethin' wrong here?