Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, TipmyPip, AndrewAMD), 1,209 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
freeze_mode = 2 but still move the mouse? #229195
09/25/08 13:16
09/25/08 13:16
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hi I want to stop my game (stopping entities AND functions) so I use freeze_mode = 2. But I still want to move the mouse, how can I realize that?

Re: freeze_mode = 2 but still move the mouse? [Re: PadMalcom] #230385
10/05/08 07:24
10/05/08 07:24
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline
User
Trooper119  Offline
User

Joined: Apr 2004
Posts: 516
USA
Using freeze_mode = 1; just freezes anything ENTITY or particle related why can't you use that, it sounds like what you want.


A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: freeze_mode = 2 but still move the mouse? [Re: Trooper119] #230403
10/05/08 10:57
10/05/08 10:57
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
But it does not stop the game related function (Getting money per second, time counter continues,...)

I now use a pause variable to fix all this.

Re: freeze_mode = 2 but still move the mouse? [Re: PadMalcom] #230443
10/05/08 15:18
10/05/08 15:18
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
just set the my pointer of the functions you want to pause to nonzero (1 eg.)
Now you can freeze them using freeze_mode = 1, as freeze_mode freezes every function/action with a my pointer which is nonzero.

edit:
this was atleast possible with C-Script, not sure if it still is with Lite-C

Last edited by Xarthor; 10/05/08 15:19.

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