Adding a player to the game

Now let's add a Player
The Player we will select already has characteristics and behaviors attached to it. So we will just plug him right into the game. Switch to template mode by pressing the template button . Select the template tab

Then pull down the drop down menu and select DeathMatchStart entity. Hit the lightbulb button and hit enter. To move it to a desired location:


Click the select mode button


Single click on the x that represents this entity.


Click on the move rotate button


then click and drag the entity to the desired location.


Okay! Ready for the good news? Lets put this all together, make it into a real room and run it as if it were a game. You are going to be able to walk around in it and see the fruit of your labor

.

Lets run this and see how we did!The process of turning the program into a game is called compiling and it is very easy. You don't have to do a whole lot. The program handles most of it. Press the compile button

.

This brings up the compile manager

:

Uncheck the box called "Default Light Level (RGB) This is because you created your own light with your desired levels. You could forego creating lights and leave this default level on. This would create a uniform light level throughout the game.

Make sure the "Preview" button is checked. Now hit the "OK" button and let the game compile. It will run

Don't worry about any of the other check boxes. You can leave them at their default levels.

Here's how it looks:

Your first video gameThis screen shot shows the single room game you played. You can run, jump, fire weapons. Fool around with it and get a taste for it because this is just the beginning.

 

 

 

 

 


Here are some in game commands for testing your game:

Pressing 1 or 2 toggles the blaster on and off

Left mouse to fire blaster

right mouse to jump up and down

Esc to quit the game.

Great Job! Your very first game room is complete. You no doubt have lots of ideas for this. You should go back and make a bigger a room so you can walk around and get a feeling for the game world. I suggest you play with textures and lighting then run the game to see how it looks.

Enjoy the game you have created and continue to experiment with what you have learned.

Part Two is ready ! If you have been waiting for more from this tutorial then continue on here! Here is what we are going to create in section two.

 

 

 

 

Now lets create multiple rooms

Latest Articles

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

Video Game design Summer Camps for teens and kids

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-2008
Kalif Publishing and StormtheCastle.com