Welcome!

Adobe Flex Authors: Liz McMillan, RealWire News Distribution, Maureen O'Gara, Yakov Fain, Keith Swenson

Related Topics: Adobe Flex

Adobe Flex: Article

Creating a Shockwave 3D Game Level in 30 Minutes

Export Shockwave 3D content using any of the major 3D applications

If you have an existing 3D scene that you would like to drive around, simply follow these steps:

  • Load your 3D scene (see Figure 10).
  • Create a new object (for example, a box) in the scene:
    Position it over some sort of ground model.
    Scale it to about the size of the required vehicle.
  • Name this object carStart.
  • Export the level, like before, as gamelevel.w3d.
  • Run the executable file.
You should now be able to drive around your 3D scene.

Some Advanced Techniques
Consider undertaking these special projects to become more familiar with what I've covered in this article.

Creating a Sky Box
A sky box is a special game-related technique used to surround an environment with six prerendered images, mapped on to each side of a box object. By naming the object skybox, the game will automatically process the object and use it in the correct way (see Figure 11).

Creating Physical, Movable Objects
When you create an object in the level, such as a crate or barrel, you can easily turn it into a movable object within the Havok physics system. To do this, place the tag moving before the object's name. The next time you export the scene, you will be able to collide with the object and it will behave in a physically correct manner.

You can discover more advanced techniques by reading Instructions.doc and Advanced Instructions.doc contained within the sample download file.

Viewing Existing Levels
You can see existing levels created using the training application in the CanDo Interactive Showcase (www.candointeractive.com/gamedesign/car/levels).

Where to Go from Here
You now have experience creating and exporting Shockwave 3D content. You have seen how easy it is to export your environment, and you have an idea of the type of models that are suitable for use within that environment. Hopefully you have been inspired to create more Shockwave 3D content using the latest version of Director.

More Stories By Mal Duffin

As one of the directors of CanDo Interactive, Mal Duffin has extensive experience creating interactive Shockwave 3D content. He previously worked on video games and virtual reality projects for companies like Sony, Shiny Entertainment, and IBM.

Comments (1) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
SYS-CON Brazil News Desk 02/13/06 02:59:54 PM EST

During the course of reading this article and carrying out the various exercises, you and your 3D artist colleagues will get a practical, hands-on idea of the workflow required to create and export Shockwave 3D content using any of the major 3D applications. You will create a 3D environment, export it as Shockwave 3D, and drive around it in a virtual vehicle using the keyboard's arrow keys.