Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 24 Feb 2012
Offline Last Active Apr 16 2012 05:51 AM

Topics I've Started

A few questions new to game dev

16 April 2012 - 12:11 AM

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)?

WaveBank Question (Noob)

29 February 2012 - 04:01 PM

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.

Thanks in advance!