Author Topic: How to make a rain?  (Read 1142 times)

Yuyuko

  • Guest
How to make a rain?
« on: February 04, 2015, 06:08:26 PM »
I can not make a rain, I wanted to help as does the code, but I do not want a weak and slow rain, I want a strong and fast rain.

infern0man1

  • ~(=^・ω・^)ψ
  • Global Moderator
  • Oatmeal Killer
  • Posts: 1.021
  • Dear sir stroke madam, fire exclamation point
  • OS:
  • Windows Vista/Server 2008 Windows Vista/Server 2008
  • Browser:
  • Chrome 40.0.2214.94 Chrome 40.0.2214.94
    • View Profile
    • Twitter
  • Playstyle: Keyboard
Re: How to make a rain?
« Reply #1 on: February 04, 2015, 07:48:36 PM »
Make a rain object first.
-In the creation code for the rain object, you can set a single v-speed or make it choose from a random v-speed.

Then make another to spawn a rain object across the x-axis of the grid in each room.
-In the creation code for the spawn, set an alarm for how frequently you want a rain object to spawn on the x-axis.

At least, that's how I do it. Hope this helps  :atkHappy: