The Dink Network

Reply to Re: Invisible

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:
 
 
August 8th 2011, 07:32 AM
spike.gif
It should look like this:

void main( void )
{
//set this sprite to react to touch, but not to being hit
sp_touch_damage(&current_sprite, -1);
sp_nohit(&current_sprite, 1);
//using this global variable to get around
//a bug with Dink freezing as he touches and
//tries to talk to the scroll at the same time
&dddd = 0;
}

void touch( void )
{
sp_touch_damage(&current_sprite,0);

//rest of the script