|
GTGE API | ||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractIsometricBackground
as big as
horiz
, vert
tiles, where each tile is as big as
tileWidth
, tileHeight
with specified tile
height offset, and starting y coordinate.
AbstractIsometricBackground
as big as
horiz
, vert
tiles, where each tile is as big as
tileWidth
, tileHeight
.
AbstractTileBackground
as big as
horiz
, vert
tiles, where each tile is as big as
tileWidth
, tileHeight
.
SpriteGroup
into this playfield.
accel
and limit the
speed to maxSpeed
.
accel
and limit the
speed to maxSpeed
.
AdvanceBitmapFont
with specified images font and
letter sequence.
AdvanceBitmapFont
with specified images font and
default letter sequence :
!
AdvanceCollisionGroup
.
AdvanceSprite
class is animated sprite that has status and
direction attributes, that way the animation is fully controlled by its
status and direction.AdvanceSprite
with specified images and location.
AdvanceSprite
with specified images
and located at (0, 0).
AdvanceSprite
with specified location.
AdvanceSprite
with null image and located at (0, 0).
SpriteGroup
that designed to update and render
visible on the screen sprites only.AdvanceSpriteGroup
with specified name, and
specified screen offset on each side.
AdvanceSpriteGroup
with specified name, and
specified screen offset.
AdvanceSpriteGroup
with specified name without
screen offset (0, 0, 0, 0).
AnimatedSprite
class is sprite that use several images and can
be animated.AnimatedSprite
with specified images and location.
AnimatedSprite
with specified images
and located at (0, 0).
AnimatedSprite
with null image to specified location.
AnimatedSprite
with null image and located at (0, 0).
Background
is the area where every sprites lived.BaseAudioRenderer
s).BaseGraphics
interface provides all needed graphics function
for drawing unto screen.BaseInput
interface provides all needed functions for polling
keyboard and mouse input.java.io.File
,
java.io.InputStream
, and java.net.URL
.BaseIO
with specified class as the base
loader, and specified IO mode (one of BaseIO.CLASS_URL
,
BaseIO.WORKING_DIRECTORY
, BaseIO.CLASS_LOADER
,
or BaseIO.SYSTEM_LOADER
).
BaseIO
with specified class as the base loader
using BaseIO.CLASS_URL
mode as the default.
BaseLoader
with specified I/O loader, and
masking color.
BaseTimer
interface is an interface for running a loop
constantly in a requested frame per second.BasicCollisionGroup
.
BitmapFont
with specified images font and letter
sequence.
BitmapFont
with specified images font and
default letter sequence :
!
sprite1
from group 1 collided with
sprite2
from group 2.
sprite
hit collision boundary, perform collided
implementation.
CollisionBounds
with specified boundary.
CollisionBounds
with specified background
as the boundary.
CollisionGroup
.
CollisionManager
class is the base collision check abstract
class that check collision between two SpriteGroups
.CollisionManager
.
java.awt.Rectangle
with double precision.CollisionRect
.
CollisionShape
interface represents a form of geometric shape
that behave as sprite collision area.x
return coordinate of sprite in group 1 in current collision.
x
return coordinate of sprite in group 2 in current collision.
y
return coordinate of sprite in group 1 in current collision.
y
return coordinate of sprite in group 2 in current collision.
ColorBackground
with specified size.
ColorBackground
as large as screen dimension.
s
to occupy less memory.
o1
and o2
) that collided
with the object sprite to determine
which one should be checked first.
GameLoader
class need to
be subclassed and this method need to be override to return the actual
game object.
AdvanceBitmapFont
.
Applet.destroy()
to release any graphics resource
by calling AppletMode.cleanup().
ErrorNotificationDialog
class is a dialog UI to show the player
the game exception and tell the player to send it to the game author.src
can not be
null
.
src
can not be
null
.
Class type
object by specified size,
src
can be null
.
java.io.File
object, such as renaming file extension, reading and writing text file, etc.java.awt.Font
object.x
position to specified coordinate.
y
position to specified coordinate.
FPSCounter
.
Game
class is Golden T Game Engine (GTGE) core class
that initializes all GTGE game engines, wrap the engines up, and setup the
basic game frame work to be play on.Game
class, please see note
below.
Game
class) initialized by this
GameLoader
.
Game
class functionality to be able to handle multiple
game screen in order to separate game logic into separated entities.GameEngine
, the first game to be played is
GameObject with ID = 0 (zero), please see note below.
GameFont
interface is an interface to draw text with alignment.GameFont
creation and also behave as the storage of
loaded font.GameFontManager
.
GameLoader
class is the class that manages Game
class initialization.GameLoader
.
Game
class except this class is working under
GameEngine
frame work.GameObject
with specified GameEngine
as the master engine.
GameSettings
is a dialog UI to show the user the basic game
options for the player to choose of.BaseIO
from where this audio manager is getting all
audio sound resources.
BaseIO
associated with this image loader.
group1
and group2
, or null if requested
collision group can not be found.
Sprite
collision rectangle (sprite bounding box)
into rect
.
GameObject
entity.
GameObject
entity.
BaseIO
default
mode.
SystemFont
.
AdvanceBitmapFont
that using standard Bitmap Font Writer, created by Stefan
Pettersson.
AdvanceBitmapFont
that using standard Bitmap Font Writer, created by Stefan
Pettersson.
SystemFont
.
GameObject
with specific ID, the returned GameObject
will be the game to be played next.
Sprite.setImmutable(boolean)
for tag method of this method.
WindowExitListener
singleton instance.
BaseInput.NO_KEY
if no key is being pressed.
BaseInput.NO_KEY
if no key is being released.
BaseIO
.
[UNKNOWN-MODE]
if the IO mode is undefined.
x
-coordinate.
y
-coordinate.
BaseInput.NO_BUTTON
if no button is being
pressed.
BaseInput.NO_BUTTON
if no button is being
released.
x
-coordinate.
y
-coordinate.
x
coordinate before the sprite moving to the
current position.
y
coordinate before the sprite moving to the
current position.
BaseIO
if using specified mode.
x
coordinate relative to screen area.
y
coordinate relative to screen area.
BaseIO
default mode.
BaseIO
default
mode.
String st
in pixel.
char c
in pixel.
null
if
setting window icon image is not supported.
String
"" if
setting window title is not supported.
x
coordinate of this background.
x
-position of this collision shape.
x
coordinate.
y
coordinate of this background.
y
-position of this collision shape.
y
coordinate.
GameLoader
.
h
width,
and v
height.
ImageBackground
with specified image
and background size.
ImageBackground
with specified image
and the background size is as large as the image.
BaseInput
associated with this key capture.
char c
is available to draw
by this game font.
s1
and
Sprite s2
, and returns true if the sprites
(shape1
, shape2
) is collided.
s1
and
Sprite s2
, and returns true if the sprites
(shape1
, shape2
) is collided.
s1
and
Sprite s2
, and returns true if the sprites
(shape1
, shape2
) is collided.
side
side.
IsometricBackground
with specified tile images,
array of tiles, offset of tile height, and starting y coordinate.
IsometricBackground
with specified tile images
and array of tiles.
IsometricBackground
with specified tile images
as big as horiz
and vert tiles.
image1
at x1
, y1
collided with image2
at x2
, y2
.
KeyCapture
is a utility to capture key sequence combination,
usually used to turn on cheat mode.KeyCapture
with specified input, key, delay,
and listener.
KeyCapture
with specified input, key sequence in
string, delay, and listener.
LibInfo
class constructor, do nothing.
x
, y
screen coordinate.
xs
, ys
location, if the sprite is right on specified location, this method
will return true.
x
coordinate as far as delta x (dx).
y
coordinate as far as delta y (dy).
distribute
= true).
ParallaxBackground
class is a background composed by several
backgrounds.ParallaxBackground
.
GameEngine
frame work.
PatternSprite
with specified pattern and
coordinate.
PatternSprite
with specified pattern.
default policy
.
BaseAudio.SINGLE
, BaseAudio.MULTIPLE
, BaseAudio.SINGLE_REPLAY
).
PlayField
class is the game arena where all the game objects are
put on.PlayField
with specified background.
PlayField
with
default background
.
CollisionGroup
that calculate precise sprite position after collision.CollisionBounds.getCollisionShape1(Sprite)
.
immutable
sprite
.
SpriteGroup.removeImmutableSprites()
.
tileX
, tileY
position to
specified x
, y
coordinate.
tileX
, tileY
position to
specified x
, y
coordinate.
SpriteGroup.clear()
, except this method
also removes sprite memory reference immediately.
create the dialog
UI
used whenever the game is in applet environment.
GameSettings.start()
method.
start
frame
and ended at finish
frame.
BaseIO
from where this audio manager is getting all
audio sound resources.
BaseIO
where the image resources is loaded from.
BaseIO
default mode
for processing.
st
into key sequence.
Game
object.
Game
object.
x
coordinate.
y
coordinate.
h
width,
and v
height.
BaseAudio.SINGLE
policy except the audio clip is force to replay.
source
should be sorted or not before checking the actual collision.
Sprite
is the object in game that has graphical look and has its
own behaviour.Sprite
with specified image and location.
Sprite
with specified image and located at (0, 0).
Sprite
with specified position and null image.
Sprite
with null image and located at (0, 0).
start()
method.
GameLoader.start()
again, please see note below.
SystemFont
is standard AWT Font wrapped in game font interface
to be able to draw AWT Font in alignment and other technique.SystemFont
with specified AWT Font, and color.
SystemFont
with specified AWT Font,
and the color is following graphics context active color.
SystemTimer
.
TileBackground
with specified tile images
and array of tiles.
TileBackground
with specified tile images, as
big as horiz
, vert
tiles.
Timer
with specified delay time in milliseconds.
VolatileSprite
.
System.exit(0)
to force Java Virtual Machine to quit
when the close button of the parent object is pressed.
ErrorNotificationDialog.closeDialog()
when the window close button is pressed.
WindowedMode
or FullScreenMode
,
this method will receive the closing event.
WindowExitListener
class is a dummy window listener class that
that forcing Java Virtual Machine to quit by calling
System.exit()
.x
coordinate.
x
-coordinate of this collision rect.
y
coordinate.
y
-coordinate of this collision rect.
|
GTGE API | ||||||||
PREV NEXT | FRAMES NO FRAMES |