Book Image

Building a Game with Unity and Blender

Book Image

Building a Game with Unity and Blender

Overview of this book

In the wake of the indie game development scene, game development tools are no longer luxury items costing up to millions of dollars but are now affordable by smaller teams or even individual developers. Among these cutting-edge applications, Blender and Unity stand out from the crowd as a powerful combination that allows small-to-no budget indie developers or hobbyists alike to develop games that they have always dreamt of creating. Starting from the beginning, this book will cover designing the game concept, constructing the gameplay, creating the characters and environment, implementing game logic and basic artificial intelligence, and finally deploying the game for others to play. By sequentially working through the steps in each chapter, you will quickly master the skills required to develop your dream game from scratch.
Table of Contents (16 chapters)
Building a Game with Unity and Blender
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Designing the user interface structure


Since we have already done the splash screen, let's dive into the main menu! The previous flow chart doesn't actually explain anything about how the main menu should function. Therefore, we need to design another flow chart to explain the structure of the main menu.

Our game is really simple, so we don't have many buttons on the menu—just simple start game and quit game buttons. By clicking on the different buttons, it will bring us to another user interface that does a different thing. We need to brainstorm all these details and put them into the flow chart.

After you have done that, we will move over to Unity again and start designing our main menu based on the preceding flow chart. First, create a new scene called MainMenu, because the name of the scene has to match the name specified in the Application.LoadLevel() function in our previous script.

The first thing we see right after the splash screen is a menu with two buttons: Start Game and Quit Game...