Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: EliasFrost on Wed 18/09/2013 13:58:24

Title: SimpleRain error: Undefined Token "RawSaveScreen"
Post by: EliasFrost on Wed 18/09/2013 13:58:24
Hi, I know the module is pretty old but I'm having problems with the current rain module I'm using (it's only available in DirectDraw, which is a bummer) and I figured I'll try another one, and I downloaded SimpleRain, but I'm now getting a bit of a problem when I run it, I get the error: Undefined Token "RawSaveScreen". Is RawClearScreen an obsolete function from an older version of AGS or is there something else that's causing the module to fail?

Would be happy is SHH himself would answer the question but if anyone else know the source of the problem, I'm all ears.

Thanks!

EDIT: Sorry, the error was about RawSaveScreen, not RawClearScreen.
Title: Re: SimpleRain error: Undefined Token "RawClearScreen"
Post by: Crimson Wizard on Wed 18/09/2013 14:02:43
Yes, it is an obsolete function, but I'd figure it will take some time and effort to upgrade the module to AGS 3.2.1.
Therefore I suggest you to enable compatibility mode (this permits usage of obsolete functions in script).
Go to project's "General Settings" -> "Backwards Compatibility" section -> and set "Enforce object-based scripting" to FALSE.
Title: Re: SimpleRain error: Undefined Token "RawSaveScreen"
Post by: EliasFrost on Wed 18/09/2013 14:09:39
Awesome, thanks. Seems like I'm getting other problems now, the module doesn't support transparent sprites. Reviewing the docs just now, seemed like I missed that part, bugger.