Menu

#1311 Runtime Error - Game Will Not Start

Bug report
open
Ashley
5
2011-05-16
2011-05-16
No

I study game development, and we\'ve been working with our first game in Construct for a couple of months now. It\'s been working great until last week, when I tried to add some sound to the game using XAudio2, and the two small sound effects I added worked just fine, but when I tried to add music, I couldn\'t get it to work.

I experimented a bit with it, when the game suddenly started crashing as soon as I clicked \'Run All\'. I managed to get the game running again after deleting everything related to the music.

I then decided to have a go at adding the music again, and dragged the music files into a folder called \'SFX\' in the AppPath. However, the game just started crashing again, and I haven\'t gotten it to work since.

I have deleted everything sound-related, even the XAudio2 object, and it still just crashes instantly. I tried reinstalling Construct, but no luck there either.

Fortunately, I made a backup file before all of this happened. It works, but after just a few minutes, that one started crashing too, so I went back to the original backup file and stared changing things around again. This time I made sure to make a new backup, so I didn\'t have to do it all over again.

And then the game started crashing again after I added another global variable. I deleted the crashing file and tried my latest backup (that worked just fine before), but now that one is crashing on startup too, so we\'re pretty much stuck if we can\'t get this to work :)

Note: I\'m new to programming and stuff like that, so the .cap is pretty messy and unoptimized. The problem may very well be caused by something I\'ve messed up, but if that\'s the case, I can\'t find the problem.

I uploaded the crashing .cap and the INI file I\'m using.

Thanks in advance for any help, and again, sorry for the bad \'coding\'. :)

Discussion

  • Timmie Pettersson

    The crashing .cap and the INI file.

     
  • Timmie Pettersson

    The working .cap (couldn't fit in the original upload))

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.