FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

tutorial request

2 posters

Go down

tutorial request Empty tutorial request

Post  oioioi Fri Dec 05, 2008 9:50 am

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

Back to top Go down

tutorial request Empty Re: tutorial request

Post  sio2interactive Fri Dec 05, 2008 4: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
sio2interactive

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

http://sio2interactive.com

Back to top Go down

tutorial request Empty Re: tutorial request

Post  oioioi Sat Dec 06, 2008 5:17 am

Thanks!

oioioi

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

Back to top Go down

tutorial request Empty Re: tutorial request

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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