![]() |
||||
|---|---|---|---|---|
|
|
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 gameEntities 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.
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.
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. |
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.
|
||