 |
Demos
The idea of these demos is to get you started on some of the aspects we see in the game projects students create. You are allowed to use the code here as reference or directly in your own games.
If you find a bug, would like to update one of the demos, or would like to add a new one, please tell us about it!
Ship Demo
Demonstrates image drawing, rotation and scaling, sound effects, background drawing from an image, and simple mathematics for physics.
|
Sprite Demo
Shows how to use sprites with multiple animation frames and animation states. Also demonstrates camera restrictions, zooming, and simple MIDI music playing.
|
Map Demo
Illustrates loading and saving maps from file, as well as a simple map editor and basic 2D or 3D tile-based graphics.
|
Puzzle Demo
Demonstrates drawing text to the screen effectively. Combines graphics, sounds, and music into a very basic action-puzzle game.
|
Cam Demo
Demonstrates use of the GameX camera, transparent rendering and drawing 3D lines.
|
Missile Demo
Similar to Missile Command, demonstrates mouse input, transparent images, rendering multiple objects, color shading, and blending options.
|
Physics Demo
Demonstrates fairly realistic rotational collision physics among rectangles.
|
Particle Demo
Demonstrates 3D textured polygons, blending options, transparent 3D rendering, simple particle system behavior.
|
Escape Demo
Demonstrates how to make use of many features of GameX in basic and not-so-basic ways. Graphically, shows how to display embossed text, dynamic circular life meters, fireballs, star fields, and jet trails.
|
ShipNet Demo
Uses a UDP client-serve networking engine, supports automatic server detection and up to 16 players on a LAN. Rendering done with OpenGL, which may be incorporated into future versions of GameX. Also demonstrates fading sound effects and alpha-blended particles systems with elastic reflections.
|
|
 |