Appearance
preload_seq
Prototypevoid preload_seq(int sequence)
preload_seq()
loads the specified graphic sequence into memory if it has not already been loaded.
Dink
< 1.08
This command was recommended before playing a sequence or creating a sprite that may be new. Otherwise, the sprite could be invisible for a brief amount of time.
Dink
1.08
The game will automatically load any sequences on-the-fly without delay. However, this will cause a slight pause as the game loads the sequences, so you may want to keep using preload_seq()
in the main()
procedure of sprites with several animations to prevent this small pause.
If preload_seq()
is used in the main()
procedure of a screen's base script (before any wait() commands), the Please Wait banner will be displayed as the game loads the necessary graphics.