| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This is a tutorial to show how you can use Quests in your application.
The source files of this tutorial can be found in the 'apps/questtest' directory that is included with CEL. The world and entity file can be found in the 'data' directory ('walktut_world' and 'questtest_entities').
During the game you can use the following inputs:
This tutorial adds a Quest to the previous tutorial WalkTut. The example Quest is a simple game involving a self destructing money box. If the player picks it up before it blows, they win, but if they do not the bad-one haunts them and they lose.
Here is the tutorial, focusing only on the changes to WalkTut neccesary to add a Quest:
| 4.2.2.1 behave.h | ||
| 4.2.2.2 behave.cpp | ||
| 4.2.2.3 app.h | ||
| 4.2.2.4 app.cpp |
This document was generated using texi2html 1.76.