Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

DAY -17

EXPORTING TO ANDROID


Changed my project platform to Android and exported it after modifying the script to allow touch input.

The touch input detects if there is a swipe to the right, left, up or down touching the screen. It then transfers this to the player's movement (move right or left, jump). 

I based myself on a tutorial on Unity Learn: https://learn.unity.com/tutorial/touch-input-for-mobile-scripting#

I wasn't able to make the Unity Remote 5 app work on my mobile phone. This would have allowed me to preview if the game worked without the need of exporting it. However, I wasn't able to make it work, and so had to export the game and then try it out. 

The touch input doesn't work correctly, but it detects input. The problem I have now is that the player moves to the right, no matter in what direction the screen is swiped.

TOMORROW

Detect both mobile and keyboard input

Rearrange underwater platforms of the game

Platform art