Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (577)
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 6170 times)
0 Members and 1 Guest are viewing this topic.
Offline hejfelix

Junior Duke





« Posted 2009-01-11 17: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

Innocent Bystander





« Reply #1 - Posted 2009-01-19 04: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 Duke





« Reply #2 - Posted 2009-01-19 09: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!
Legends of Yore - The Casual Retro Roguelike
Offline aldacron

Senior Duke


Medals: 9
Exp: 16 years


Java games rock!


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

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

Junior Duke





« Reply #4 - Posted 2009-01-20 12: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 18: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
« Reply #6 - Posted 2009-04-07 20: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.

 

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

The first screenshot will be displayed as a thumbnail.

Longarmx (49 views)
2014-10-17 03:59:02

Norakomi (38 views)
2014-10-16 15:22:06

Norakomi (31 views)
2014-10-16 15:20:20

lcass (35 views)
2014-10-15 16:18:58

TehJavaDev (65 views)
2014-10-14 00:39:48

TehJavaDev (65 views)
2014-10-14 00:35:47

TehJavaDev (55 views)
2014-10-14 00:32:37

BurntPizza (72 views)
2014-10-11 23:24:42

BurntPizza (43 views)
2014-10-11 23:10:45

BurntPizza (84 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!