Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (491)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (555)
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  
  do these sounds work for you?  (Read 1545 times)
0 Members and 1 Guest are viewing this topic.
Offline weston

Junior Member





« Posted 2004-11-20 03:57:56 »

I started writing the sound stuff for my game engine tonight and I decided to go with Java Sound/Jorbis (since its for applets). I came here to see what was going on with Java Sound and the first 10 threads or so scared me Shocked I tried using the workaround posted by yuri, but there is no place where I could even use a Mixer object in my code since I'm playing my sounds a bit different (based on examples from the book: Developing Games in Java). So I was just wondering if I could get a few people to test the applet on their computers so I can try and fix any problems that may occur (BTW, it has worked on several computers with winxp + jdk1.5 or 1.4.2_05 so far). here is the link: http://www.cyntaks.com/projects/wjge/test.html P and O will play sounds. Let me know what java version and OS you are using if it crashes or doesn't play, thanks!

for(int i = 1; i > 0; i++)
{
System.out.println(i+" cups of java downed");
}
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #1 - Posted 2004-11-20 05:32:04 »

Problems with my configuration  : win98se, jdk1.5
sounds are "sliced" (like with my groovebox 505 preferred FX), but i don't think  it's what is expected....

I've seen this sometimes when CPU is overloaded (my pc is getting older and older).

Lilian

Offline weston

Junior Member





« Reply #2 - Posted 2004-11-20 05:43:53 »

hmm, perhaps that is just the strain of the program on your cpu. Repainting a 640x480 background and 200 sprites 50 times a second may be a bit too much for your processor. Area your fps extremely low (shown in the top left)? that would tell me for sure if thats the only problem.

for(int i = 1; i > 0; i++)
{
System.out.println(i+" cups of java downed");
}
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #3 - Posted 2004-11-24 05:38:27 »

49-51 fps... doesn't seem to low... but vorbis is cpu-intensive and the computer I test on is only at 800Mhz

Lilian



Offline weston

Junior Member





« Reply #4 - Posted 2004-11-24 19:41:12 »

yeah, I cap it at 50 so its not the rest of the demo... I guess I'm going to have to be careful about where I use sounds if its using that much cpu. For anyone else that wants to test it, here is a slightly more entertaining demo: http://www.cyntaks.com/projects/wjge/collisiontest.html

for(int i = 1; i > 0; i++)
{
System.out.println(i+" cups of java downed");
}
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.

Nickropheliac (15 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

CopyableCougar4 (29 views)
2014-08-22 19:31:30

atombrot (41 views)
2014-08-19 09:29:53

Tekkerue (38 views)
2014-08-16 06:45:27

Tekkerue (35 views)
2014-08-16 06:22:17

Tekkerue (25 views)
2014-08-16 06:20:21

Tekkerue (34 views)
2014-08-16 06:12:11

Rayexar (72 views)
2014-08-11 02:49:23

BurntPizza (48 views)
2014-08-09 21:09:32
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!