|
GTGE API | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
GameFont | GameFont interface is an interface to draw text with alignment. |
Class Summary | |
---|---|
AdvanceSpriteGroup | Subclass of SpriteGroup that designed to update and render
visible on the screen sprites only. |
AnimatedSprite | AnimatedSprite class is sprite that use several images and can
be animated. |
Background | Background is the area where every sprites lived. |
CollisionManager | CollisionManager class is the base collision check abstract
class that check collision between two SpriteGroups . |
GameFontManager | Simplify GameFont creation and also behave as the storage of
loaded font. |
PlayField | PlayField class is the game arena where all the game objects are
put on. |
Sprite | Sprite is the object in game that has graphical look and has its
own behaviour. |
SpriteGroup | Group of sprites with common behaviour, for example PLAYER_GROUP, ENEMY_GROUP, etc. |
Timer | Class to manage timing in GTGE Frame Work to create game independent of frame rate. |
This package is the heart of the game, containing objects visible in the game, such as sprite class, background class, etc. This package is GTGE answers to game sprite management.
This package consists of :
Sprite
class, in GTGE terminology, all graphical objects in the game that have its own behaviour.Background
class, can be imagine as the place where the sprite lived.SpriteGroup
class is a class to manage many sprites easily by grouping a group of same behaviour sprites.PlayField
class, where all the objects (sprites and background) stored and managed.CollisionManager
class to manage collision between the sprites.GTGE provides a complete sprite handling, from updating and showing the sprite itself to the screen (with animation or still), placing the sprites in various background types (eg: tiling background, parallax background, etc), and detecting the collision between the sprites in clean way.
This package is GTGE approach for managing objects in game, however you do not have to force yourself to use this package, you even may, not use this package at all. With only the core package (com.golden.gamedev
package) you are able to make a game, it has already provide all things needed for making a game.
Use this package if only your game really need to use sprite, background, collision, etc.
For tutorials, examples, please see :
Sprite
,
Background
|
GTGE API | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |