Skip to main content

main

This is a starter file that is automatically added when a new project is created. Unlike the standard framework files, which are read-only, this file is intended for you to edit as you develop your program.

module main
func start()
engine::init()
sound::init()
console::init()

if symbols::scenes <> null and symbols::scenes.size > 0 then
symbols::scenes[0].load()
end if

loop
engine::render()
engine::wait_for_paint()
engine::think()
sound::think()
console::think()
end loop
end func
end module