Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. FrankyTheFish

    Reading from a file

    ooo yes, I had fixed that :) I was looking over all your posts and found and understood what you guys were saying :) Thanks again!
  2. FrankyTheFish

    Reading from a file

    Thanks guy! Everything is working :)
  3. FrankyTheFish

    Reading from a file

    char stringRead[255]; inFile.getline(stringRead, 255); strcpy(attackString,stringRead); inFile.getline(stringRead, 255); strcpy(musicString,stringRead); When I try this I get the same thing as before. The first time I run the program it will display the music tring when I toggle the music on...
  4. FrankyTheFish

    Reading from a file

    I've been trying to find some information on stringRead do you know of any sites or book would have info as to how to use it? Thanks again, Frank
  5. FrankyTheFish

    Reading from a file

    Hey guys quick question. I'm trying to read information from a file. This is the error I'm getting and below the code I'm using. I'm trying to read any file name. The first file is for the song, the second file is for the sound effects. So the names have to be anything that the user wishes...
  6. FrankyTheFish

    get getline functions - quick question

    Thanks for the input guys!
  7. FrankyTheFish

    get getline functions - quick question

    What I'm trying to do is to create a class that will ultimatly be used to have file from which the game will get all the eidtalbe variables, such as much, sounds effects and game parameters. Now I haven't used ifstream in a very long time, I've tryed a few ways and can't seem to get it to work...
  8. FrankyTheFish

    C2143: syntax error : missing ';' before '.'

    muchos gracias senior! Thank you very much
  9. FrankyTheFish

    C2143: syntax error : missing ';' before '.'

    Hey guys, I have a quick question, I'm working with SDL and SDL mixer to get music working in our game. Right now I'm trying to create a way for the users to customize the sounds in the game through a text file. When using ifstream I'm getting this error, I hgave no idea what started to cause...
  10. FrankyTheFish

    Going from the main SWF file to a child file and back again

    Hey guys, we're looking at one of the final problem flash is causing us. In the following code you can see what we do load our flash game. WE have 2 seperate levels which we call. Now once we're in level 1 what can be done to tell level 1 to end so that level 2 can start from the main file...
  11. FrankyTheFish

    Preloaders and swf files

    And for got to mention, thanks for taking the time to answer if you have any insight on this. Frank
  12. FrankyTheFish

    Preloaders and swf files

    I have a question regarding how a preloader works. I have a preloader and if I put alot of content in this file I then am able to use the preloader. Now the way we have our game structured. We have each level in their own swf file which we use loadmovie to initialized each level. The problem...
  13. FrankyTheFish

    looping music

    Adding .5 seems to do the job! Thank you very much!
  14. FrankyTheFish

    looping music

    I have an odd problem. We're making a game. When we started the music would loop no problem. So we're almost done with the game and I decide to make better music for the game. It loops perfectly when you play it on any player but in the game it doesn't loop anymore like it did before, there's...

Part and Inventory Search

Back
Top