Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

If you want INIT func, just declare and call it before TIC function.

function init()
    t=0
end

init()

function TIC()
    cls(12)
    print("HELLO WORLD!",84,64)
    t=t+1
end

I designed the app to use with only one TIC function which calls 60 times per second.

That is, any methods that are declared and call before TIC function will work. Understood thanks!

Sorry for offtopic, but how you are can format the code? It may have some tag for formatting LUA code?

just go to 'Formatting' and select 'Code' on the toolbar

Thanks!