Resolved-Pacman Problems
by Christian Rademan · in Torque Game Builder · 10/10/2007 (1:22 am) · 1 replies
I am still confused about scheduling.
I want to pause the game after the entire level has loaded and display a "READY." text message.
Then remove the message and unpause the game.
The problem is that if I schedule a pause event too late then stuff has already started moving in the level because I use onlevelLoaded to start the movement.
Too early and not all of the game objects have been loaded yet.
How can I check if the entire level has been loaded?
Or should I not use OnlevelLoaded and then just issue a start or move command to all my game objects?
I want to pause the game after the entire level has loaded and display a "READY." text message.
Then remove the message and unpause the game.
The problem is that if I schedule a pause event too late then stuff has already started moving in the level because I use onlevelLoaded to start the movement.
Too early and not all of the game objects have been loaded yet.
How can I check if the entire level has been loaded?
Or should I not use OnlevelLoaded and then just issue a start or move command to all my game objects?
Associate Phillip O'Shea
Violent Tulip
function onLevelLoaded() { pauseGame(); } function pauseGame() { //pause } function upPauseGame() { //unpause startMovement(); }