Controller During Freeze_Mode

Posted By: Dooley

Controller During Freeze_Mode - 05/05/20 15:02

I am trying to set up controller support in my game. So far so good, it works great in the gameplay parts.

However, I noticed when freeze_mode is on (1) the controller inputs only work if they have been hard coded like this:
Code
on_joy7 - pause_game;


So I can set the start button to enter and exit the pause menu. However, getting other input that is not hard coded seems to be ... frozen ... when this happens.

I tried setting the pause_game function to proc_mode = PROC_NOFREEZE and using a while loop to continue getting input from the controller, but that does not seem to work either.

Any ideas on how I can continue to get controller input during freeze mode?
Posted By: Dooley

Re: Controller During Freeze_Mode - 05/05/20 15:06

Actually, I did not realize the proc_mode = PROC_NOFREEZE needed to be set within a while loop for it to work. That was the solution.
© 2024 lite-C Forums