Rain Module on 800x600

Started by Dualnames, Sun 10/01/2010 19:28:12

Previous topic - Next topic

Dualnames

Well, I've been searching and searching and well nothing. I want to use a module/plugin that works with 800x600, but thing is they either don't work or the effect is drawn on the background/thus behind characters.

I tried 3d Rain which I found awesome, but can't make it work on 800x600.
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=31813.0

But I tried!( :D)

So anyone any ideas on a rain module for 800x600?

I also tried particle system manager, but still the same. I want to be able to have the same effect from the rain/snow plugin on 800x600. Perhaps either with a module, I've not noticed, or perhaps with another OLD plugin.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

GarageGothic

Most modules should work fine in 800x600 if you simply switch any hardcoded references to the 320*200/240 screen dimensions with 400*300 or 800*600, depending on whether you're using hi-res coordinates or not (for maximum compatibility, use System.ScreenHeight/System.ScreenWidth, but usually modules declare screen dimensions in DEFINEs thus need a constant value).

Dualnames

Quote from: GarageGothic on Sun 10/01/2010 19:47:19
Most modules should work fine in 800x600 if you simply switch any hardcoded references to the 320*200/240 screen dimensions with 400*300 or 800*600, depending on whether you're using hi-res coordinates or not (for maximum compatibility, use System.ScreenHeight/System.ScreenWidth, but usually modules declare screen dimensions in DEFINEs thus need a constant value).

That's what I've been tinkering with the last 5 hours. But can't seem to get to work like it does with 320x200.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SSH

Have you tried my SimpleRain one? No idea if it works, myself...  :=
12

Dualnames

Quote from: SSH on Sun 10/01/2010 23:55:45
Have you tried my SimpleRain one? No idea if it works, myself...  :=

It has caveats (no transparency), ah, well, I'm going to work on a good workaround.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Dualnames

Quote from: SSH on Sun 10/01/2010 23:55:45
Have you tried my SimpleRain one? No idea if it works, myself...  :=

It has caveats (no transparency), ah, well, I'm going to work on a good workaround.

I've tried the particle system manager, that from all the rest seems the only one able to reduce the number of drawback to one.

Thing is when the rain is drawn on the background (using a drawing surface), it gains transparency but objects and characters are drawn in front. One the other hand if it is drawn on a sprite, it gains ability to be drawn in front but loses transparency.

I've tried FakeScreen from Steve, but it's not working as it is with Underwater. I'm filling screen of room with  a walkbehind, I set baseline to 1, then put this on room load:
Code: ags

FakeScreen.Enable(0,0,450);
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Kweepa

Quote from: Dualnames on Wed 13/01/2010 22:19:02
I've tried FakeScreen from Steve, but it's not working as it is with Underwater. I'm filling screen of room with  a walkbehind, I set baseline to 1, then put this on room load:
Code: ags

FakeScreen.Enable(0,0,450);

You need to set the baseline of the walkbehind to Room.Height.
Still waiting for Purity of the Surf II

SSH

Do you want the rain to all have the same transparency? If so, why not use a semi-transparent GUI with a sprite on it?
12

abstauber

Quotewhy not use a semi-transparent GUI with a sprite on it?
Dang, it is so obvious! That one good hint :)

Dualnames

Quote from: SSH on Thu 14/01/2010 03:45:55
Do you want the rain to all have the same transparency? If so, why not use a semi-transparent GUI with a sprite on it?

Thought of it, but I want different transparency and not the same. As for Steve's thing..still not working.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk