Page 1 of 1

Does C archive functions work on PPC like on PC?

PostPosted: Tue Mar 01, 2005 11:40 am
by Marcelo_jampa
I'm trying to store the score of the players in an archive in the Pocket PC. Can i use C Standard archive functions like we do on a normal computer?

PostPosted: Tue Mar 01, 2005 3:13 pm
by ingsan
The functions SaveVars and LoadVars actually work on PPC.

PostPosted: Tue Mar 01, 2005 7:57 pm
by Dark RyNo
Does savevars save a variable?
So like SaveVars(myvariable);?
Can this be used for high scores?

PostPosted: Tue Mar 01, 2005 9:04 pm
by Just4Fun

PostPosted: Wed Mar 02, 2005 6:58 am
by ingsan
Does savevars save a variable?

Yes
So like SaveVars(myvariable) ;?

YES
Can this be used for high scores?

YES

:mrgreen: See the link Just4Fun posted. Very helpful.

PostPosted: Wed Mar 02, 2005 12:09 pm
by Marcelo_jampa
Thank you everybody, it's working now.
Now trying to do the player enter his/her name.
Does anyone knows how to do this?

PostPosted: Wed Mar 02, 2005 3:32 pm
by Just4Fun
As I understand it, GE v.1.28 will have an "Input Actor" that will allow you to easily get a user's input. Until 1.28 gets here though, it is probably only through using C programming that you can create something that will proccess a user's input.

You might be able to come up with something by scripting something to get a user's input and then reading and writing the user's name to a file.

Here are a couple of threads that deal with reading and writing to files:
http://game-editor.com/forum/viewtopic.php?t=349
http://game-editor.com/forum/viewtopic.php?t=159

Unless you are pretty comfortable with C programming, I'd wait for the new version. It should be out soon. HTHs.