The Dink Network

Reply to Re: Dink Smallwood HD for Windows update

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 12th 2010, 06:22 AM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
Found another bug: I have the following script attached to a sprite so when the player hits the sprite, it disappears:

void main(void)
{
sp_nohit(&current_sprite, 1); 
}

void hit ( void )
{
playsound(62, 8000,0,0,0);
 {
  int &hold = sp_editor_num(&current_sprite);

  if (&hold != 0)
    {
     //this was placed by the editor, lets make the barrel stay flat
     editor_type(&hold, 3); 
     //editor_seq(&hold, 173);
     //editor_frame(&hold, 6);
     //type means show this seq/frame combo as background in the future
    }
  //sp_seq(&current_sprite, 173);
  sp_brain(&current_sprite, 5);
  sp_notouch(&current_sprite, 1);
  sp_nohit(&current_sprite, 1);
  &save_x = sp_x(&current_sprite, -1);
  &save_y = sp_y(&current_sprite, -1);
  //external("make", "apotion");
  sp_hard(&current_sprite, 1);
  //sprite ain't hard no more!
  draw_hard_sprite(&current_sprite);
 sp_nodraw(&current_sprite,1);
}
}


However, in Dink HD, the sprite doesn't disappear completely. It's hardness is gone but the image of the graphic is still there.