Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / where do the save files go?

Author
Message
shadey
15
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 3rd Nov 2014 17:11 Edited at: 3rd Nov 2014 17:23
In previous versions of AppGameKit I was able to locate the saved files within the documents folder I think, but using agk 2 alpha 8, I have no idea where they get saved to, here is the function I use for saving my levels within the level editor I wrote:





Using this in a small engine test, I want to copy a file called level1.dat (which loads fine in the level editor) into the engine test media folder... but where it loads from or saves to I now have no idea!


I am using windows 8.1
Even doing a search within windows of *.dat yields zero results!

**edit *** tried changing the file extension to .lev thinking windows hides certain file types, but still no luck,also changed the folders options to view all file types. No luck!

Hail to the king, baby!
http://davidjohnwheeler.blogspot.co.uk
Markus
Valued Member
21
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 3rd Nov 2014 17:23 Edited at: 3rd Nov 2014 17:25
v2 goto hidden appdata folder...
i not saw close file.

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
shadey
15
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 3rd Nov 2014 17:26 Edited at: 3rd Nov 2014 17:28
ah,thanks Markus, where is this folder hidden?
ah damn, forgot about closing files!

Hail to the king, baby!
http://davidjohnwheeler.blogspot.co.uk
Markus
Valued Member
21
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 3rd Nov 2014 17:28
i had edited post before.

it should here, shadey is pc username
C:\Users\shadey\AppData\Local\

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
shadey
15
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 3rd Nov 2014 17:31
ok got it, and added closefile() on everything,thanks again!

Hail to the king, baby!
http://davidjohnwheeler.blogspot.co.uk
shadey
15
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 4th Nov 2014 11:33 Edited at: 4th Nov 2014 11:35
ok,now I have a little engine test running, I ran into a snag, but probably missing something, I did a small level with a block used for jumping around onto platforms, referencing the byte sized tutorials, the problem I have is that after jumping and landing,there is a small bounce which stops you jumping again straight away, I have yet to add the horizontal movement coz I want the jumping perfect first...here is the code:






**edit damn my mistake to post in this, wasn't looking properly..lol! Too late now

Hail to the king, baby!
http://davidjohnwheeler.blogspot.co.uk
shadey
15
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 4th Nov 2014 23:42
ah never mind, simply changing a line to this



seems to do the job fine!

Hail to the king, baby!
http://davidjohnwheeler.blogspot.co.uk

Login to post a reply

Server time is: 2025-05-24 10:49:59
Your offset time is: 2025-05-24 10:49:59