Book Image

Unity 4 Game Development HOTSHOT

By : Jate Wittayabundit
Book Image

Unity 4 Game Development HOTSHOT

By: Jate Wittayabundit

Overview of this book

<p>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.</p> <p>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.</p>
Table of Contents (19 chapters)
Unity 4 Game Development HOTSHOT
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Hotshot challenges


We have learned many things from this project, such as saving and loading the value locally using PlayerPrefs and Serialization, using WWWForm to post and load the high score from the server, encrypting the key code with MD5, and loading the XML string using XmlDocument. However, these aren't the only things that we can do. Let's try something out and see how much we learned from this project:

  • Create the save game position for our game using the PlayerPrefs and Serialization techniques to save the current position of our character in the game and load it as well

  • Save the game to the file using the PlayerPrefs and Serialization techniques

  • Try to adapt the XMLParser script to load the XML file using xml.Load(filename.xml) to load the XML file to your game

  • Create your database and PHP on your website using HiScore.php and changing phpUrl on your website; you can also change the hash key to the one that you prefer

  • Make the game prompt the user to enter their name only if they actually...