Support our Sponsors:

Go Back   Touch Arcade > Developer Discussion > Public Game Developers Forum

Thread Tools Display Modes
Old 01-20-2013, 12:33 PM
fatboxsoftware fatboxsoftware is offline
Senior Member
iPad 2, iOS 5.x
Join Date: Mar 2011
Location: Ormond Beach
Posts: 171
Send a message via AIM to fatboxsoftware Send a message via Yahoo to fatboxsoftware Send a message via Skype™ to fatboxsoftware
Default Character Selection and World Instantiation - Unity Engine

This is an in depth tutorial on setting up selectable characters in a menu, saving the selected character data to a mobile phone or PC/Mac (via PlayerPrefs) and then instantiating that selected character into your first game level or environment. Covers PlayerPref settings, deleting save data for testing purposes, and using save data to disable or enable characters in our worlds. The Mousebutton functionality on collider hits will also work on mobile devices. It is also worth noting that this functionality is not true instantiation, but more similar to an object pooling method (which can be more efficient).

Download Unity Source Project: (via Dropbox)
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 2012,, LLC.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc.
Copyright 2008 - 2011, Privacy Policy / DMCA Copyright Agent