The second step in making our video game is to add entities to the rooms we created in the previous lesson

Lesson 5: Adding Entities to your game

Entities are very interesting objects because they often have behaviours attached to them. We won't be learning about how to modify behaviours in this lesson and we don't have to because the entities have defaults that will be good for now. For example, if you add a crate entity to a room it can be pushed around by the player. Or if you add a clip of ammunition it can be picked up by the player. These entities really make a game interesting so let's do it.

At the bottom of the library column on the left you see four tabs. Press the tab called "entities". This brings up some icons.

Add New Entity icon

The top icon is the add new entity icon. It is a little brain because entities can be assigned behaviours and do intelligent things.

Double clicking this icon gives you a library of entities to choose from. You can browse through this library and select some entities. Double click an entity then place it somewhere in one of the rooms.

dynamic crate entity

I have placed a dynamic crate in one of the rooms. I found it under the Furniturea category.

I had some fun with this and placed a bunch of items in the rooms including an unarmed thug in each room, furniture and a generator. I also placed an uzi in the first room and lots of spare uzi ammo in the other rooms. You will notice that some of the items say (dynamic) and others say (static). The dynamic ones have intelligent properties that allow them to interact while the static ones are just for looks. things like plants, cabinets and other furniture.

Okay, you have the general idea about how to place entities in your game now all you have to do is place a player start in the game and you will be ready to play.

So lets move on to inserting Player start

 

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