Forgot your Username?
The game is built as a series of tasks. The tasks are run as scripts or in the main game loop. Tasks and game objects are created by an object factory that maintains memory allocation, a reference count and object handles. The scripts are run by tasks that may have their own stacks. All tasks have access to the games global variables and the system interface.