Hello,
i'm struck with a bug that just confuses me by now.
Some Information:
I'm developing with Game Editor on a windows engine.
My target plattform is an ipad 2.
I'm basicly only using the geplayer APP to play the Game.
My issue is with sounds.
I do no longer understand how to correctly include sounds in the game.
I only use PlaySound2 and .wav files.
However some files are playing, some are not. The size or bitrate seems to have no influence.
At first i read in another threat that i do need to move the wav files manualy to the iPad using the same ftp as for the geplayer.dat file.
That did work a long time. Still i recognized that the geplayer.dat file was easily big enough to include the sounds as well. It was just about the size of the "data" directory.
Now i have a sound, let's call it "short_5.wav" (205kb size; 1536 kb/s bitrate)
Whenever i try to play the sound the geplayer App dies. The behavior is just the same as if the sound wouldn't be found in the first place (and i asume that is what happens). I put the sound in directory on the iPad via ftp, i deleted it everywhere, saved the game an inlcuded the sound from scratch. I checked that it is included in the "data" directory. I checked the spelling, upcase/lowcase.
Nothing helped so far.
While i experimented with the sound i recognized that more strange things are going on: When i delete a sound called "short_2.wav" via ftp, or change it to another file (with the same name) it still plays the sound "short_2.wav" in the app despite the fact that it should be deleted (deleted on the ipad, in the directory accesible via ftp).
I read that to "control" which sound files are included in the export i would have to have at least one PlaySound2 function with the soundfilename included in the sourcecode. This is the case for all sounds including "short_5.wav" but it still doesn't find this sound.
So I'm totally confused by now.
Where should the sound files be stored?
What needs to be done to store them correctly?
Where does geplayer expect to find the sound files?
Thanks for any help,
Athistaur