Edit_tutorial3
Edit_tutorial3
First create a simple room to navigate following the previous tutorial. Then create a
solid brush of size around 100 x 20 x 100 in size and placed it just above the
floor of the level. The situation would be like below:
Then click on the model tab on left and click the “Add Model” button. A dialog box
will prompt you to enter a name. Just type “mov plat 1” and press enter. Then with the
brush being selected, press the “Add Brushes” button. Now we have successfully
created a model with a brush. Actually a model is a group of one or more brushes to
which programmers can attach data, and level designers can animate or point to from
entities. Usually we will animate the model so as to introduce more interaction or
puzzles inside your created level.
1
World Editing 3
Introduction to 3D Game Development
Now let us build a moving platform. smoother only if enough key frames
Click on the Animate button of the are being inserted, typically 4 or above.
models tab. Now the editor is in a
recording mode. Move the brush to At this point, we have created an
some distance away from the original animated model and given it the name
position. Then click on the same button “mov plat 1”. However the model
again to stop the animation process. won’t animate if we now compile and
Now a dialog box appears for you to try to do a walkthrough.
enter the animation time. The system is
expecting a time duration which To make it animate in our level, we
represent the time taken for the brush have to associate the moving platform
to move from its original position to properties with it.
the new position. Input 2 for this
example. In doing so, you have created Switch to template mode and scroll
a key frame which is a technique through the template list to locate the
widely used in animation of characters. “MovingPlatform” template and insert
it into the level. Note that there is no
restriction on where you need to put
the entity in the level, but it is a good
idea to place it at or near the model
that you intend to associate it with.
After adding the MovingPlatform
entity, open the entity editor and locate
the moving platform entity. There is a
number of properties of the entity that
allow you to do more interaction to the
level. Now let us scroll to the model
attribute:
2
World Editing 3
Introduction to 3D Game Development
3
World Editing 3
Introduction to 3D Game Development
You should also be noted that rotating/moving doors are also implemented in exactly
the same way.