Reply to Re: Current Sprite
If you don't have an account, just leave the password field blank.
Replace this part:
int &newhole = create_sprite(&csx,&csy,0,sprite seq 860,sprite frame 1);
{
sp_seq(1, 860);
sp_frame(1, 1);
sp_nocontrol(1, 1); //dink can't move until anim is done!
}
with this:
int &newhole = create_sprite(&csx,&csy,0,860,1);
sp_seq(1,860);
sp_frame(1,1);
sp_nocontrol(1,1);
//I haven't testet whether or not this change is neccessary, but it's definitly prefered.
And move the sp_touch_damage(¤t_sprite,0); further upward, this construction *might* cause a problem (probably not, but it's better to move it upward anyway)
Cypry: The load_screen(); doesn't do anything with a parm, it's not forbidden to type your favorite number there...
int &newhole = create_sprite(&csx,&csy,0,sprite seq 860,sprite frame 1);
{
sp_seq(1, 860);
sp_frame(1, 1);
sp_nocontrol(1, 1); //dink can't move until anim is done!
}
with this:
int &newhole = create_sprite(&csx,&csy,0,860,1);
sp_seq(1,860);
sp_frame(1,1);
sp_nocontrol(1,1);
//I haven't testet whether or not this change is neccessary, but it's definitly prefered.
And move the sp_touch_damage(¤t_sprite,0); further upward, this construction *might* cause a problem (probably not, but it's better to move it upward anyway)
Cypry: The load_screen(); doesn't do anything with a parm, it's not forbidden to type your favorite number there...
