Android Game Development Using Unity

download Android Game Development Using Unity

of 12

  • date post

    07-Aug-2018
  • Category

    Documents

  • view

    215
  • download

    0

Embed Size (px)

Transcript of Android Game Development Using Unity

  • 8/20/2019 Android Game Development Using Unity

    1/27

    Android Game Using Unity Md 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!e we&site and t!en store in a location we preer'

  • 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 Unity Step 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! *latorm

     Unity 2con appears against Android

  • 8/20/2019 Android Game Development Using Unity

    10/27

    Step +  Open Edit./ *reerences./ E3ternal $ools

     Speciy "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 deault !idden' $!is proces vary or di:erent android version'

     2 !ad to tap t!e &uild num&er 5 times in t!e Settings menu to ma)e developer option visi&le

      $urn on US0 De&ugging

  • 8/20/2019 Android Game Development Using Unity

    16/27

    0uild Application on android Device

     -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!e application every time

     e can develop and test our application in t!e play mode

     Download and store Unity  App in your device rom google play store

  • 8/20/2019 Android Game Development Using Unity

    19/27

     Screen Ater 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

    *latorm Dependent Coding

     i 6Application'platorm @@Runtime*latorm'Android

     De&ug'?og6BDo somet!ing special !ereB8

    Ot!er ay to do t!is Gi UH2$;IAHDRO2D

    Code or android

    Gendi 

    http://docs.unity3d.com/ScriptReference/Application-platform.html http://docs.unity3d.com/ScriptReference/RuntimePlatform.Android.html http://docs.unity3d.com/ScriptReference/Debug.Log.html http://docs.unity3d.com/ScriptReference/Debug.Log.html http://docs.unity3d.com/ScriptReference/RuntimePlatform.Android.html http://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

    i6touc!'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 platorms  Same Code can &e used or all platorms ater small

    modifcations'

     So it saves time to cover gamers o almost all platorms

  • 8/20/2019 Android Game Development Using Unity

    25/27

    Useul Reerences

     !ttp

  • 8/20/2019 Android Game Development Using Unity

    26/27

    Demo

  • 8/20/2019 Android Game Development Using Unity

    27/27

    Thank You