I am new to game development, not new to Java. I recently made my first game. Kinda of a proof of concept. Its a space invaders / galga analog.
I made it in eclipse using swing/awt. My images are stored in an images file in the src folder and my sound effects in a sounds folder under src. Everything works fine running from eclipse. I tried making a runnable jar from eclipse. I have done this before and they worked fine, but not this game, maybe because of images and sounds. Then I tried to use launch4j. It runs but its missing the sounds and images. So:
1.Not wanting to use and applet what is the best way to package / distribute my games.
2.Are there any other libraries people are using for java 2D games besides swing and awt?
3.Is eclipse the best IDE for games in Java ( I know this my be strictly a matter of opinion)?
I am new to XNA. I am going through Aaron Reed's book. I am having a problem with using Xact. The audioEngine is fine. The GameAudio.Xap file is in my Audio folder. I get a file not found exception for the WaveBank.xwb.
protected override void LoadContent()
// Create a new SpriteBatch, which can be used to draw texture s.
spriteBatch = new SpriteBatch(GraphicsDevice);
audioEngine = new AudioEngine(@"Content\Audio\GameAudio.xgs");
waveBank = new WaveBank(audioEngine, @"Content\Audio\WaveBank.xwb");
soundBank = new SoundBank(audioEngine, @"Content\Audio\SoundBank.xsb");
// TODO: use this.Content to load your game content here
I guess I am a little confused. According to this book, if the xap file is there you code should have access to the WaveBank and SoundBank file.