Game Development Community

No control on player when loading a level the seond time

by Andy S. · in Torque X Platformer Kit · 12/06/2010 (8:36 pm) · 1 replies

I managed to have the PSK running with the stock TX GUi example. I also created a function which goes back to the main menu when the player has zero lives.
Then, when I restart the level, I can't control the actor anymore. It can't be the inputmap tough, as the command to pause the game still works.
How can I set up the player using the stock platformer demo so that it is possible to use it after changeing or reloading levels?

#1
12/06/2010 (8:45 pm)
I found the problem. I had to clear the players list in my game over method, then it works.