void stopSound(musicchannel)
musicchannel = PlayMusic2(“data/discoserver.xm”,musicvolume,65000,MEDIUM_PRIORITY_MUSIC)
PlaySound2("data/orchhit.wav",soundvolume,0,0);
loadVars(“bublbust.sav”,”gamedata”)
loadVars(“bublbust.thx”,”register”)
saveVars(“bublbust.sav”,”gamedata”)
saveVars(“bublbust.thx”,”register”)
BeyondtheTech wrote:After much success with Bubble Buster (over 6300 downloads in one month!)
1. Using a script, if I run a saveVars() immediately before a LoadGame() in order to pass variables between the program, they sometimes do not save, especially if the program is stored on an SD card. The variables file comes out as 0 bytes. Is it perhaps because the I/O is slower and it didn't finish writing the data?
2. I am experiencing random crashes in the game. It only happens on the Pocket PC, never on the Windows platform. I thought it was narrowed down to usage of the stopSound()/PlaySound2()/PlayMusic[2]() commands, but perhaps it's a memory allocation error or leak, as it's more likely to happen upon the second or third launch of the module. Also, sometimes a soft reset of the Pocket PC won't work, requiring a full hard reset (or pulling the battery)! I usually thought the soft reset would work for any crash, but I pressed that hardware button and sometimes, it did nothing or just blank the screen!
Users browsing this forum: No registered users and 1 guest