Reply to Re: Current Sprite
If you don't have an account, just leave the password field blank.
I think you could look at the rudiments of scripting, it's said to be good.
about your script:
I'd do it like this:
int &csx = sp_x(¤t_sprite,-1);
int &csy = sp_y(¤t_sprite,-1);
&csx += 10;
&csy += 10;
int &newhole = create_sprite(&csx,&csy,0,sprite seq,sprite frame);
(I don't know the sprite's sequence, nor the sprite's frame, so I haven't put any numbers on their places...)
about your script:
I'd do it like this:
int &csx = sp_x(¤t_sprite,-1);
int &csy = sp_y(¤t_sprite,-1);
&csx += 10;
&csy += 10;
int &newhole = create_sprite(&csx,&csy,0,sprite seq,sprite frame);
(I don't know the sprite's sequence, nor the sprite's frame, so I haven't put any numbers on their places...)