## Chapter 20. Core Examples

## Overview

X-Forge Core examples and tutorials are located in the `core_examples` directory. Core examples are simple programs which show the usage of X-Forge Core in different basic usages: a normal rotating cube, textured cube, blending, octagon (triangle fans) and particle systems. Tutorials are the example code used in the X-Forge Core 'Getting started' chapter.

## File Listing

    core_examples/build/              Build files
    core_examples/data/               Content used in the core examples
    core_examples/graphics/           Examples for X-Forge Core 3D graphics usage
        blending.cpp                  Blending example
        cube.cpp                      Rotating cube example
        glow.cpp                      Rotating cube example showing changing of render target surface
        hexagon.cpp                   Triangle-fan example
        particles.cpp                 Particle system example
        texture.cpp                   Rotating cube which uses textures
    core_examples/imageloader         Example of extending the image loader
    core_examples/mfcembed            Example of embedding X-Forge into MFC application
    core_examples/tutorial            Example source code for very simple X-Forge applications used in
                                      the tutorials in the 'Getting started' chapter.
    core_examples/MultiPlayerExample  A very simple example for demonstrating how to initiate a multiplayer
                                      game with the framework provided by XFuBluetoothMultiNetwork.
    core_examples/StuntPlane          An example game using only X-Forge Core features.
    core_examples/XFFPlayer           A simple example on how to build a 3D engine on top of X-Forge Core.

|  | X-Forge Documentation Confidential Copyright © 2003 Fathammer