Android Game Minisyonize

Preview:

Citation preview

Android GameDevelopment Using jPCT Game Library

MiniSyonize

-The Game

. Minisyonize is shooting game on android in which

enemies are generated randomly after particular interval of time , these enemies have to be shot down by the player shooting bullets at the enemies. The game ends when the health of the player is reduced to zero.

About Game

There are three main objects in the game player, bullet and enemy . The creation and destruction of the bullet is managed by the bullet manager

. Bullets are created as soon as the user taps on the screen . The creation and destruction of the bullet is managed by the enemy

manager Enemies are destroyed when the collision of the enemy sprite occurs with

that of the bullet sprite . Enemies are destroyed after a single collision The player is created is created as soon as the game starts . The player is

destroyed using the player manager class in the code . The player losses scope if the enemy collides with player five times . This

leads to the end of the game. Similarly there are managers for managing the health of the player ,

enemy , managing the score , calculating the total number of bullets created and to detect the collisions .

Proposed System

Principles of Colliding objects , Subscribing to the functions and publishing them, Calculating the velocity of the bullet , Detecing the touch

Languages used

Java Xml

Software Requirement

Download Jpct-AE (http://www. jpct.de/download/net/jpct-ae.zip)

Integrated Development Environment (Eclipse) (https://www.eclipse.org/downloads/)

Android Sdk (https://developer.android.com/sdk/index.html)

Image Editing Software

jPCT-AE The Main Features

jPCT supports Android 1.5 and higher and can be used with OpenGL ES 1.x as well as with OpenGL ES 2.0.It offers shader support for ES 2.0 and uses a set of default shaders that mimic the behaviour of 1.x in a 2.0 context. So you can use 2.0 without being forced to write your own shaders.

jPCT-AE with its easy to learn API offers you all the features you need to write a cool looking, mobile 3D game, simulation or business application for Google's Android platform in a short time. jPCT-AE is light weight and only loosely coupled to the OpenGL context. It doesn't force you into a specific code structure and can be used in any Activity.

Velocity & MovementOf Bullet

Collision

A collision is an isolated event in which two or more moving bodies (colliding bodies) exert forces on each other for a relatively short time.

The concept of collision is used to in Minisyonize , during the collision of bullet and the enemy and that of the enemy of the player .

sumOfRadii = _radius + sphereBody.GetRadius();

if(sumOfRadii >= distanceBetweenBodies)

collision detected

Game final view

Creating Pixelated Sprites

Draw a normal sized game character Shrink down the image extremely small Outline the image Colour the image to give pixelated effect

Sprite

In computer graphics, a sprite (also known by other names; see Synonyms below) is a two-dimensional image or animation (2D computer graphics) that is integrated into a larger scene. Initially including just graphical objects handled separately from the memory bitmap of a video display, this now includes various manners of graphical overlays.

Originally, sprites were a method of integrating unrelated bitmaps so that they appeared to be part of the normal bitmap on a screen, such as creating an animated character that can be moved on a screen without altering the data defining the overall screen. Such sprites can be created by either electronic circuitry or software. In circuitry, a hardware sprite is a hardware construct that employs custom DMA channels to integrate visual elements with the main screen in that it super-imposes two discrete video sources. Software can simulate this through specialized rendering methods.

Different types of sprites

Animated Sprites Text Sprites

Future Scope

This Game is an entertainment game. In Future new updates can be launched and also Advertisements can be added to the game in order to get revenue. Also In-App purchases can be implemented further.

This Game also has a future scope of converting into multiplayer game where users can share score and challenge their friends over.

Also there are some bugs in the software which will be removed in future, which were not tested and not removed due to time constrains

Refrences

References http://www.jpct.net/jpct-ae/ http://www.jpct.net/jpct-ae/doc/ http://www.stackoverflow.com http://www.rodedev.com/tutorials/gamephysics/ http://www.essentialmath.com/tutorial.htm http://en.wikipedia.org/wiki/Game_programming

Recommended