Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by 7th_zorro. 04/20/24 07:29
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, henrybane, flink, Edgar_Herrera), 758 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Controller During Freeze_Mode #479929
05/05/20 15:02
05/05/20 15:02
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
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?

Re: Controller During Freeze_Mode [Re: Dooley] #479931
05/05/20 15:06
05/05/20 15:06
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
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.

Last edited by Dooley; 05/05/20 16:11.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1