About Store Forum Documentation Contact



Post Reply 
Game.Initation()[SOLVED]
Author Message
Psylixiri Offline
Member

Post: #1
Game.Initation()[SOLVED]
there something im wondering... why in Game.initation cant i use a Conditional Expression?
because i needed to checkfiles in the initiation but it doesnt seem to work
i could actually just call a void function
then a bool ok but.. still trigerring curiosity in my brain
doe that do a bug or something if i "CAST" something in the Initation?
/*Edit*/
(This post was last modified: 02-10-2012 01:10 AM by Psylixiri.)
02-09-2012 01:46 AM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
RE: Game.Initation()
if for some reason to need to loop through entities inside init sometimes you need to call Update before the loop because of the Game::world update function, or you could use WORLD_FULL in the world init parameter
world.init//
Update();
loop here
{
}

return true;
02-09-2012 10:57 PM
Find all posts by this user Quote this message in a reply
Post Reply