Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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