Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (289)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  OGG and WAV sound-framework, interested?  (Read 5366 times)
0 Members and 1 Guest are viewing this topic.
Offline hejfelix

Junior Member


Projects: 1



« Posted 2009-01-11 18:56:40 »

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):
1  
2  
3  
4  
5  
...
//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:
1  
2  
3  
4  
5  
6  
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();

<i8b4uUnderground> d-_-b
<BonyNoMore> how u make that inverted b?
<BonyNoMore> wait
<BonyNoMore> never mind
Offline jpavel

JGO Visitor




« Reply #1 - Posted 2009-01-19 05:09:34 »

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
Offline hejfelix

Junior Member


Projects: 1



« Reply #2 - Posted 2009-01-19 10:13:32 »

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,
Jessety


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.

http://yage.sourceforge.net/

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  Smiley

<i8b4uUnderground> d-_-b
<BonyNoMore> how u make that inverted b?
<BonyNoMore> wait
<BonyNoMore> never mind
Games published by our own members! Check 'em out!
Try the Free Demo of Revenge of the Titans
Offline aldacron

Senior Member


Medals: 4


Java games rock!


« Reply #3 - Posted 2009-01-19 11:22:18 »

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

Junior Member


Projects: 1



« Reply #4 - Posted 2009-01-20 13:43:00 »

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 Sad

<i8b4uUnderground> d-_-b
<BonyNoMore> how u make that inverted b?
<BonyNoMore> wait
<BonyNoMore> never mind
Offline Cero
« Reply #5 - Posted 2009-02-04 19:11:10 »

volume control ? thats often missing in java =)

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

Offline gouessej

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #6 - Posted 2009-04-07 22:56:51 »

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

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (60 views)
2013-05-17 21:29:12

alaslipknot (69 views)
2013-05-16 21:24:48

gouessej (99 views)
2013-05-16 00:53:38

gouessej (98 views)
2013-05-16 00:17:58

theagentd (107 views)
2013-05-15 15:01:13

theagentd (98 views)
2013-05-15 15:00:54

StreetDoggy (144 views)
2013-05-14 15:56:26

kutucuk (167 views)
2013-05-12 17:10:36

kutucuk (166 views)
2013-05-12 15:36:09

UnluckyDevil (175 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.137 seconds with 21 queries.