This is what the code block does:
--This function will be called once when the program starts
function App:Start()
--Set the application title
self.title="Darkness Awaits"
--Create settings table and add defaults
self.settings={}
self.settings.vsync=true
--Load the user's settings
self:LoadSettings()
--Create a window
self.window=Window:Create(self.title,0,0,1024,768,Window.Titlebar)
--Create the graphics context
self.context=Context:Create(self.window,0)
if self.context==nil then return false end
--Create a world
self.world=World:Create()
--Create a camera
self.camera = Camera:Create()
self.camera:SetPosition(0,5,-10)
--Load a test scene
Scene:Load("Scenes\\trash.scene")
return true
end