Support our Sponsors:

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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2013, 11:33 AM
fatboxsoftware fatboxsoftware is offline
Senior Member
iPad 2, iOS 5.x
 
Join Date: Mar 2011
Location: Ormond Beach
Posts: 150
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

http://youtu.be/ERuxfU8ArqA

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)

http://dl.dropbox.com/u/16956434/You...tantiation.zip
Reply With Quote

Reply

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, TouchArcade.com, LLC.

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