uConsts Unit

Package: TronGameSample
 NameDescription
TSceneType

List of scenes available in your game "None", "Home" and "Exit" are used by the template engine, you can add/remove the others

Top
 NameDescription
CAboutCopyright

The copyright to show in the About box

CAboutGameTitle

Title of your game used in the About box and as the main form caption

CAboutGameURL

The website URL of your game (used in the About box)

CAboutVersionDate

Version date of your game, change it when you publish a new public release

CAboutVersionNumber

Version number of your game, don't forget to update the Project/Options/Versions infos before compiling a public RELEASE

CBackgroundMusicFileName

Add the name of your WAV or MP3 file to use as background music

CDefaultBackgroundMusicPath

Relative (from Windows compiled EXE) or absolute path to find the background music file when you execute the program in DEBUG on Windows (without deployment)

CDefaultLanguage

Default language used if the system language is not supported (of course you have to translate all textes of the program in this language, so use yours or English by default)

CDefaultLevel

Default game level used when starting a new game or clearing the game data

CDefaultNbLives

Default lives number used when starting a new game or clearing the game data

CDefaultSceneOnStartup

Specify what scene is opened after the main form creation

CDefaultScore

Default score used when starting a new game or clearing the game data

CDefaultSoundEffectsPath

Relative (from Windows compiled EXE) or absolute path to find the sound effects file when you execute the program in DEBUG on Windows (without deployment)

CEditorFolderName

Used as a folder name to store your game folder

CGameFolderName

Used as a folder name to store the settings and scores

CGameGUID

The GUID to use for this game when saving/loading files like game data to check they are from this game and not an other one.

COpenGameInFullScreenMode

If true the main form is opened in full screen. A menu with a "about" option is added for macOS. If false the main form is what you did with it, no menu is added for macOS.

CTimeInMSBetweenButtonDownAndUp

When a IUIControl button is clicked (with the keyboard or a game controller), the default ancestor do a Down/Up and wait CTimeInMSBetweenButtonDownAndUp milliseconds between the two states.

Top