load button crashes game

For questions about using Classic.

Post » Thu Jan 26, 2017 8:39 am

I have a simple problem but I can't solve it...When I try to load a game after I saved the game....everything is fine...but if I try to load the game if the game hasn't saved yet the game crashes..I want the load button to be dysfunctional if there is no file saved yet...but I want it to be functional when a file is saved
B
22
S
9
G
6
Posts: 72
Reputation: 4,750

Post » Fri Jan 27, 2017 3:55 am

does anyone at least have an example with load/save with buttons...How do I tell the engine not to load anything if there no file saved yet?(you just started the game)
B
22
S
9
G
6
Posts: 72
Reputation: 4,750

Post » Fri Jan 27, 2017 8:27 am

Unfortunately, the number of 'active' users who still support Construct Classic is very, very small.

If you keep 'bumping' periodically, hopefully one of them may notice and be able to help.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,420
Reputation: 59,526

Post » Fri Jan 27, 2017 8:48 am

pillaystation wrote:does anyone at least have an example with load/save with buttons...How do I tell the engine not to load anything if there no file saved yet?(you just started the game)


I would try and recreate your game inside construct 2 if I was you, It's free so there is no reason not to.
And as there is much more help as a lot more people use it.
B
8
S
2
Posts: 22
Reputation: 606

Post » Fri Jan 27, 2017 5:50 pm

use the file plugin , it has a 'if file exists' function
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Sat Jan 28, 2017 12:18 am

no that doesn't work...when I close the engine and reboot it...the file still exists but when I try to load the game it either crashes or acts like it doesnt exist. I might have done it wrong...can you give an example?
B
22
S
9
G
6
Posts: 72
Reputation: 4,750

Post » Tue Jan 31, 2017 11:54 am

is there a way to do this using ini files or something?
B
22
S
9
G
6
Posts: 72
Reputation: 4,750


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests