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
andSerialization
techniques to save the current position of our character in the game and load it as wellSave the game to the file using the
PlayerPrefs
andSerialization
techniquesTry to adapt the
XMLParser
script to load the XML file usingxml.Load(filename.xml)
to load the XML file to your gameCreate your database and PHP on your website using
HiScore.php
and changingphpUrl
on your website; you can also change the hash key to the one that you preferMake the game prompt the user to enter their name only if they actually...