tutorial request

View previous topic View next topic Go down

tutorial request

Post  oioioi on Fri Dec 05, 2008 4:50 pm

First of all, congratulations with a fantastic 3d engine.

Can you make a tutorial on how to read/write text files? For use in loading/saveing and highscore.
It's done using sio2Stream, right?

Thanks!

oioioi

Posts: 136
Join date: 2008-12-02
Location: Norway

View user profile

Back to top Go down

Re: tutorial request

Post  sio2interactive on Fri Dec 05, 2008 11:17 pm

Hummm not really, on the device the file access rights are are bit different... For writing like high score file or configuration I suggest you to use like FILE* and write it in like the Documents directory, since the user have read & write access on it. This path will also be available on every device so its a safe location, SIO2stream is basically a variation of FILE*, yes, but accessing only the memory and do not have API to write on disk, just read...

However I take you suggestion and will add this feature on one of the upcoming tutorials...

Cheers,

sio2interactive

Posts: 1526
Join date: 2008-08-26
Age: 35
Location: Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: tutorial request

Post  oioioi on Sat Dec 06, 2008 12:17 pm

Thanks!

oioioi

Posts: 136
Join date: 2008-12-02
Location: Norway

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum