Thought I would start out slow with the good ole "Hello World" demo.
The attached program shows you how to turn on the Game Engine mode and display text.
The Graphics mode is turned on for a couple seconds just to show the font. Turning on the Graphics mode and displaying the font is not needed and only included to show that Game Engine fonts are just fancy tilesets.
include "Game Engine Constants.inc"
' Create the game engine font
font = GenDefaultFont(Font_Normal)
' Get the bitmap from the font just so
' we can look at it.
bitmap = GenGetBitmap(font)
' Show the font for a few seconds
DrawBitmap bitmap, screenx()/2, screeny()/2
' Create a tile atlas
atlas = GenTileAtlas(1024, 1024)
' Put the font into the atlas
GenMapToAtlas atlas, font, 0, 0
' Load the atlas into the GPU
' Create a Game Engine text object.
text = GenText("Hello World", font, ScreenX()/2, ScreenY()/2, 250, Align_Center)
' Add the text to layer 0 to
' make it visible.
GenAddText text, 0