Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (3run, AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip), 605 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Load save game speeds up gameplay #302753
12/21/09 20:28
12/21/09 20:28
Joined: Sep 2009
Posts: 2
B
Boogy Offline OP
Guest
Boogy  Offline OP
Guest
B

Joined: Sep 2009
Posts: 2
When I load in a sav file created with game_save() the game speed increases.
I already checked the frame rate and the time_step variable but these don't change.
This is the code I use to save and load:
Code:
result = game_save("checkpoint", 7, SV_ALL);
if(result <= 0) error("save failed");

result = game_load("checkpoint", 7);
if(result <= 0) error("loading failed");



Any idea why this happens?

EDIT:
Got it working laugh had to do a return after game_load()

Last edited by Boogy; 12/21/09 22:11.
Re: Load save game speeds up gameplay [Re: Boogy] #302763
12/21/09 21:55
12/21/09 21:55
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Maybe there are several instances of the same function (for movement, ...) after your game_load command where should only be one running at a time.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Load save game speeds up gameplay [Re: Superku] #302765
12/21/09 22:10
12/21/09 22:10
Joined: Sep 2009
Posts: 2
B
Boogy Offline OP
Guest
Boogy  Offline OP
Guest
B

Joined: Sep 2009
Posts: 2
I fixed it laugh

had to do a return after game_load()
don't know why but it works laugh


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