Posted By
|
Message
|
3kliksphilip Addict
Registered 20/11/2007
Points 14900
|
28th November, 2007 at 09:37:15 -
Hello, I have been using TGF for years, but have just moved onto MMF2 demo to make a Christmas Competition with a collegue of mine. However, I can't get the save system to work. I have looked up the tutorials on this website, but they all seem about 4 years old and appear different to MMF2's style. Could anybody suggest a good way of saving approximately 100 different values in a secure format? I have tried making an ini but it doesn't seem to be made any where... I've also heard of arrays and strings, though I've never tried them out and don't know how to.
Any suggestions? Please
Don't aim for perfection- you'll miss the deadline
'~Tom~ says (16:41):
well why does the custom controls for the keyboard palyer even affect the menu controls at all whats thep oint jsutm ake it so for the keyboard palyer on the menu screens everything is always up down left right enter regardless of the controls they set'
-Mr Tom, 2010
|
The Chris Street Administrator
Unspeakably Lazy Admin
Registered 14/05/2002
Points 48488
|
28th November, 2007 at 10:36:28 -
http://www.create-games.com/article.asp?id=1065
The TDC Search feature is a wonderful thing This is a pretty good article explaining different ways to store data.
n/a
|
3kliksphilip Addict
Registered 20/11/2007
Points 14900
|
28th November, 2007 at 10:43:47 -
Thanks. However,
* Start of Frame = ("Ini") - Set Current file to Appdrive$ + Appdir$ + "New.ini"
I do this, but no file is made. I assume this is because the article is about 4 years old and MMF2 came out a lot more recently, or perhaps because I'm using Vista. Maybe I'm just doing it all wrong. I don't know. I assume you enter 'Appdrive$' and not 'C:\'.
Don't aim for perfection- you'll miss the deadline
'~Tom~ says (16:41):
well why does the custom controls for the keyboard palyer even affect the menu controls at all whats thep oint jsutm ake it so for the keyboard palyer on the menu screens everything is always up down left right enter regardless of the controls they set'
-Mr Tom, 2010
|
Del Duio Born in a Bowling Alley
Registered 29/07/2005
Points 1078
|
28th November, 2007 at 10:52:42 -
I mostly use arrays for saving values. They're fast, they're easy, and they're automatically encoded. Of course, there are ways to get / mess with the save file's information, but most likely little Johnny Q. n00b won't know how.*
*unless his name is really DaVince, who knows most everything.
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
|
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
|
28th November, 2007 at 12:50:32 -
Lol, you're right. Those files aren't encoded, just saved as a bunch of bytes (which you can't read as plain text, of course).
By the way, it's better to use the byte array object. It manages file storage way better.
Old member (~2004-2007).
|
3kliksphilip Addict
Registered 20/11/2007
Points 14900
|
28th November, 2007 at 12:55:33 -
lol I guess everybody has heir own opinions. I'm using the demo version of mmf2 and it doesn't appear to have a byte array object. Any help with INI files for MMF2? I can't MAKE one
Don't aim for perfection- you'll miss the deadline
'~Tom~ says (16:41):
well why does the custom controls for the keyboard palyer even affect the menu controls at all whats thep oint jsutm ake it so for the keyboard palyer on the menu screens everything is always up down left right enter regardless of the controls they set'
-Mr Tom, 2010
|
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
|
28th November, 2007 at 13:55:19 -
I HATE YOU!! Nah kidding.
Oh sorry, I missed the "demo" word there. Use the regular array.
Old member (~2004-2007).
|
3kliksphilip Addict
Registered 20/11/2007
Points 14900
|
28th November, 2007 at 14:00:24 -
how do you save it if, say, somebody alt f4s the program? Will it still be saved some how?
Don't aim for perfection- you'll miss the deadline
'~Tom~ says (16:41):
well why does the custom controls for the keyboard palyer even affect the menu controls at all whats thep oint jsutm ake it so for the keyboard palyer on the menu screens everything is always up down left right enter regardless of the controls they set'
-Mr Tom, 2010
|
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
|
28th November, 2007 at 14:12:08 -
Not sure if it'd work, but try the "on end of application" event?
(Actually, I can't even remember if there was such an event.)
Old member (~2004-2007).
|
|
|