Huh?
As in loading data files? Please give an example.
Is there anyway to load another code file from your main one, like something used in gunnar hero? If so, how?
Huh?
As in loading data files? Please give an example.
im going to try to create a psp version of guitar hero, what i want to do is to have a song folder were i could have code or something like that in it for the notes of the song, instead of implementing it in the main code
Last edited by thehumanidiot; January 25th, 2008 at 00:52.
Short answer, yes. You can load external data files to work with your game.
do you know of any tutorials that will show me how to?
Well, if you know all the basics for file reading/writing you can write a function to parse the files and execute them.
Read the SDK Samples. They are there for a reason
I looked in the SDK Samples, but i couldn't find what I was looking for.
EDIT: I was looking around on the internet and found an #include function. This would work if I could change the file i was opening, but i don't know how to do that.
Last edited by thehumanidiot; January 28th, 2008 at 12:08.
Google "File IO C".
sorry for this extremly late post, but i havn't been on the computer in a long time, i found some stuff but it only showed me how to read and edit numbers or something, im trying to be able to have an entire function in a seperate file and run from my main file whenever i please
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks