Unity 4 Game Development HOTSHOT

Create a quality gaming experience with Unity 4 with this fast-paced guide, featuring everything from AI programming to how to get the best animation in Unity 4

Unity 4 Game Development HOTSHOT

Jate Wittayabundit

Create a quality gaming experience with Unity 4 with this fast-paced guide, featuring everything from AI programming to how to get the best animation in Unity 4
Mapt Subscription
FREE
$29.99/m after trial
eBook
$15.00
RRP $29.99
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$15.00
$49.99
$29.99p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781849695589
Paperback466 pages

Book Description

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.

Table of Contents

Chapter 1: Develop a Sprite and Platform Game
Mission briefing
Setting up a 2D level and collider
Creating a 2D character and animation
Controlling the character with the PlayerController_2D class
Creating a key, door, and replay button
Mission accomplished
Hotshot challenges
Chapter 2: Create a Menu for an RPG – Add Powerups, Weapons, and Armors
Mission briefing
Customizing skin with GUISkin
Creating a menu object
Creating the STATUS tab
Creating the INVENTORY tab
Creating the EQUIPMENT tab
Mission accomplished
Hotshot challenges
Chapter 3: Shade Your Hero/Heroine
Mission briefing
Shader programming – Diffuse and Bump (normal) maps
Shader programming – Ambient and Specular light
Shader programming – Half Lambert, Rim Light, and Toon Ramp
Mission accomplished
Hotshot challenges
Chapter 4: Add Character Control and Animation to Our Hero/Heroine
Mission briefing
Setting up character animation and level
Creating an animator controller
Creating a character control script
Creating a third-person camera to follow our character
Mission accomplished
Hotshot challenges
Chapter 5: Build a Rocket Launcher!
Mission briefing
Setting up a character animation and animator controller
Adding new features to the CharacterControl and CameraControl scripts
Creating a MouseLook script and laser target scope
Creating a rocket prefab and particle effects
Creating a rocket launcher and RocketUI
Mission accomplished
Hotshot challenges
Chapter 6: Make AI Appear Smart
Mission briefing
Creating the Waypoint and WaypointsContainer scripts
Creating a custom editor for the WaypointsContainer script
Creating the enemy movement with the AI script
Creating a hit-point UI
Mission accomplished
Hotshot challenges
Chapter 7: Forge a Destructible and Interactive Virtual World
Mission briefing
Creating a ragdoll object
Creating a destructible wall
Creating a rockslide and trigger area
Creating the RocksTrigger and Rocks scripts
Mission accomplished
Hotshot challenges
Chapter 8: Let the World See the Carnage – Saving and Loading High Scores
Mission briefing
Creating the UserData and Hiscore scripts
Saving and loading the local high score
Creating an XMLParser script
Saving and loading server high score
Mission accomplished
Hotshot challenges

What You Will Learn

  • 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.

Authors

Table of Contents

Chapter 1: Develop a Sprite and Platform Game
Mission briefing
Setting up a 2D level and collider
Creating a 2D character and animation
Controlling the character with the PlayerController_2D class
Creating a key, door, and replay button
Mission accomplished
Hotshot challenges
Chapter 2: Create a Menu for an RPG – Add Powerups, Weapons, and Armors
Mission briefing
Customizing skin with GUISkin
Creating a menu object
Creating the STATUS tab
Creating the INVENTORY tab
Creating the EQUIPMENT tab
Mission accomplished
Hotshot challenges
Chapter 3: Shade Your Hero/Heroine
Mission briefing
Shader programming – Diffuse and Bump (normal) maps
Shader programming – Ambient and Specular light
Shader programming – Half Lambert, Rim Light, and Toon Ramp
Mission accomplished
Hotshot challenges
Chapter 4: Add Character Control and Animation to Our Hero/Heroine
Mission briefing
Setting up character animation and level
Creating an animator controller
Creating a character control script
Creating a third-person camera to follow our character
Mission accomplished
Hotshot challenges
Chapter 5: Build a Rocket Launcher!
Mission briefing
Setting up a character animation and animator controller
Adding new features to the CharacterControl and CameraControl scripts
Creating a MouseLook script and laser target scope
Creating a rocket prefab and particle effects
Creating a rocket launcher and RocketUI
Mission accomplished
Hotshot challenges
Chapter 6: Make AI Appear Smart
Mission briefing
Creating the Waypoint and WaypointsContainer scripts
Creating a custom editor for the WaypointsContainer script
Creating the enemy movement with the AI script
Creating a hit-point UI
Mission accomplished
Hotshot challenges
Chapter 7: Forge a Destructible and Interactive Virtual World
Mission briefing
Creating a ragdoll object
Creating a destructible wall
Creating a rockslide and trigger area
Creating the RocksTrigger and Rocks scripts
Mission accomplished
Hotshot challenges
Chapter 8: Let the World See the Carnage – Saving and Loading High Scores
Mission briefing
Creating the UserData and Hiscore scripts
Saving and loading the local high score
Creating an XMLParser script
Saving and loading server high score
Mission accomplished
Hotshot challenges

Book Details

ISBN 139781849695589
Paperback466 pages
Read More

Read More Reviews