Lab 3
Hello everyone !
Today I build my Roll a Ball game on my Android phone.
Part 1 : Set up
To build on Android I had to start with installing the Android Build Support :
Then, I had to define the new build settings, starting with the player settings : the orientation, the graphic APIs, the identification and the publishing key.

After setting up my unity project, I had to set up my phone. I activated the developer mode, and enabled the debugging.

I connected my phone to my computer, and selected it in the building settings. At this part I was able to start the game on my phone, but I still had to change the game play.

Part 2 : Implementation of the mobile application
To setup my player for my mobile, I had to use the gyroscope of my phone. For this I put the camera, the walls, the light, and the pick-ups as children of the ground.

Then code the Tinltig script for the ground :

I build again, and my ball literally ended out of my arena. So I lowered the speed of my player, and augmented its gravity.

Bonus
I gaved an IP Paris tuch to the game, by moving the pickups to form IPP instead of 2020 :