The Dink Network

Reply to Re: WDE 2 crash

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:
 
 
July 28th, 10:42 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Hmmm, it is an inconsistent error. I made a script that generates a box with frame random between 1 and 7 and sometimes it was hard, sometimes not, but then it was hard more often than not once I started generating a box on each screen I moved to.

// test create box
void main (void)
{
int &frame = random(6, 1);
int &box = create_sprite(170, 290, 0, 444, &frame);
sp_hard(&box, 0);
draw_hard_sprite(&box);
kill_this_task();
}


Then I varied it so that I got a line of boxes for each frame horizontally and sometimes the last one was not hard, but after a few presses it was hard like all the others.

// test create box
void main (void)
{
int &frame = 1;
int &box;
int &bx = 80;
boxline:
&box = create_sprite(&bx, 290, 0, 444, &frame);
sp_hard(&box, 0);
draw_hard_sprite(&box);
&frame += 1;
&bx += 80;
if (&frame < 8)
	goto boxline;
kill_this_task();
}