PDA

Ver la versión completa : Exp For Gp2X And Wiz. We Have Achievements!



DCEmu.co.uk
23/08/2010, 02:45
News via http://www.gp32x.com/board/index.php...2&#entry909152 (http://www.gp32x.com/board/index.php?/topic/56153-exp-for-gp2x-and-wiz-we-have-achievements/page__p__909152&#entry909152)

EXP is a program wich add Experiencies (achievements, trophys, etc) to your games for GP2X and WIZ.
There is a SDK and a application to manage profiles.

[cut]For gamers (all goes in games directory, in Wiz):

- EXP Application. Manage you EXP (or your friends one). Select one and exit. Last EXP selected will be the active one.
- Escape from Minos (Versión EXP). 32 EXPERIENCIES, 1000 POINTS.
- Rock Rain 2 (versión EXP). 18 EXPERIENCIES, 500 POINTS.


For coders:

- EXP_SDK. You know. exp.h in include directory, libexp.a in lib directory.

Include next line in your headers:

#include

and -lexp in link options.

Examples.


exp_init(“Author”,”Escape from Minos”,screen); // screen is a SDL surface (optional)

exp_add(1,10); // experience 1, 10 points
exp_add(2,20); // experience 2, 20 points
exp_add(3,30,1); // experience 3, 30 and is secret

exp_add_desc(1,silly”,”you falled”); // description of experience 1


Do you want more languages? The system load the language selected in profile.

exp_add_desc(1,”tonto”,”te has caído”,”Spanish”); // description spanish
exp_add_desc(1,”silly”,”you falled”,”English”); // description english

exp_win(1); // active experience 1
exp_win(2); // active experience 2
exp_win(3); // active experience 3

Remember:

exp_update(); // just before SDL_Flip(), to show the system messages
exp_end(); // when close the game

There are another functions (look at exp.h):

exp_user(); // get the name of the profile
exp_data_path(); // get the path where you can save data files, etc...
exp_add_img() // add an image to experience
exp_add_icon() // add an image of the game

If you don't use SDL but want EXP, use exp_init("author","game",NULL); You don't see the messages, but data will be saved.

Data is stored in directory EXP, in root of SD.

It's a beta, but very stable. Please, I need feedback. Thanks to all.

APPLICATION AND GAMES ARE IN ENGLISH!!!


Más información... (http://www.dcemu.co.uk/vbulletin/showthread.php?t=322087&goto=newpost)