I got a request if thats ok.
IsThreadActive:Boolean()
My thoughts are like this.
initgame()
thread -> loadmedia()
repeat
until IsThreadActive()=false
Playegame()
if thats not clear, we need a way to check if a thread thats loading media for the game is done yet, so we know if its safe to actually start drawing or playing sounds..
would be a nightmare if on some machines the thread dosent get all the needed media loaded befre the main program gets to a draw command.
IsThreadActive:Boolean()
My thoughts are like this.
initgame()
thread -> loadmedia()
repeat
until IsThreadActive()=false
Playegame()
if thats not clear, we need a way to check if a thread thats loading media for the game is done yet, so we know if its safe to actually start drawing or playing sounds..
would be a nightmare if on some machines the thread dosent get all the needed media loaded befre the main program gets to a draw command.