The Dink Network

Reply to set_mode()

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:
 
 
September 10th 2024, 06:08 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Just been trying various things with opening intros, and wanted to have some sprites play a sequence fading down and up between them before the game starts, so tried doing it before the set_mode(2) command, but it was behaving a little weird for me, as if there was a time limit and I could only have about 8 seconds or maybe 10 before the sprites would stop playing. Fade_down() seems to be not possible to after set_mode(2) has been called.

Never quite figured it out, so just decided to launch the game on a black screen and run the intro after calling set_mode(2) which let me run various sprites with fade_down and fade_up etc, just did a sp_nodraw() on Dink until intro was over.

Anyone know of any other info on the set_mode(), or the various mode states and what commands are possible?

It seems the sprite 1 as a mouse and clicking sprites as buttons is all fine and dandy in mode 1, but I'm not sure what else is... anything that causes the game to wait() seems to be no good until mode is set to 2, which automatically goes to mode 3 once set according to the DinkC reference.