AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

RB::IRetroBlitGame.Initialize

Method

public bool Initialize()

Parameters

No parameters.

Returns

bool

Return true if initialization was successful, false otherwise

Description

Called once after QueryHardware. The game should initialize it's state here. This could involve loading resources like sprite sheets and sounds, and setting up the initial title screen.

If initialization fails false should be returned to tell RetroBlit to terminate the game.

See Docs

Features - The Game Loop