OGG and WAV sound-framework, interested?

Hey guys,

I am making a complete game engine kinda similar to LWJGL(but not nearly as complete or complex) and what not. Only this is almost a one-man project (friends help sometimes).

Currently I have some nifty stuff which works really well, and code is not as bad as it could be. My engine is only supposed to support 2d-graphics, and it does that in an easy way.

I am working on the sound package now, and it is coming along quite good actually. But there are mine flaws and neglects. It is very easy to use, and the sound is played very well through JOAL.

What I would like to know is if anyone is interested in working on the sound-package with me, or even the entire engine? If so, I will post the current work (and hope someone can host a repository, because I have little to no experience hosting repos).

So if you are interested in sound, namely wav and ogg through java, and feel the need to help a fun and small 2d game engine, post now!

c ya

-Felix

edit

Here’s a code teaser, to show you how easy the engine works(just off my mind, I dont have the code close right now):


...
//These two lines load and play a sound
Sound sound_bark = new Sound("bark.wav",true); //new Sound(String path,boolean isSFX)
sound_bark.play(1.0f,2.0f); //play(float volume, float pitch);
...

And loading+drawing a sprite from a spritesheet:


SpriteBuffer spriteBuffer = new SpriteBuffer("MainCharacter.png",4,4,128); //SpriteBuffer(String path,int rows,int cols,int dimension)

//optional gl.glPushMatrix();
//optional gl.glTranslated(pos.getX(),pos.getY());
spriteBuffer.drawWithBind(x,y); //drawWithBind(int rowIndex, int colIndex) represents the index of the frame in our spritesheet
//optional gl.glPopMatrix();

Hi Felix,

I don’t think I have the experience in Joal / gl to help you out, but I’d definitely be interesting in reading the code for and using your engine to learn from it!

Best,
Jesse

Hey there jpavel,

I have just started a sourceforge project for it, but I need to find time to upload the code in an acceptable state.

Here is the link to my project “Yet Another Game Engine”, but its empty right now. I will post somewhere on this forum when the small engine is uploaded and ready for people to try/read :slight_smile:

FYI: YAGE. That one is for the D Programming Language. Something to keep in mind.

That’s very unfortunate if they have the same name as my engine XD …I never heard of that one lol.

oh well, I guess i need to change the name for my project :frowning:

volume control ? thats often missing in java =)

I will look into your engine, easy, simple and not complex are the things I need

Hi!

Is it robust? I know the Java Sound API but not JOAL. Can you release the resources when you don’t need a sound? How do you handle the situations when there is no more available channel? Can you play the sound in streaming and in preloaded mode? I might be interested in your sound system.

N.B: LWJGL is not a game engine, it is a complete API that regroups several bindings (OpenGL, OpenAL, …).

Edit.: Where is the source code??? I don’t find it on sourceforge.net