EXAMPLES

|
These examples are divided by category and cover every command set available in the language. They range from feature rich showcases to simple programs that focus on explaining how a command can be used. Browse this page to view the full list of the examples, or use the submenu below to jump directly to a specific category:
core
text
input
file
display
basic2d
bitmap
sound
music
sprite
image
animation
light
camera
basic3d
matrix
world
particles
3dmaths
ftp
memblocks
multiplayer
system
Below is a complete list of examples, divided by category. Simply click on the example screen to view a listing of the example, and optionally from that page you can select the flashing icon from the help titlebar to load the example into the editor.
CORE EXAMPLES
 |
 |
 |
|
Example #0101 :
Math Showcase
demonstrates the different mathematical operations that can be performed, including bitwise, logic and regular commands
|
TEXT EXAMPLES
 |
 |
 |
|
Example #0201 :
Text Showcase
demonstrates drawing text to the screen one letter at a time, and positioning the text over time to create a sine wave effect
|
INPUT EXAMPLES
 |
 |
 |
|
Example #0301 :
Input Showcase
finds and reads the input from a connected game controller, and issues a force feedback command when the controller is fired to simulate a machine gun
|
FILE EXAMPLES
 |
 |
 |
|
Example #0401 :
File Showcase
writes a simple file to the local folder containing the coordinates of the dots plotted with the mouse, and then reads that data back to create an action replay of the original clicks
|
DISPLAY EXAMPLES
 |
 |
 |
|
Example #0501 :
Display Showcase
shows how to read directly from the visual screen backbuffer, and plot what was read back to the screen. Reading from video memory creates a performance hit, and should be avoided
|
BASIC2D EXAMPLES
 |
 |
 |
|
Example #0601 :
Basic2D Showcase
represents a very simple painting tool, using 2D art commands to paint shapes onto the screen, and also allows the resizing of the brush
|
BITMAP EXAMPLES
 |
 |
 |
|
Example #0701 :
Bitmap Showcase
demonstrates the ability to load many different bitmap formats, and render those bitmaps to the screen within a simple application to scroll back and forth through the bitmap files
|
SOUND EXAMPLES
 |
 |
 |
|
Example #0801 :
Sound Showcase
shows how different sound files can be loaded, and played on demand when the various objects are clicked on
|
MUSIC EXAMPLES
 |
 |
 |
|
Example #0901 :
Music Showcase
music files are loaded into memory, and can be selected for playback by clicking one of the musical instruments
|
SPRITE EXAMPLES
 |
 |
 |
|
Example #1001 :
Sprite Showcase
demonstrates hundreds of sprites representing the asteroids, and a single sprite for the spaceship as it weaves back and forth showing how sprite priorities can be set up
|
IMAGE EXAMPLES
 |
 |
 |
|
Example #1101 :
Image Showcase
pastes 1000 images to the screen as fast as possible, and monitors the refresh rate of the screen as represented by the on screen frames per second
|
ANIMATION EXAMPLES
 |
 |
 |
|
Example #1201 :
Animation Showcase
loads an AVI video file into memory, and plays the animation through the texture of several 3D objects. Rendering animation files to textures is not performance friendly for game use
|
LIGHT EXAMPLES
 |
 |
 |
|
Example #1301 :
Light Showcase
demonstrates the use of all eight fixed lights, starting with just two and allowing more to be activated as the camera rotates around the statue
|
CAMERA EXAMPLES
 |
 |
 |
|
Example #1401 :
Camera Showcase
shows the creation of a simple spherical arena, and the loading of two animated models, then creates a second camera to show the view of the scene from two points of view
|
BASIC3D EXAMPLES
 |
 |
 |
|
Example #1501 :
Basic3D Showcase
demonstrates the ten main ways to quickly change the visual apperance of a 3D object. Some of the commands apply a simple texture effect, and others apply more complex shader effects
|
 |
 |
 |
|
Example #1502 :
Basic3D Functionality
|
 |
 |
 |
|
Example #1503 :
Mesh Manipulation
|
 |
 |
 |
|
Example #1504 :
Primitive Texturing
|
 |
 |
 |
|
Example #1505 :
Pixel Shader Usage
|
 |
 |
 |
|
Example #1506 :
Collision Functionality
|
 |
 |
 |
|
Example #1507 :
FX Mini Browser
|
 |
 |
 |
|
Example #1508 :
U5Collection
|
 |
 |
 |
|
Example #1509 :
Pick Object
|
MATRIX EXAMPLES
 |
 |
 |
|
Example #1601 :
Matrix Showcase
applies a texture to a matrix and manually manipulates the height values of the matrix data to create a ripple effect
|
WORLD EXAMPLES
 |
 |
 |
|
Example #1701 :
World3D Showcase
shows how a simple BSP level can be loaded, and a camera player used to run around the scene with full automatic collision enabled
|
 |
 |
 |
|
Example #1702 :
Terrain Functionality
|
PARTICLES EXAMPLES
 |
 |
 |
|
Example #1801 :
Particles Showcase
creates a single particle emitter, and emits hundreds of particles, each affected by influences including frequency and gravity. Click the mouse to change the particle emission colour
|
3DMATHS EXAMPLES
 |
 |
 |
|
Example #1901 :
3DMaths Showcase
demonstrates one of the ways in which 3D math commands can be employed, in this case showing a technique known as the catmulrom spline
|
FTP EXAMPLES
 |
 |
 |
|
Example #2001 :
Ftp Showcase
connects to a public FTP server and attempts to extract a file, then attempts to upload one, and then disconnects
|
MEMBLOCKS EXAMPLES
 |
 |
 |
|
Example #2101 :
Memblocks Showcase
shows how memblocks can be used to take an asset such as an image or sound, and allow the data to be modified, before being used to recreate a new asset from the changes
|
MULTIPLAYER EXAMPLES
 |
 |
 |
|
Example #2201 :
Multiplayer Showcase
creates a host server and three clients, and uses simple multiplayer commands to report where the mouse driven icon is located on the other applications
|
SYSTEM EXAMPLES
 |
 |
 |
|
Example #2301 :
System Showcase
shows how to load and call an external DLL, in this case to take an image and modify it in realtime on screen to create transitional effects
|
|