Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: JavaFX media - yea or nay? on: 2013-10-14 19:31:53
Thanks for the replies.  Smiley Yeah, I didn't really like the look of JavaFX, though I do like Swing. Swing seems to do what it does very elegantly and robustly. Which isn't gaming, but ah well. (I did find that out by about my second learning-experience game, when I realized I would have to code everything more directly myself.)

I have nothing against ogg. I naively thought mp3 would be more widely supported. I probably will end up using Ogg if I don't go with the JavaFX media. I downloaded Paul Lamb's sound library yesterday. I'll try to figure it out later.

I'm going to do another newbie project first, then tackle LWJGL and 3D. If I ever do. 3D makes me dizzy.  Undecided
2  Game Development / Newbie & Debugging Questions / JavaFX media - yea or nay? on: 2013-10-14 16:37:39
Hi,

I've just started out with java and coding games in java. I made a simple minded little game and wanted to have some background music for it. I originally thought to use an mp3 for it. But no mp3 support in the java sound api... but it seems in java 7, javafx is included.  I don't really want to deal with javafx, but the Media and Mediaplayer part of it did exactly what I wanted (load mp3, play mp3, allow volume control and mute, all very simple to use). It seemed to have good speed, and didn't try to decompress the whole file at once or anything, etc.

However, when I tried to send the game to other people to test, I found that 2/3 of them didn't have Java 7 installed on their desktops.

Should I continue using the JavaFX bits and hope for the best? (everyone will update? Maybe?) Or try using some other library? (I did bash my head for awhile with javazoom... got jlayer player to work, but not basicplayer. Downloaded some of the suggested libraries from here but have only tried tinysound so far.).

Thanks.

Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

BurntPizza (16 views)
2014-09-19 03:14:18

Dwinin (34 views)
2014-09-12 09:08:26

Norakomi (61 views)
2014-09-10 13:57:51

TehJavaDev (84 views)
2014-09-10 06:39:09

Tekkerue (42 views)
2014-09-09 02:24:56

mitcheeb (64 views)
2014-09-08 06:06:29

BurntPizza (47 views)
2014-09-07 01:13:42

Longarmx (35 views)
2014-09-07 01:12:14

Longarmx (39 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19
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!