Game Development Community

function onstart()

by hamed · in Game Design and Creative Issues · 03/13/2012 (10:38 pm) · 1 replies

there are two main.cs file in the tgb progect, one of them got a blank function onstart and another one got initializeProject that sets the content and etc, whats the differences between these two cs file,and when we use function onstart and what should we write into its blank bracets, in the phantasia,larva,startegy and whole the source code i have downloaded theres a function
start_game that the main menu push.dialogue starts from there but i dont know where the start_game function get called and also they use a function
Canvas.setContent(loadGarageGamesGui());
but theresnt any gui or any function with this name in the source, does anybody know anything about it
im really wate for even a short answer

About the author

the great costly games, but the only purpose is killing, and the only amuse but why we just should kill to be satisfied,why the games should not change ? great drama in the games ? maybe today , is the time to change from bullets to flowers


#1
03/14/2012 (5:55 am)
i wrote start_game function in init.cs file but it was not in the original source code, so...?
and i found that theres a garagegamegui file so is loadgaragegamegui mean anything ?