The Dink Network

Reply to Re: All that Glitters v1.00 uploaded to the Dink Network

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:
 
 
May 3rd 2018, 02:19 PM
peasantm.gif
shevek
Peasant They/Them Netherlands
Never be afraid to ask, but don't demand an answer 
That has happened to me in test-play too. It seems to have something to do with the clock as those sprites (digits from the time) are the ones that usually go floating away. I never had it happen to sprite #1 though! That must have been irritating. At present, I'm at a loss to know for certain what to do about this, and I'm still investigating it. However, I made some changes that I think might fix it though.

I've checked the code. You use a global variable (&dinklogo) to store the text sprite id, then use external() to scroll it. I think (and hope) no scripts can run between the call to external() and the external function being run. However, when you use say_stop (in intro croll_text), other scripts can run. They may change the value of &dinklogo, which you use later. So you need to store the value of &dinklogo that you received in a local variable before you do anything that lets other scripts run. Then use that local variable in the rest of scroll_text.