The Dink Network

Reply to Re: Making a new Idle for dink?

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:
 
 
January 22nd 2014, 06:49 PM
peasantm.gif
shevek
Peasant They/Them Netherlands
Never be afraid to ask, but don't demand an answer 
set_frame_frame 12 5 12 3
set_frame_frame 12 6 12 2
set_frame_delay 12 5 250
set_frame_delay 12 6 250

etc...

Somebody more knowledgeable might actually know what all those numbers stand for


12 is the sequence number; 5 and 6 are the frame numbers. set_frame_frame will use a copy of an existing frame as the value for the target frame; the first two lines tell it to use sequence 12 frame 3 and 2 for sequence 12 frame 5 and 6 respectively. The second two lines declare a delay of 250 ms before moving the animation to the next frame.

Those instructions must be given before the sequence is loaded, because the engine reserves slots for the frames, and it cannot grow that storage (so the backward frames wouldn't fit if they were loaded first).