Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Marion on Sun 14/12/2008 14:22:13

Title: Snow module working with 800x600 and AGS 3.1 ? [SOLVED]
Post by: Marion on Sun 14/12/2008 14:22:13
Hi everyone.

For my next game, I have to use AGS 3.1 and a 800x600 resolution.
I need to have snow in some rooms, but no snow module seems to work :

1. The Snow/Rain plugin doesn't work with 800x600
2. SimpleSnow module gets big pink squares around the snowflakes when testing the game (my background is 32-bit color depth, the same as my game)
3. I got an error message with the Weather Effects module (it doesn't know the word "RandomBoundries").

Please help me !  :-[
Title: Re: Snow module working with 800x600 and AGS 3.1 ?
Post by: Dualnames on Sun 14/12/2008 20:51:24
Quote from: Marion on Sun 14/12/2008 14:22:13
Hi everyone.

For my next game, I have to use AGS 3.1 and a 800x600 resolution.
I need to have snow in some rooms, but no snow module seems to work :

1. The Snow/Rain plugin doesn't work with 800x600
2. SimpleSnow module gets big pink squares around the snowflakes when testing the game (my background is 32-bit color depth, the same as my game)
3. I got an error message with the Weather Effects module (it doesn't know the word "RandomBoundries").

Please help me !  :-[

1.True.
2. Is the sprite that will be used as a snow flake properly set?
3. Akumayo's Weather Effects?
Title: Re: Snow module working with 800x600 and AGS 3.1 ?
Post by: Marion on Sun 14/12/2008 20:53:07
Thank you for your answer, DualNames.

2. How must be the sprite set exactly ?
3. Yes
Title: Re: Snow module working with 800x600 and AGS 3.1 ?
Post by: SSH on Sun 14/12/2008 22:56:08
I expect that the simplesnow module just needs the dynamic sprite clear colour changing at some point. Change:

RawClearScreen(63519)

to

RawClearScreen(COLOR_TRANSPARENT)

and see if that fixes it.

Also, if you edit a snowflake in an editor using the new double-click AGS 3.1 feature, it gets the re-import wrong. FIx it by copying sprite to clipboard and re-importing from clipboard.
Title: Re: Snow module working with 800x600 and AGS 3.1 ?
Post by: Marion on Mon 15/12/2008 07:49:50
Still not working with COLOR_TRANSPARENT  :-\
The squares around the snowflakes are white instead of pink, but there is still no transparency.
Title: Re: Snow module working with 800x600 and AGS 3.1 ?
Post by: SSH on Mon 15/12/2008 09:23:55
Did you try re-importing the snowflakes?
Title: Re: Snow module working with 800x600 and AGS 3.1 ?
Post by: Marion on Mon 15/12/2008 09:37:18
Yes, I copied them in clipboard and put them in my editor. I copied them in clipboard again and re-imported them from clipboard, not working. I saved them as new files and imported them from files, not working.  :'(
Title: Re: Snow module working with 800x600 and AGS 3.1 ?
Post by: SSH on Mon 15/12/2008 11:09:47
Try the new v1.10:

http://ssh.me.uk/moddoc/SimpleSnow

It works for me in 800x600 32-bit.
Title: Re: Snow module working with 800x600 and AGS 3.1 ?
Post by: Marion on Mon 15/12/2008 11:26:30
Thank you very much, I'll try today  :)

EDIT : Yes, it works with the SimpleSnowAGS3.scm, thank you very much !!!  ;D