Gamestudio Links
Zorro Links
Newest Posts
Trouble getting data with IB Gateway
by richs. 07/16/20 03:12
Futures with IB
by jbhunter. 07/16/20 01:08
A9
by 3run. 07/15/20 19:07
Maximum Value
by AndrewAMD. 07/15/20 12:50
What are you working on?
by NeoDumont. 07/14/20 23:06
Engine window and DPI scaling
by Dooley. 07/14/20 20:27
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
10 registered members (3run, AndrewAMD, richs, kvm, onoff, Michael_Schwarz, Quad, 20BN, JeyKey II, FLD), 385 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Estripa, nowater, dasanc, DavidFdez, TraderKevin
18478 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: 747
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 747
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: 747
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 747
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