Does C archive functions work on PPC like on PC?

Talk about making games.

Does C archive functions work on PPC like on PC?

Postby Marcelo_jampa » Tue Mar 01, 2005 11:40 am

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?
Marcelo_jampa
 
Posts: 4
Joined: Thu Feb 24, 2005 11:18 am
Score: 0 Give a positive score

Postby ingsan » Tue Mar 01, 2005 3:13 pm

The functions SaveVars and LoadVars actually work on PPC.
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby Dark RyNo » Tue Mar 01, 2005 7:57 pm

Does savevars save a variable?
So like SaveVars(myvariable);?
Can this be used for high scores?
Dark RyNo
 
Posts: 35
Joined: Tue Feb 08, 2005 7:04 pm
Score: 0 Give a positive score

Postby Just4Fun » Tue Mar 01, 2005 9:04 pm

I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score

Postby ingsan » Wed Mar 02, 2005 6:58 am

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.
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby Marcelo_jampa » Wed Mar 02, 2005 12:09 pm

Thank you everybody, it's working now.
Now trying to do the player enter his/her name.
Does anyone knows how to do this?
Marcelo_jampa
 
Posts: 4
Joined: Thu Feb 24, 2005 11:18 am
Score: 0 Give a positive score

Postby Just4Fun » Wed Mar 02, 2005 3:32 pm

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.
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron