Make a video game tutorial - Adding a Pool of Water

Now lets add our pool of water to the dark temple. This is really quite easy to do but there are some things that you should think about. Genesis 3d comes with some premade liquid shapes and you have to use these in your game for water. There is also the factor of being able to go inside the water and this is important. You don't want to apply a water texture to the ground and then if the player walks on it he is walking on water! You want the player to be able to go right into the water or the lava or whatever other kind of liquid you use. And when you are designing your game remember that if you have deep sections of water you may want to put ladders or staircases in so the player can get out. You don't want your player to get stuck in a way that he can't get out.

Okay, now lets add the reflecting pool to the dark temple. This image shows my dark temple with some tweaks I made. I tinkered around with the textures and you should do that too. You will get very good at selecting objects, paging down, changing textures, grouping objects and moving them around. You will be amazed at how fast you can do this. Tinker with the textures in your temple and get a look you like.

The arrow in this picture shows where we will place the reflecting pool. The picture also shows the top view so you can see how the room looks from above. Much of that space between all the columns will be the pool.

 

 

The first thing we are going to do when making our reflecting pool is to cut a hole in the floor. You already familiar with cutting holes because this is what you did for the doorways. But let's review cutting. Go into template mode by pressing the template mode button

cutbrushNow pull down the Tools menu, select New Brush, then select cube.

 

 

 

This brings up the "Create Box" dialog. Make sure you check off the box called "Cut Brush" This will make a cut brush of your new box. So you can use it like a knife to cut a hole anywhere you want.

 

 

 

 

Select ok, then move and resize your new brush to where you want to cut away the floor. Make sure it cuts right through the thickness of the floor and when you are ready just press enter to select it. This picture here shows my cut brush after it has cut away the floor. I have shown all the views so you can see what I did.

This page is getting quite large because of the graphics so lets continue this tutorial on how to add a reflecting pool to your dark temple on the next page.

 

 

Now let's add the reflecting pool

This is going to be a shallow pool and we are going to be able to step right into it but we have to watch out for leaks and we have to have a base under the pool so people can stand at the bottom of the pool. So we will add a solid object at the bottom of the pool

 

 

Here is my base under the reflecting pool. In Template mode pull down the Tools | New Brush | Cube and make sure that in the cube dialog box only the "solid" button is checked, uncheck the cut brush button.

Now size the block and position it where you want. And make sure it is right up against the bottom of the floor so you don't have any leaks. Apply a texture to this block and make it a different texture than the floor of the temple because we are going to make the water transparent and you will be able to see the bottom of the pool.

 

 

snap to gridHaving trouble getting your objects to line up perfectly? Check the snap to grid function. Because you have made a bunch of different shapes in different sizes they may not be in exact texel increments so you may have to turn the snap to grid option off then you can move the objects very finely and line them up exactly how you want.

 

 

Go to template mode, select a new brush and make it a solid brush. This is your block of water. Place it right into the hole you cut. Size it nicely then hit enter to place it.

Select the textures tab in your console on the left of the screen and scroll down and find the "Water" texture and apply it to your block.

We need to define this is water that you can walk into so select the Face/Brush attributes button

 

 

 

 

Now the face/brush attributes button dialog box comes up.

 

Select Empty, Wavy and Water then hit OK.

This makes your water something that you can walk right into. If you don't do this then your player will walk right on top of the water.

 

 

 

 

 

 

Now we also want the water to be semi-transparent so it looks real. Hit the Pagedown button on your keyboard and we scope down into this block of water.

Now hit the face/attributes button again and a new dialog box will pop up.

At the very bottom of this dialog box there is a check box for transparent, check this box then enter 100 into the transparency value.

Close the dialog box. There is no okay button.

 

This sets the water to be transparent and now when you play the game you will be able to see the water but you will see right through it to the bottom.

Now take a look at your room! If you haven't already done so go to template mode and insert a Deathmatch start entity then compile your level and with the preview box checked take a look at what you have!

You have done a really amazing job by getting this far through the tutorial on how to make a video game. You might not realize it but you have developed some skills! In the next section of this tutorial we are going to do some high powered stuff and learn how to create and import your own graphics into the game.

I have given you a lot to learn and there are many different little points that are tricky and maybe a bit confusing. It might be a good idea at this point to go back to the beginning of the tutorial and make a new dungeon level - just for the practice. Remember that if you are going to build a big video game you will be building dozens, if not hundreds of rooms. And each room has to get textures, lighting, doors, and maybe water and other stuff. This is a normal part of the process and even a bit of a grind. But it is what you have to do if you want to bring a full game into realization. Here is a link back to the beginning of the tutorial if you want to review Make a video game beginning of tutorial

Continue with the tutorial - You are starting to get good at this so we are going to take a look at creating your own graphics for the game. Part 4 Creating your own Video Game Graphics

 

Latest Articles

Free Game making programs - to help you make games without spending money.

Writing quests for video games. Tips, ideas and techniques

A look at video game design - This shows you the process of how a game is designed and I take you from idea to game.

What is the most important thing you need to make a video game? It isn't what you think

Who do you contact if you want to get a job in the game industry? I have advice and more.

Video Game Design - What is it and how is it done?

Kids Make Video Games: A Guide for kids of all ages in game making.

A look at Assassin's Creed II - From a game makers perspective. This game is remarkable and there are some great lessons to be learned from it when it comes to making video games

Into the Looking Glass: A History of video games including a video. How did it all start?

A look at the various Game Design Software Packages - Help finding the one that's right for you

Free Resources for making video games. If your budget is Zero these resources are for you!

Three New Lessons in the Milkshape 3d Animation Tutorial: Animate, Link skeleton to skin, and animate both

So You have a great idea for a video game! What do you do now? - Some solid advice on turning an idea into reality

AMD New Chipset and Processor breaks the barrier in gaming realism - games that look as good as movies are coming

How to write a video game players guide - Writing a guide is an easy way to start learning about how games are made.

 

For absolute beginners

All Materials, unless otherwise stated are Copyright©2000-2014
Kalif Publishing

sitemap
xml sitemap