(v03 07-14-22)
TO LOAD THIS PICO-8 CART, in immediate mode, type:
load #gentle_rain
VVhat's new ?
(07-14-22) 2:36pm
- Added SPEED variable so you can confirm the animation is perfect now. It was skipping a few frames before.
There are a great many ways to create rain effects in a video-game, and Pico-8 is no exception.
In this link below can see years ago I did rain effects in the beginning by drawing a single 8x8 sprite randomly all over the screen and I had appropriate "rumble" of the rain in the background.
https://www.lexaloffle.com/bbs/?tid=27743
Just yesterday though I was playing a game in the NES and saw a most interesting effect to create rain, a series of sprites in a fixed 8x8 pixeled area that give a nice "splash" effect.
Here now is the code and images I developed from observing that.
Press 🅾️ to turn on and off the grid.
Press ❎ to turn on and off the lightning and thunder effects.
Press ⬆️ (up) to increase the speed of the rain animation.
Press ⬇️ (down) to decrease the speed of the rain animation.
The raindrops appear directly inside the grid but can really appear anywhere - to add a little rain to your game. :)
The "trickle" sound effect is the best I can do in Pico-8 with its sound limitations. Still I think this turned out pretty good.
Let me know what you think ! :)
Really like the look of this, it's very nice! This could just be me, but I think it feels more immersive the longer you stare at it. The raindrop sounds remind me of what rain hitting an umbrella sounds like from under the umbrella, so I get a little first-person feel from it.
Hi, @2bitchuck:
Thanks ! It was not animating correctly before. I added a SPEED variable you so you can slow down the drops but not the runtime execution - to confirm the animation is perfect now.
[Please log in to post a comment]