Special Effects and Game Development
in Java(TM) - Contents
by
Anibal Wainstein
Introduction
Preamble
The
author's background
What
is Java?
Subjects
that will be reviewed during the course
What
you need to keep up
Good
advice to future programmers
The Basics
in Java
1.0
Installation of the development system
1.0.1
How to install Sun Microsystems JDK
1.0.2
How to install Microsoft Java SDK
1.1
How does a program work?
1.2
Variables and numbers
1.2.1
Variables
1.2.2
Integers
1.2.3
Arithmetic operators
1.2.4
Double and Float
1.2.5
Bytes
1.2.6
Converting between integers and floating point numbers
1.3
Methods, classes and references
1.3.1
Methods
1.3.2
Classes and objects
1.3.3
References and allocating objects (the new command)
1.4
Other important elements in Java
1.4.1
Strings
1.4.2
Logical operators (Boolean variables)
1.4.3
IF-statements
1.4.4
FOR-loops
1.4.5
WHILE-loops
Your First
Applet
2.0
Your first applet
2.0.1
Inheriting the Applet class
2.0.2
Initializing with the init() method and to how to write strings
2.0.3
How to compile and run your applet
2.0.4
Quick ways to show information and results (showStatus() and
println())
2.1
The basics for all the graphics programming in Java
2.1.1
What is a pixel?
2.1.2
How to mix colors with the Color class
2.1.3
How to draw on the applet screen with the paint() method (the
Graphics class and the fillRect() method)
2.1.4
Other interesting methods in the Graphics class
Threads and
Animation
3.0
The theory behind program threads
3.0.1
An applet's start() and stop() methods (the Runnable interface)
3.0.2
The run() method
3.0.3
Exceptions, static classes and how to put a thread to sleep
3.1
Other examples with showStatus()
3.1.1
Your first scroller (statusscroller)
3.1.2
A computer terminal in your status window (statusdatatext)
3.1.3
Falling text (fallingtext)
3.2
Simpler graphics animation
3.2.1
Thread synchronization
3.2.2
How to stop gray flimmering in an applet by overwriting the
update() method
3.2.3
A graphical text scroller
Images and
Parameters
4.0
Images
4.0.1
How to load and work with images in Java applets (the Image
class)
4.0.2
Improve the Image loading with MediaTracker
4.0.3
Arrays
4.0.4
An animation applet (AppletAnimator)
4.1
Applet parameters
4.1.1
Working with getParameter()
4.1.2
How to read an integer as a parameter (getIntegerParameter())
4.1.3
AppletAnimator II, now configurable
4.1.4
A configurable and effectfull image slide show (SlideShow)
4.2
Double buffering
4.2.1
SlideShow II, now without flimmering
4.2.2
A configurable TextScroller (TextScroller II)
Mouse
messeges
Links
and Menus
Next Page >>
|