indigo
Type members
Classlikes
The game bootstrapping process results in a BootResult
, which only occurs once on initial game load. The boot
result decribes all of the initial values of your game such as it's configuration, data, animations, assets, fonts,
subsystems, and shaders. You can add additional assets, animations, fonts, and shaders later during the setup
process, so it is recommended that you only load the bare minimum needed to get your game going during the boot
phase.
The game bootstrapping process results in a BootResult
, which only occurs once on initial game load. The boot
result decribes all of the initial values of your game such as it's configuration, data, animations, assets, fonts,
subsystems, and shaders. You can add additional assets, animations, fonts, and shaders later during the setup
process, so it is recommended that you only load the bare minimum needed to get your game going during the boot
phase.
- Companion
- object
A trait representing a minimal set of functions to get your game running
A trait representing a minimal set of functions to get your game running
- Type Params
- BootData
The class type representing you a successful game boot up
- Model
The class type representing your game's model
- StartUpData
The class type representing your successful startup data
- ViewModel
The class type representing your game's view model
- Example
object MyGame extends IndigoDemo[BootData, StartUpData, Model, ViewModel]
A trait representing a game with scene management baked in
A trait representing a game with scene management baked in
- Type Params
- BootData
The class type representing you a successful game boot up
- Model
The class type representing your game's model
- StartUpData
The class type representing your successful startup data
- ViewModel
The class type representing your game's view model
- Example
object MyGame extends IndigoGame[BootData, StartUpData, Model, ViewModel]
A trait representing a minimal set of functions to get your game running
A trait representing a minimal set of functions to get your game running
- Type Params
- Model
The class type representing your game's model
- StartUpData
The class type representing your successful startup data
- Example
object MyGame extends IndigoSandbox[StartUpData, Model]
Types
Value members
Concrete fields
defaultGameConfig Provides a useful default config set up:
defaultGameConfig Provides a useful default config set up:
- Game Viewport = 550 x 400
- FPS = 30
- Clear color = Black
- Magnification = 1
- No advanced settings enabled
- Returns
A GameConfig instance