O'Reilly logo

Learning ShiVa3D Game Development by Wade Tracy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding menus

Our HUD now displays a title, but there's no background. What we really need is a menu so that we can choose our destiny! Let's start by adding an interesting background and then, since buttons and their associated actions form the backbone of menus, we'll make some buttons.

Game background scene

If you're not much of an artist, you can take the easy way out which is what we are going to do here. We're simply going to have our asteroid model rotate slowly in front of a generic space field. I created a really simple space field in Gimp and named it SpaceField.png. Import it as usual and then create the scene by following these steps:

  1. In the General workspace of the editor, click on Edit | Scene | Create in the Game Editor window and name ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required