How to save game data
How to save game data
Can anybody explain to me how to save data like in a text file or something similar. I know how to make text files in c programing for the computer?
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: How to save game data
You do it in exactly the same way on the DS. The only extra thing you need to do is add fatInitDefault() at the start of your program and link with libfat.
There's an example that does a directory listing found in examples/nds/filesystem/libfat/libfatdir which has the necessary function call and appropriate LIBS line.
There's an example that does a directory listing found in examples/nds/filesystem/libfat/libfatdir which has the necessary function call and appropriate LIBS line.
Who is online
Users browsing this forum: No registered users and 1 guest