Jump to content
  • Advertisement

mikejr76

Member
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by mikejr76

  1. Hello, 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)?
  2. 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"); //soundEffect.Play(); // 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!
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!