Making a Fountain

This is an intermediate tutorial This is an intermediate tutorial. < Making an Arch This tutorial is part of a series on building. Return to tutorial index

In this tutorial we will use terrain and custom particles to create a fountain.

FountainFinished.png

We will start making the fountain by adding the water using terrain tools. Click on the Add button. Move the Size slider all the way to the left, change the shape to cube, turn on Snap to Grid, and change the Material to Water.

FountainTerrainAddSettings.png

Use the Add tool to create a small ring of water.

FountainAddWater.png

Next insert a Part for the base of the fountain. This base should be a little wider than the ring of water. With a small ring like shown above, the base should measure 14 studs by 14 studs. Use the Move tool to center the part at the bottom of the ring of water.

FountainBase.png

Measuring studs is much easier when you use the grid! Click on the View tab and click Show Grid. This will display 4x4 gridlines in the world that you can use to position and measure parts.

Next add 4 parts for the wall of the fountain. Put them along the edges of the part we added earlier. Make sure each part is 2 studs thick and is tall enough to cover the water.

FountainWalls.png

Now add another part to put in the middle of the fountain. We need to make sure it fully covers the hole in the center of the water so make sure it is 4 studs wide and deep.

FountainMiddle.png

At this point we are done with the structure of the fountain. To get rid of the seams between the parts we can use Solid Modeling to fuse all of the parts together. Select all of the parts in the fountain, click on the Model tab and then click Union.

FountainUnion.png

We now need to add the effect of water spraying to the center of the fountain. This will require a special object called a ParticleEmitter. Before we add that though, we need a part for the particles to emit from. Insert a new part and position it at the center of the fountain. In the Model tab use the Surface tool to make the top of this part smooth.

FountainEmitterPart.png

Click on the part we just added, then click on the Model tab, then select ParticleEmitter from the Effects dropdown.

FountainInsertParticleEmitter.png

The part will now start emitting particles:

FountainDefaultParticles.png

The default texture for ParticleEmitters is a star. This can work for certain effects, but doesn't look that great for water. Let's use a custom texture for this emitter. Right click on the following image and select Save image as.... Save the picture on your computer in a place you can easily remember.

Smoke.png

The easiest way to add this texture to our game is to first publish our game. Click on the File menu and select Save to ROBLOX As... and save your current place to one of your save slots.

Now we can add the texture to the ParticleEmitter. Click on the View tab and open the Explorer and Properties. Select the ParticleEmitter in the Explorer (it will be inside the Part we last inserted).

FountainSelectEmitter.png

In the Properties window find the property called Texture. This is the image used for each of the particles. Click on the Texture property and select Add Image....

FountainAddImage.png

Select the image that you saved before. This will change the particles from stars to smoke.

FountainSmoke.png

Smoke is a better texture to use than stars, but it still doesn't look like water. Lets make some changes to the particle emitter to make the particles look more like a water spray. First, click on the dropdown next to the Color property and change the Start color to a light teal. Also change LightEmission to .5.

FountainColorAndLight.png

We can also change the size of the particles over time. Click on the Size property and then on the ... button that appears in the value. This opens a graph that represents the particle size over time. We want the particles to shrink so drag the right endpoint to the bottom of the graph.

FountainSize.png

We should also make the particles start slightly transparent and fade over time. Click on the Transparency property and then on the ... button that appears in the value. Drag the left endpoint to the middle of the graph, and leave the right endpoint on the bottom.

FountainTransparency.png

The particles now look good, but they don't fall like water. To make the water fall, change Acceleration to 0, -10, 0. We will also make the particles shoot up faster by setting Speed to 15. To make the particles spray outward, change VelocitySpread to 5. To make the particles rotate open the dropdown next to RotSpeed and change Min to -90 and Max to 90.

FountainParticleMovement.png

Lastly, we need to increase the number of particles that are emitted and also decrease how long the particles last. Change Rate to 200 and Lifetime to 4.

FountainParticleEmission.png

We now have a fountain!

FountainFinished.png