This repository was archived by the owner on Dec 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Variables
Manuel Freire edited this page Jan 29, 2014
·
1 revision
Maintain game-state.
Example: an integer "gold" variable:
{
name: "points",
type: "integer",
initialValue: "0"
}
Example: a boolean "hasCreditCard" variable (also called a flag):
{
name: "hasCreditCard",
type: "boolean",
initialValue: "false"
}
Example: a string "name" variable:
{
name: "name",
type: "string",
initialValue: "Player"
}
A collection of variables is called a VarsContext. These contexts are created whenever a game (or subgame) is loaded.
A given VarsContext also contains an API to query, add, and update its variables.
eAdventure - eUCM research group
- Setting up a Development Environment
- Contributing Guidelines
- Build Process
- Project structure
- Schema
-
Engine
- Files paths and FileResolver
- Binding Schema elements with Engine elements
- Managing the game view through Layers
- Game loop and scene management
- IO
- File Resolver
- Assets: Converting schema objects to engine objects
- Engine Objects
- Actors
- Effects
- Testing the engine
- Editor
- Remote communication
- Release Process
- Other documentation