|
Post by Wayne Rayner on Nov 7, 2012 18:05:31 GMT -5
Hey guys, I would like you to test this program out for me. The file requires sounds so I am uploading the program to a .zip file. The program sounds work, but the program crashes every time you click the newgame (The only button that works) I dont understand why. I know it has something to do with the sounds though. I am going to be using this for all my games if it works otherwise I just won't have hover/click sounds playing in my game Regards Wayne Rayner Attachments:
|
|
|
Post by shadow008 on Nov 7, 2012 23:22:19 GMT -5
Two things: 1) Add a WaitTimer(1000.0/30.0) at the end of your main loop. If you have a fast computer (like I do), the sound goes completely ape shit 2) The program doesn't "crash", it ends. After you goto sub "new", it will run everything up to "print "New Game Setup" " , but there's no code to execute after that, so it ends. Not a crash, it's just not complete. And by the way, you should try moving towards sub() and function() over "subID:" and "goto". It makes for easier code reading, and is sorta better practice. Good luck with your project stuff!
|
|