Skip to main content

Mobile

Creating Enemy and Structures

Creating Enemy We will now create the object that will be target for the cannon. To do that first locates the sprite inside the Sprites directory. Drag the sprite GameObject to the Scene View. Next set the component of the Enemy GameObject. Note: To the other enemies sprites make you sure the transform components is same above the image. Next select the Enemy then add an Animator Controller in the

Creating Cannon and Camera Movement

Creating Cannon We will now create the object that will shoot the enemy and the structure. To do that first locates the sprite inside the Sprites directory. Drag the body sprite of the cannon to the Scene View. After that drag another sprite as a child for the body to complete the cannon GameObject. Next is to set the component to each of the GameObject. After setting up the components add a

Creating Level Menu

First create a new scene by pressing ctrl + n then save it in the scene directory as "Level Menu". Set the component value of the canvas as shown below. Level Menu UI Next create a image and new canvas will be created at the same time. Then rename the canvas as "Level Menu UI" and the image as "Background" Then for the Image Level Buttons Now that we have the background we will now add the buttons

Creating Gameplay UI

Creating Gameplay UI Create a GameObject that will hold the image for the background and name it as Background. Then drag all the necessary image to fit the desire image for the background just like as shown below. Then duplicate the Background GameObject then adjust x axis to widen the background like this. For the Ground GameObject add a Box Collider 2D to make the gameobject stand above the

Creating Main Menu – Creating Scenes, Controllers, Main Menu Canvas, and Slicing Sprites

Creating Scenes In the Unity environment you will notice an Untitled object in the Hierarchy area. That is the name of the scenes by default, to change it just simply press ctrl + s and save it as Main Menu. Creating Controllers Now that we have the main menu scene we will now create Controllers for the game. The Controllers are game objects that handle some methods that be needed in the game

Setting up – Game Resolution, Changing Platform, and Categorizing Assets

Game Resolution First thing to do is to set up our Game resolution, to do that click the game tab then go to "Free Aspect" it is just below of Game tab. Then click the add button (the one that looks like +) and enter the value of each properties. For Width just make it 1280 so that we can have a great resolution for our game, then for Height leave it just 720. Changing the Platform Under the File

Getting Started – Creating Project

First you will need to download & install Unit Game Engine, here's the link for the https://store.unity.com/. After the Unity Game Engine is installed, open the unity game engine then we will get started. Here is the interface of the unity game engine when open. Click "New", and then enter the project name "Cannon Siege". After entering the name click the 2D button because the game will be make is

Cannon Siege Tutorial - A Classic Arcade Game for Android/IOS

Learn on how to create a simple game called Cannon Siege using a Unity Game Engine and a C# script. Unity is a cross-platform game engine developed by Unity Technologies. Unity is a multipurpose game engine that supports 2D and 3D graphics, drag-and-drop functionality and scripting using C#. It is used to develop video games for web plugins, desktop platforms, consoles and mobile devices.

Android - Simple Custom List View With Image

Learn on how to create Simple Custom List View With Image using Android. This simple app display a list with image using custom array. Android is basically a piece of software which allows your hardware to function. It used in several gadget like smartphone, tablet, and even television. The android is an open source operating system it's free and user friendly to mobile developers.

Android - Simple Quiz App

Lean on how to create Simple Quiz App Using Android. This simple application can generate random question and generate choices to be answered. Android is a mobile operating system developed by Google. It used in several gadget like smartphone, tablet, and even television. Android is open source to developers who has an interest in developing mobile apps. It also provide an adaptive framework that