Bad pic error?
I need to create_sprite a dead body off screen move it on screen, but after getting v 1.07, Dink gives me this bad pic error. How can I get around that?
: I need to create_sprite a dead body off screen move it on screen, but after getting v 1.07, Dink gives me this bad pic error. How can I get around that?
Bad pic error can be fixed by using preload_sequence before creating a sprite (of course if there is such sprite# in the sequence).
Bad pic error can be fixed by using preload_sequence before creating a sprite (of course if there is such sprite# in the sequence).
: : I need to create_sprite a dead body off screen move it on screen, but after getting v 1.07, Dink gives me this bad pic error. How can I get around that?
: Bad pic error can be fixed by using preload_sequence before creating a sprite (of course if there is such sprite# in the sequence).
Thanks, but no thats not it. It creates o.k. if I start it on the screen, but it won't creat off screen:
int &body = create_sprite(-100,-100,9,385,1);
if I locate it at (100,100....) it's fine.
: Bad pic error can be fixed by using preload_sequence before creating a sprite (of course if there is such sprite# in the sequence).
Thanks, but no thats not it. It creates o.k. if I start it on the screen, but it won't creat off screen:
int &body = create_sprite(-100,-100,9,385,1);
if I locate it at (100,100....) it's fine.
Try this - it works fine for me
&_basex = -100;
&_basey = -100;
&newspr = create_sprite(&_basex,&_basey, 9, 32, 1);
sp_speed(&newspr,1);
sp_hard(&newspr,1);
&_basex = -100;
&_basey = -100;
&newspr = create_sprite(&_basex,&_basey, 9, 32, 1);
sp_speed(&newspr,1);
sp_hard(&newspr,1);
: Try this - it works fine for me
: &_basex = -100;
: &_basey = -100;
: &newspr = create_sprite(&_basex,&_basey, 9, 32, 1);
: sp_speed(&newspr,1);
: sp_hard(&newspr,1);
Nice, I'll use that for random locating, but it didn't help. The debug log has been calling it sprite 0, and can't deal with it. I don't know how creat_sprite can create sprite # 0. >
: &_basex = -100;
: &_basey = -100;
: &newspr = create_sprite(&_basex,&_basey, 9, 32, 1);
: sp_speed(&newspr,1);
: sp_hard(&newspr,1);
Nice, I'll use that for random locating, but it didn't help. The debug log has been calling it sprite 0, and can't deal with it. I don't know how creat_sprite can create sprite # 0. >
: Nice, I'll use that for random locating, but it didn't help. The debug log has been calling it sprite 0, and can't deal with it. I don't know how creat_sprite can create sprite # 0. >
It couldn't create it - either there is an error in seq# or frame# - or you need preload_seq.
No other ideas, sorry
It couldn't create it - either there is an error in seq# or frame# - or you need preload_seq.
No other ideas, sorry