android game minisyonize

16
Android Game Development Using jPCT Game Library

Upload: savvy

Post on 16-Apr-2017

157 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Android Game Minisyonize

Android GameDevelopment Using jPCT Game Library

Page 2: Android Game Minisyonize

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.

Page 3: Android Game Minisyonize

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 .

Page 4: Android Game Minisyonize

Proposed System

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

Page 5: Android Game Minisyonize

Languages used

Java Xml

Page 6: Android Game Minisyonize

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

Page 7: Android Game Minisyonize

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.

Page 8: Android Game Minisyonize

Velocity & MovementOf Bullet

Page 9: Android Game Minisyonize

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

Page 10: Android Game Minisyonize

Game final view

Page 11: Android Game Minisyonize

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

Page 12: Android Game Minisyonize
Page 13: Android Game Minisyonize

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.

Page 14: Android Game Minisyonize

Different types of sprites

Animated Sprites Text Sprites

Page 15: Android Game Minisyonize

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

Page 16: Android Game Minisyonize

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