A downloadable game for Android

               Team 13 implemented a 2D Unity Android game. The game “Urban Ninja” is an endless game wherein the player could spot and move into another place while the screen is moving, and stones are the obstacles that can be a hindrance to the player to move to the other side which results to losing the game.

                In implementing the game, the first thing that you’ll see in the screen is the menu scene. The scene was done by having its three texts box from UI namely ‘Play and Enjoy Urban Ninja’, ‘See the Developers of Urban Ninja’ and ‘Quit Playing Urban Ninja’ and each text box has button for the user can click the designated menu that they want. The scene also has its script. First, in the play or start button, its code was made by making a function for it that could be able to load in the game scene and by using UnityEngine.SceneManagement, it helps to change scene in Unity. Also, adding the menu and play scene in build settings is required. The next thing to do is to drag the button to the script created and add an action to its UI (button) event then select an object from main menu and its function for play game. Now, once you click the play button, it will now load to the game scene. Then, for quit game, you can add a function to the menu script that would be able to exit the game by using “Application.Quit();”, then drag its button to the script and add also the main menu object in UI event and call the Quit Game function.

                For the player movement, we adapted character animation and character jumping from a youtube tutorial. The scrolling movement and random obstacles are implemented through Instantiate function of Unity which generates endless GameObject in the scene. The game over scene is simply triggered when the character collides with the obstacle. The score is just a simple line of code that is constantly increasing by 10 points per second then stops when the game over scene is triggered.

Download

Download
Urban Ninja.apk 37 MB