android game development using unity
Post on 07-Aug-2018
244 Views
Preview:
TRANSCRIPT
-
8/20/2019 Android Game Development Using Unity
1/27
Android GameUsing UnityMd Johirul Isla
-
8/20/2019 Android Game Development Using Unity
2/27
Overview
Android Environment Setup
Confguration o Unity
Confguration o Android Device
Unity Remote
Coding
Demo
-
8/20/2019 Android Game Development Using Unity
3/27
Android Environment Setup Step 1
First o All e !ave to download and
setup t!e "ava in our mac!ine
-
8/20/2019 Android Game Development Using Unity
4/27
Android Environment Setup Step #
$!en we !ave to download t!e android SD% tools rom t!ewe&site and t!en store in a location we preer'
-
8/20/2019 Android Game Development Using Unity
5/27
Step ( $!en e !ave to install t!e and pac)ages we need
-
8/20/2019 Android Game Development Using Unity
6/27
Confguration o UnityStep 1
e download t!e *ersonal edition o unity +'
-
8/20/2019 Android Game Development Using Unity
7/27
Step #
Create a new pro,ect'
-
8/20/2019 Android Game Development Using Unity
8/27
Step ( -o to File./0uild Settings
-
8/20/2019 Android Game Development Using Unity
9/27
Step
Clic) Switc! *latorm
Unity 2con appears against Android
-
8/20/2019 Android Game Development Using Unity
10/27
Step + Open Edit./ *reerences./ E3ternal $ools
Speciy "D% and Android SD% locations'
-
8/20/2019 Android Game Development Using Unity
11/27
Step 4 -o to Edit./ *ro,ect Settings./ Editor
-
8/20/2019 Android Game Development Using Unity
12/27
C!ange $!e Device *ortion
-
8/20/2019 Android Game Development Using Unity
13/27
Step 5 -o to Edit./ *ro,ect Settings./ *layer
-o $o Ot!er Settings and C!ange t!e 0undle
2dentifer 67andatory8' C!ange ot!er parameters
As needed'
-
8/20/2019 Android Game Development Using Unity
14/27
C!anging Screen Si9e
2n t!e -ame ta& di:er
;ou can pic) your c!o
-
8/20/2019 Android Game Development Using Unity
15/27
Confguration o Android Device
$urn on t!e developer option w!ic! is &y deault !idden' $!is procesvary or di:erent android version'
2 !ad to tap t!e &uild num&er 5 times in t!e Settings menu to ma)edeveloper option visi&le
$urn on US0 De&ugging
-
8/20/2019 Android Game Development Using Unity
16/27
0uild Application on androidDevice
-o $o File./0uild Settings
$!en Clic) eit!er 0uild
-
8/20/2019 Android Game Development Using Unity
17/27
Run in *lay 7ode
Every time we are re=uired to &uild our application
$!at>s really &oring w!ile we are developing
e want to test game w!ile we are developing
-
8/20/2019 Android Game Development Using Unity
18/27
Unity Remote
Unity remote gives t!e relie to t!e developers o &uilding t!eapplication every time
e can develop and test our application in t!e play mode
Download and store Unity App in your device rom google playstore
-
8/20/2019 Android Game Development Using Unity
19/27
Screen Ater Starting $!e Unity Remote in t!e android device
-
8/20/2019 Android Game Development Using Unity
20/27
?imitations o Unity Remote
7any eatures may not wor) For e3ample i my application is only made responsive to touc!
events it will not &e played in unity remote
-
8/20/2019 Android Game Development Using Unity
21/27
*u&lis!ing to App Store -o to Edit./ *ro,ect Settings ./ *layer
-
8/20/2019 Android Game Development Using Unity
22/27
*latorm Dependent Coding
i 6Application'platorm @@Runtime*latorm'Android
De&ug'?og6BDo somet!ing special !ereB8
Ot!er ay to do t!isGi UH2$;IAHDRO2D
Code or android
Gendi
http://docs.unity3d.com/ScriptReference/Application-platform.htmlhttp://docs.unity3d.com/ScriptReference/RuntimePlatform.Android.htmlhttp://docs.unity3d.com/ScriptReference/Debug.Log.htmlhttp://docs.unity3d.com/ScriptReference/Debug.Log.htmlhttp://docs.unity3d.com/ScriptReference/RuntimePlatform.Android.htmlhttp://docs.unity3d.com/ScriptReference/Application-platform.html
-
8/20/2019 Android Game Development Using Unity
23/27
Code o $ouc! Detection
i 62nput'touc!Count / J8
$ouc! touc! @ 2nput'-et$ouc!6J8
i6touc!'p!ase @@ $ouc!*!ase'7oved8
-
8/20/2019 Android Game Development Using Unity
24/27
0enefts
e can use CG to develop games or all platorms Same Code can &e used or all platorms ater small
modifcations'
So it saves time to cover gamers o almost all platorms
-
8/20/2019 Android Game Development Using Unity
25/27
Useul Reerences
!ttp
-
8/20/2019 Android Game Development Using Unity
26/27
Demo
-
8/20/2019 Android Game Development Using Unity
27/27
Thank You
top related