Running Emaga4


Once you've typed in all of the modules, you should be in a good position to test Emaga4. Emaga4 is a fairly minimalist program. When you launch tge.exe, you will be deposited directly into the game. Once you have been deposited in the game, you have a small set of keyboard commands available to control your avatar, as shown in Table 4.3.

Table 4.3: Emaga4 Navigation Keys

Key

Description

Up Arrow

Run forward

Down Arrow

Run backward

Left Arrow

Run (strafe) left

Right Arrow

Run (strafe) right

Numpad 0

Jump

z

Free look (hold key and move mouse)

Tab

Toggle player point of view

Escape

Quit game

Tilde

Open console

After you have created all of the modules, you can run Emaga4 simply by double-clicking on Emaga4\tge.exe. You will "spawn" in to the game world above the ground, and drop down. When you hit the ground, your view will shake from the impact. If you turn your player around, using the mouse, you will see the view shown in Figure 4.4.

click to expand
Figure 4.4: Looking around the Emaga4 game world.

After spawning, you can run around the countryside, admire your avatar with the Tab and z keys, and jump.




3D Game Programming All in One
3D Game Programming All in One (Course Technology PTR Game Development Series)
ISBN: 159200136X
EAN: 2147483647
Year: 2006
Pages: 197

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net