Random Rain Effect (Java 2D Game Demo)

This is another stuff that I tested when I was developing Blue Boy Adventure.

Here’s what I did:
When you’re in the field, sometimes it starts to rain for a random duration (I used a Random class and picked a duration). The mechanics are actually quite simple. I prepared four “Rain” images and when it started to rain, I put a “dark filter” so the screen became darker and switched four images at a certain interval so it would look like an animation. I also implemented a sound transition system so the field music fades away when the rain starts and is replaced with the rain sound effect.

I liked how it turned out but the game became a bit slow when it was mixed with the night/lighting effect so I decided not to use this (it worked fine during daytime though)!
Sobre
This is a Java tutorial channel but occasionally I upload other stuff too. I consider myself a mediocre programmer but I’m trying to get better and this channel has become a place that records my progress (you can see how noob I was if you watch my first video!).

Guidelines for using Blue Boy Adventure’s code and assets:
https://docs.google.com/document/d/1qcafOofpXYd_QPr95qbgfb1GYxXKgSZb/edit

If you feel generous and don’t mind to give some extra support to this channel:
https://ko-fi.com/ryisnow

Links
Ko-fi
ko-fi.com/ryisnow
Twitter (X)
twitter.com/RyiSnow2017
Bluesky
bsky.app/profile/ryisnow.bsky.social
Detalhes do canal
Faça login para ver este endereço de e-mail

www.youtube.com/@RyiSnow

Japão

Inscreveu-se em 17 de mar. de 2016

35,5 mil inscritos

357 vídeos

5.889.871 visualizações
Compartilhar canal