indigo
Members list
Packages
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.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
BootResult.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MyAwesomeGametrait IndigoShader
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 parameters
- 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
Attributes
- Example
-
object MyGame extends IndigoDemo[BootData, StartUpData, Model, ViewModel]
- Supertypes
A trait representing a game with scene management baked in
A trait representing a game with scene management baked in
Type parameters
- 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
Attributes
- Example
-
object MyGame extends IndigoGame[BootData, StartUpData, Model, ViewModel]
- Supertypes
- Known subtypes
-
class MyAwesomeGame
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 parameters
- Model
-
The class type representing your game's model
- StartUpData
-
The class type representing your successful startup data
Attributes
- Example
-
object MyGame extends IndigoSandbox[StartUpData, Model]
- Supertypes
A trait representing a shader that fills the available window.
A trait representing a shader that fills the available window.
You can override a number of the details in this trait using launch flags, including:
- width - starting width of the shader
- height - starting height of the shader
- channel0 - path to an image
- channel1 - path to an image
- channel2 - path to an image
- channel3 - path to an image
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SceneBlendShader.type
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
Attributes
- Returns
-
A GameConfig instance
noRender Convenience value, alias for SceneUpdateFragment.empty
noRender Convenience value, alias for SceneUpdateFragment.empty
Attributes
- Returns
-
An Empty SceneUpdateFragment