Particle Effect Series #2 : How to make Waterfall

Attached Files

The following files have been attached to this tutorial:

.capx

waterfall.capx

Download now 401 KB
.png

Stats

967 visits, 1,266 views

Translations

This tutorial hasn't been translated.

Tools

Today we going to make a waterfall with particles.

You can download a capx on the side if you wish to skip the tutorial.

For the waterfall sprites simply search on google. You might even find better sprites than the ones I used for this tutorial or just download the zip which has the sprites included.

Let's Get Started

1. Create a new project

2. Name it as you want

3. Change layout color to pure black

4. Download the waterfall sprites

5. Place a Sprite object on bottom of layout. This will represent water or the ground.

6. Make the water little bit opaque. For instance 90 should be fine and give it some color. I made it blue.

So after these small steps your scene should look like this

Waterfall Mist

This will be the base of the waterfall.

- Insert particle effect on top of layout

- Load the "Mist" as sprite

- Apply the following properties (only properties which are changed are listed)

Angle = 90

Rate = 120

Spray Cone = 20

Speed = 15

Size = 12

Opacity = 80

Grow rate = 10

X-randomiser = 40

speed randomiser = 200

size randomiser = 12

grow rate randomiser = 25

acceleration = 120

gravity = 75

angle randomiser = 2

speed randomiser = 2000

destroy mode = timeout expired

timeout = 2.5

You will get something like this

Waterfall Dust

We will add another detail.

- Insert another particle effect

- Load the "Ripples" as sprite

- Apply following

Angle = 90

Rate = 75

Spray Cone = 20

Speed = 10

Size = 6

Opacity = 80

Grow rate = 10

X-randomiser = 40

speed randomiser = 200

size randomiser = 24

grow rate randomiser = 50

acceleration = 75

gravity = 40

angle randomiser = 2

speed randomiser = 2000

destroy mode = Fade to invisible

timeout = 2.5

Waterfall sparkles

Now we need to show that the waterfall is hitting the ground or whatever it is.

- So again add a new particle effect. This time it should be places on surface of where the waterfall ends / drops / hits the ground.

- I just used same sprite again like for the first particle. Feel free to experiment with other sprites

- Apply following

Angle = 270

Rate = 200

Spray Cone = 180

Speed = 10

Size = 32

Grow rate = -4

X-randomiser = 250

speed randomiser = 25

size randomiser = 10

acceleration = 0

angle randomiser = 25

Waterfall Smoke

This will be the final particle effect we add. That means our waterfall consists of different 4 particle effects in total. That might seem much but each time we add a new one the waterfall effect become better. Maybe memory is the only issue here. Anyways this final effect will really give the final beauty touch to our waterfall effect.

- Add 4th and last particle effect

- Use the "Dust" sprite

- Apply following

Angle = 270

Rate = 4

Spray Cone = 120

Speed = 50

Size = 200

Opacity = 25

Grow rate = -15

size randomiser = 200

acceleration = 0

speed randomiser = 100

opacity randomiser = 3

timeout = 6

Finished

That's it. Hit play and test around. Depending on what you want to achieve, how big your game layout size is, how far or close the waterfall effect should be etc you might need to tweak the values.

Thanks for reading.

.CAPX

waterfall.capx

Download now 401 KB
.PNG
  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!