indigo

package indigo

Type members

Classlikes

final case class BootResult[A](gameConfig: GameConfig, bootData: A, animations: Set[Animation], assets: Set[AssetType], fonts: Set[FontInfo], subSystems: Set[SubSystem], shaders: Set[Shader])
Companion
object
object BootResult
Companion
class
trait IndigoDemo[BootData, StartUpData, Model, ViewModel] extends GameLauncher

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]

trait IndigoGame[BootData, StartUpData, Model, ViewModel] extends GameLauncher

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]

trait IndigoSandbox[StartUpData, Model] extends GameLauncher

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

type Blend = Blend
type Camera = Camera
type Clone = Clone
type Combo = Combo
type Cycle = Cycle
type Delete = Delete
type Depth = Depth
type Dice = Dice
type Fill = Fill
type Flip = Flip
type Font = Font
type Frame = Frame
type FrameContext[StartUpData] = FrameContext[StartUpData]
type Graphic[M <: Material] = Graphic[M]
type Group = Group
type Key = Key
type Layer = Layer
type Load = Load
type Loaded = Loaded
type Millis = Millis
type Mouse = Mouse
type Outcome[T] = Outcome[T]
type Pixels = Pixels
type Point = Point
type RGB = RGB
type RGBA = RGBA
type Save = Save
type Shader = Shader
type Shape = Shape
type Signal[A] = Signal[A]
type SignalFunction[A, B] = SignalFunction[A, B]
type SignalReader[R, A] = SignalReader[R, A]
type SignalState[S, A] = SignalState[S, A]
type Size = Size
type Sprite[M <: Material] = Sprite[M]
type Startup[SuccessType] = Startup[SuccessType]
type Stroke = Stroke
type Text[M <: Material] = Text[M]
type Track = Track
type Volume = Volume
type Zoom = Zoom

Value members

Concrete fields

val AccessControl: AccessControl
val AnimationAction: AnimationAction
val AssetBatchLoadError: AssetBatchLoadError
val AssetBatchLoaded: AssetBatchLoaded
val Blend: Blend
val BlendFactor: BlendFactor
val Clone: Clone
val CloneBatch: CloneBatch
val CloneBlank: CloneBlank
val Combo: Combo
val Cycle: Cycle
val Delete: Delete
val Depth: Depth
val Dice: Dice
val Fill: Fill
val Flip: Flip
val Font: Font
val FontStyle: FontStyle
val FontVariant: FontVariant
val FontWeight: FontWeight
val Frame: Frame
val GamepadInput: GamepadInput
val Group: Group
val HttpResponse: HttpResponse
val Key: Key
val Layer: Layer
val Load: Load
val LoadAsset: LoadAsset
val LoadAssetBatch: LoadAssetBatch
val Loaded: Loaded
val Mouse: Mouse
val PlaySound: PlaySound
val PlaybackPattern: PlaybackPattern
val Point: Point
val RGB: RGB
val RGBA: RGBA
val RendererDetails: RendererDetails
val Save: Save
val Shape: Shape
val Size: Size
val SpriteAndAnimations: SpriteAndAnimations
val Text: Text
val TextAlign: TextAlign
val TextAlignment: TextAlignment
val TextBaseLine: TextBaseLine
val TextDirection: TextDirection
val TextStroke: TextStroke
val Texture: Texture
val TiledGridCell: TiledGridCell
val TiledGridLayer: TiledGridLayer
val TiledGridMap: TiledGridMap
val Track: Track
val UniformBlock: UniformBlock
val ViewportResize: ViewportResize
val WebSocketConfig: WebSocketConfig
val WebSocketId: WebSocketId
val Zoom: Zoom

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

noRender Convenience value, alias for SceneUpdateFragment.empty

noRender Convenience value, alias for SceneUpdateFragment.empty

Returns

An Empty SceneUpdateFragment