Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (581)
Games in Android Showcase (162)
games submitted by our members
Games in WIP (632)
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 1701 times)
0 Members and 1 Guest are viewing this topic.
Offline weston
« 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: 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 Devvie

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).


Offline weston
« 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 Devvie

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


Offline weston
« 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:

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.

MrMapcom (19 views)
2015-05-23 20:26:16

MrMapcom (26 views)
2015-05-23 20:23:34

Waterwolf (32 views)
2015-05-20 15:01:45

chrislo27 (40 views)
2015-05-20 03:42:21

BurntPizza (73 views)
2015-05-10 15:53:18

FrozenShade (57 views)
2015-05-07 09:11:21

TheLopais (222 views)
2015-05-06 13:36:48

TheLopais (203 views)
2015-05-06 13:35:14

TheLopais (208 views)
2015-05-06 13:33:39

TheLopais (229 views)
2015-05-06 13:32:48
List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

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 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‑
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!