Saving notifications! :)

Talk about making games.

Was this...

Useful
4
67%
Good
1
17%
Helpful
1
17%
Bad
0
No votes
Useless
0
No votes
 
Total votes : 6

Saving notifications! :)

Postby lcl » Mon Nov 01, 2010 2:26 pm

So guys, look at this! :D

That saving system tells you things like:

- Successfully saved
- Successfully loaded
- File not found

It works by one simple variable called Saved. While saving, it writes into file that Saved = 1;
And in player's draw actor code there is Saved = 0;

And when you load game, if you've written file name right and game saved with the name you wrote,
it loads vars and then Saved = 1. But if you've written wrong or there is no file with the name you
wrote, Saved will be 0. And according to that, the game can tell you, is it possible to load game. :D :D

Simple but working logic, isn't it? :D :D
Attachments
Saving.png
Saving.zip
(895.48 KiB) Downloaded 68 times
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Saving notifications! :)

Postby Camper1995 » Mon Nov 01, 2010 8:39 pm

As I said, its pretty cool ! ;)
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Saving notifications! :)

Postby lcl » Wed Nov 03, 2010 8:10 am

Thanks dude! :wink:
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest