Crystal Space: 4.2.4 Mazing Tutorial: Small Game

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 4.2.4 Mazing Tutorial: Small Game

This tutorial is a small but complete game with a maze generated by code and four spheres that you have to shoot with your laser beam. It is assumed you already know most of the basics by reading the Simple Tutorial first (see section Simple Tutorial 1: Basic Setup, World Creation). You can find the full source code of this tutorial in the ``apps/tutorial/mazing'` directory and you can build it in Crystal Space using ``make mazing'` or ``jam mazing'`.

This tutorial features (besides things mentioned in the previous tutorials):

- Creating a maze in code by using sectors (`iEngine::CreateSector()`, filled with walls (`iEngine::CreateSectorWallsMesh()`), and connected through portals (`iEngine::CreatePortal()`).
- Creating genmesh mesh objects for the adversaries and the laserbeam (see section Genmesh Mesh Object).
- Creating particle mesh objects for explosions (see section Particle Systems in General).
- Doing collision detection manually (`csColliderWrapper` and `csColliderHelper`).
- Handling game objects attached to Crystal Space objects (see section Attaching User Objects to CS Objects).
- And a lot more small tiny details that are nice to know.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ]

This document was generated using texi2html 1.76.