Hi there! Is there a good way to implement non-dynamic weather effects? I mean, where each single raindrop is not an active object, but rather a big animation that loops straight down or at a slight angle? I thought about having an active object the size of the screen and having it move straight down and then wrap around the screen, but then it would go past the ground and it wouldn't look very good. Any thoughts?
I really like using separate active objects for this sort of thing. Raindrops, blood etc. You can make the motion appear totally random and create some really nice effects. Any reason why you wanna use 1 giant active?
The reason I wanted to use a giant active was because I thought it would save memory. Perhaps I was wrong?
The other approach I'd imagine would be to have several objects at the top that shoot the desired weather effect downwards at an angle, but the only way I thought of this was to
pick weathermaker at random:
weathermaker launches object in direction downleft
and then something like "if weathereffect overlaps leaves screen, destroy weathereffect.
The problem i get with this is that sometimes the same weathermaker gets chosen twice and it shoots two weathereffects, which looks very unsmooth. Also, the weathereffects arent destroyed even though they leave the frame.
Make two objects: a Weathermaker and a Raindrop. The raindrop remains off-screen, while the Weathermaker object needs to be just above the top of the frame (like Y position -10 or so); move its action point to bottom-center. Here are three related events.
Set X Position of Weathermaker to Random(640)+1 [or whatever your screen width happens to be]
Add 1 to [Alterable Value A of Weathermaker]
-IF [Alterable Value A of Weathermaker] =/> 3
Launch Raindrop from Weathermaker at Speed 100 in [lower-left angle] direction
Set [Alterable Value A of Weathermaker] to 0
-IF Raindrop moves out of frame on the bottom
Hey s-m-r that sounds like a good idea, except I don't stay in between certain coordinates since the map is larger than the frame, meaning that I can't use specific coordinates( it'd only rain in one spot).
The nivram example wasnt quite the rain type I was looking for ,but it was still a good one. Im going to check your tutorial Chris Street. Too bad the example files don't work.