The Dink Network

Reply to Re: Wait times

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:
 
 
October 13th 2024, 12:03 PM
death.gif
Seseler
Peasant He/Him Heard Island And Mcdonald Islands
 
Wait,
I just tested and at least on YeOldeDink, wait(0) seems to always wait at least 2 frames.

Or more specificially, I made a script that runs this code:
	loop:
	&seq = sp_seq(&current_sprite, -1);
	&frame = sp_frame(&current_sprite, -1);
	&pseq = sp_pseq(&current_sprite, -1);
	&pframe = sp_pframe(&current_sprite, -1);
	debug("seq &seq frame &frame pseq &pseq pframe &pframe");
	wait(1);
	goto loop;


and there were two calls to update_frame between each time the loop was run.

Is this YOD issue or does this also happen on vanilla Dink and HD?