Develop spectacular gaming content by exploring and utilizing Unity 4
- Understand the new 2D Sprite and Immediate Mode GUI system (OnGUI()/GUI class) in Unity 4, and the difference between 2D and 3D worlds, with clear instruction and examples.
- Learn about Mecanim System, AI programming, editor script, and Character Controller programming including scripting and how to adapt it to your needs.
- Create a Menu for an RPG Game – Add Powerups, Weapons, and Armor.
Immerse yourself in the world of high-end game design by partaking in challenging missions. Start off by working with the Sprite Mode, then learn the basics of creating a UI system for an RPG, and work your way through the game virtually embodying your greatest hero or heroine.
Every project is designed to push your Unity skills to the limit and beyond. You will start by creating a 2D platform game with the new 2D sprite feature and move on to the Unity GUI system. Then, you will create a 3D character and make it move. By the end of this book, you will know how to post the player’s score to the hi-score board.
What you will learn from this book
- Explore 2D Sprite character animation, rigid body, physics raycast, and camera type
- Create custom UI graphics, scripts, a draggable window, and dynamic UI using the Unity GUI system
- Code using surface shader programming and learn the basics of shaders
- Create a rocket launcher, built-in fire particle effect, and custom particle effect
- Load and save with PlayerPrefs and post the hi-score to the database using PHP and MySQL.
An easy-to-follow hands-on step-by-step project. Each project includes the complete source code and assets having screenshots and diagrams.
Who this book is written for
If you are an experienced user who has a basic knowledge of how to use the Unity game engine, or are an intermediate user who wants to learn more tips and tricks in using the Unity game engine, this book is ideal for you.
Table of Contents
Chapter 1. Develop a Sprite and Platform Game
Chapter 2. Create a Menu for an RPG – Add Powerups, Weapons, and Armors
Chapter 3. Shade Your Hero/Heroine
Chapter 4. Add Character Control and Animation to Our Hero/Heroine
Chapter 5. Build a Rocket Launcher!
Chapter 6. Make AI Appear Smart
Chapter 7. Forge a Destructible and Interactive Virtual World
Chapter 8. Let the World See the Carnage – Saving and Loading High Scores