3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2

Author Topic: Quicksave/Quickload DEMO v1.0  (Read 3121 times)

« on: February 26, 2010, 01:57:26 AM »
(You'll need the latest version of 3Drad to run - don't ask me to rewrite for previous versions, just donate)

Following on from a thread in the technical section, I've designed a saving/loading system for my game and made it into a little demo for you all to use.

It's a simple demo. You control a first person cam on the default terrain. There are 2 rigidbody rocks which will hurt you on contact and 3 fish your character can collect. These items are merely there to illustrate a means of saving your progress in a game.

There are 3 save slots corresponding with save files "quicksave1.txt","quicksave2.txt" and "quicksave3.txt" which are created and stored in the program directory (so it should work fine with a compiled game too). You quicksave with F1,F2 and F3 and load the corresponding saves with F4,F5 and F6. The save files store:

-Character X-position
-Character Y-position
-Character Z-position
-Health
-Fish 1 status
-Fish 2 status
-Fish 3 status

If no text appears when you hit any of the save/load keys, you may need to give 3drad admin persmissions. (my windows 7 requires this for a file to be created in C:\)
This isn't the final system I'll be using in my game.....

Coming up in V2.0:

-Screen fade on quickload.
-Addition of startup menu with 'load' option.
-Basic encryption of save files (so players can't draw parallels with numbers in savefiles and their progress and edit savefile to cheat)
« Reply #1 on: February 26, 2010, 03:21:17 AM »
sounds super!
FPS game creator for 3drad and >2000 games GamesAtNight

psikotropico

« Reply #2 on: February 26, 2010, 07:20:53 AM »
(You'll need the latest version of 3Drad to run - don't ask me to rewrite for previous versions, just donate)

bump!  :P  I'm working on my game since one year ago, so I can wait 3 more months... Are you Fernando's son?

-Basic encryption of save files (so players can't draw parallels with numbers in savefiles and their progress and edit savefile to cheat)

that's cool... I was wondering for that some time ago: http://www.3drad.com/forum/index.php?topic=2332.0
« Reply #3 on: February 26, 2010, 07:29:43 AM »
-Basic encryption of save files (so players can't draw parallels with numbers in savefiles and their progress and edit savefile to cheat)

could you share the code for that in here?
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #4 on: February 26, 2010, 08:28:56 AM »
Are you Fernando's son?

Haha, nope I just figured it helps 3drad keep improving! Which benefits us all...

could you share the code for that in here?

well yeah, you have the newest version though surely? I really wasn't thinking of anything advanced, it'd be near impossible in angelscript. just a basic math function that would guarantee the save file made no sense!
« Reply #5 on: February 26, 2010, 05:07:23 PM »
nice one chebob69! i think it will be very useful to people. :)
using 3Drad 7.22

system specs:
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 CPUs), ~3.2Ghz
8 gig ram
Geforce GTX 650 1024 MB GDDR5
DirectX 11
« Reply #6 on: February 28, 2010, 02:17:42 PM »
well yeah, you have the newest version though surely? I really wasn't thinking of anything advanced, it'd be near impossible in angelscript. just a basic math function that would guarantee the save file made no sense!

haha I guess you didnt undestood my question.
is ok!  :D
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #7 on: February 28, 2010, 03:01:36 PM »
i guess not! care to rephrase?
« Reply #8 on: February 28, 2010, 04:54:38 PM »
I asked if you could post the code for the 'Basic encryption' method.

???
I really cannot think of another way to rephrase that  :D
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #9 on: March 01, 2010, 12:36:19 AM »
I answered that. I said I would but it wouldn't be anything too advanced because angelscript isn't really suited for encryption, just a basic math function.
« Reply #10 on: March 01, 2010, 02:59:01 AM »
wow... just wow.
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #11 on: March 01, 2010, 03:11:28 AM »
Not sure what I'm supposed to reply to that.

The only other way in which your comment could be read would be:

"would the encryption be worthwhile if everyone on the forum knew the formula?"

In which case, I'd say it'll be set up so a basic math function operates on the savefile. Each user would then be able to change that math function so their encryption technique remains anonymous.
« Reply #12 on: March 01, 2010, 05:25:05 AM »
Not sure what I'm supposed to reply to that.

The only other way in which your comment could be read would be:

"would the encryption be worthwhile if everyone on the forum knew the formula?"

now, Im the lost here...
so that's the reason why you are not sharing it here?
but... if, whatever. nevermind  ;)
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #13 on: March 01, 2010, 05:26:43 AM »
no, that's why I WILL share it here.
I haven't done it yet!!
« Reply #14 on: March 30, 2010, 08:58:53 AM »
Great ! will wait for the release.... ;D
Pages: [1] 2