Game Development Community

Fresh install - PSK 2.0, Exception when run

by Brian Krabach · in Torque X Platformer Kit · 04/30/2009 (4:21 am) · 1 replies

I'm evaluating Torque X v2.0 and have worked through many of it's tutorials successfully (using C#EE 2005 & XNA 2.0). I decided to expand my evaluation and check out the PSK and downloaded version 2.0.

If I start a PlatformerStarterGame proejct, it compiles and I can run it just fine, but if I start a PlatformerDemo project, it compiles ok, but every time I run it, it gives me an "InvalidOperationException was unhandled" at Game.exe!GarageGames.Torque.PlatformerDemo.GameStarter.Main(), line 24: game.Run()

I've searched the forums and could not find any threads addressing this problem, so any suggestions would be appreciated.

#1
05/02/2009 (2:32 am)
I figured out what the problem was. The system I was building on did not have a sound card, so it was a problem initializing the audio system. I had a space sound card lying around, so after installing that, I tried it again and it compiled just fine.

FYI for anyone else who might encounter the same problem down the road :)