Serialized Form
Package com.golden.gamedev |
MINIMUM_VERSION
String MINIMUM_VERSION
- The minimum Java version that the game known can be run properly.
The default is 1.4.
How to change the minimum Java version :
GameLoader game = new GameLoader();
game.MINIMUM_VERSION = "1.4.2";
game.setup(....);
game.start();
In applet mode, minimum version is specified in applet param 'MINIMUM'
tag.
For example:
<PARAM NAME="MINIMUM" VALUE="1.4.2">
VALID_JAVA_VERSION
boolean VALID_JAVA_VERSION
INFO_MSG
String[] INFO_MSG
- INFO MESSAGES
gfx
BaseGraphics gfx
- Graphics engine loaded by this
GameLoader
.
game
Game game
- The game (subclass of
Game
class) initialized by this
GameLoader
.
Class com.golden.gamedev.MiniApplet extends Applet implements Serializable |
rnd
Random rnd
canvas
Canvas canvas
keyDown
boolean[] keyDown
running
boolean running
finish
boolean finish
bufferStrategy
BufferStrategy bufferStrategy
currentFPS
int currentFPS
frameCount
int frameCount
delay
int delay
lastCount
long lastCount
Class com.golden.gamedev.OpenGLGameLoader extends GameLoader implements Serializable |
Package com.golden.gamedev.engine.graphics |
canvas
Canvas canvas
- AWT COMPONENT
strategy
BufferStrategy strategy
- BACK BUFFER
currentGraphics
Graphics2D currentGraphics
Package com.golden.gamedev.funbox |
error
Throwable error
- The error exception of the game.
This is the exception that will be notified to the player.
bsGraphics
BaseGraphics bsGraphics
- The graphics engine used by the game.
title
String title
- The game title.
emailAddress
String emailAddress
- The email address which the player should report the exception to.
textArea
JTextArea textArea
- The text area UI where the game exception is printed out.
fullscreen
JCheckBox fullscreen
- Check box UI for fullscreen option.
bufferstrategy
JCheckBox bufferstrategy
- Check box UI for bufferstrategy option.
sound
JCheckBox sound
- Check box UI for sound option.
btnOK
JButton btnOK
- The OK button, clicking this button will launch the game.
- See Also:
GameSettings.actionPerformed(ActionEvent)
btnCancel
JButton btnCancel
- The Cancel button, clicking this button will abort the game.
- See Also:
GameSettings.actionPerformed(ActionEvent)
splashImage
URL splashImage
- The splash image URL, null if the game has no splash image.
Package com.golden.gamedev.object |
frame
int frame
startFrame
int startFrame
finishFrame
int finishFrame
animate
boolean animate
loopAnim
boolean loopAnim
animationTimer
Timer animationTimer
x
double x
- Background
x
coordinate.
- See Also:
Background.setLocation(double, double)
y
double y
- Background
y
coordinate.
- See Also:
Background.setLocation(double, double)
width
int width
height
int height
clip
Rectangle clip
background
Background background
- SPRITE BACKGROUND
x
double x
- SPRITE POSITION
y
double y
- SPRITE POSITION
horizontalSpeed
double horizontalSpeed
verticalSpeed
double verticalSpeed
oldX
double oldX
oldY
double oldY
width
int width
- The width of this sprite.
height
int height
- The height of this sprite.
id
int id
- SPRITE FLAGS
dataID
Object dataID
layer
int layer
active
boolean active
immutable
boolean immutable
active
boolean active
- TIMER VARIABLES
delay
long delay
currentTick
long currentTick
Package com.golden.gamedev.object.background |
color
Color color
tiles
int[][] tiles
stack
Background[] stack
total
int total
tiles
int[][] tiles
Package com.golden.gamedev.object.background.abstraction |
tileWidth
int tileWidth
baseTileHeight
int baseTileHeight
halfTileWidth
int halfTileWidth
halfTileHeight
int halfTileHeight
offsetTileHeight
int offsetTileHeight
startX
int startX
startY
int startY
tileX
int tileX
tileY
int tileY
horiz
int horiz
vert
int vert
point1
Point point1
point2
Point point2
tileWidth
int tileWidth
- TILE PROPERTIES
tileHeight
int tileHeight
- TILE PROPERTIES
tileX
int tileX
tileY
int tileY
offsetX
int offsetX
offsetY
int offsetY
horiz
int horiz
vert
int vert
point
Point point
Package com.golden.gamedev.object.sprite |
animationFrame
int[] animationFrame
status
int status
direction
int direction
pattern
Sprite pattern
Copyright © 2003-2005 Golden T Studios. All rights reserved. Use is subject to license terms.
GoldenStudios.or.id