Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (541)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (604)
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  Games Center / Archived Projects / Re: Psycho Engine on: 2010-01-24 20:59:04
pretty good
2  Games Center / Showcase / Re: Albion on: 2010-01-24 20:41:53
the applet loaded in about 2 seconds, how did you do that?

seems like a good game so far,
very smooth, but needs to have 'party mode' as others have mentioned
3  Java Game APIs & Engines / JavaFX / Re: How do you play a f**king sound? on: 2010-01-23 15:32:35
it seems you have to load a sound from a remote URl instead of locally,
images can be loaded locally however which confuses the issue,
 Huh

thanks for the help
4  Java Game APIs & Engines / JavaFX / Re: Crayon Physics on: 2010-01-20 20:22:20
tried it on opera and firefox, the logo just appeared for 5 minutes then I closed the tab
5  Java Game APIs & Engines / JavaFX / Re: How do you play a f**king sound? on: 2010-01-20 20:04:04
if this line is left out the sound doesnt play:
 repeatCount: MediaPlayer.REPEAT_FOREVER

but when it is included it  causes a heap error and crashes the program
6  Java Game APIs & Engines / JavaFX / Re: How do you play a f**king sound? on: 2010-01-20 04:47:19
still doesnt work
7  Java Game APIs & Engines / JavaFX / Re: How do you play a f**king sound? on: 2010-01-18 23:59:14
no didnt work
8  Java Game APIs & Engines / JavaFX / How do you play a f**king sound? on: 2010-01-18 21:29:20
Ive been trying for hours to play a WAV file but it always stays silent

heres my code
package soundboardfx;
import javafx.scene.media.MediaPlayer;
import javafx.scene.media.Media;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.HBox;
import javafx.ext.swing.SwingButton;




var player: MediaPlayer =  MediaPlayer {
    autoPlay: true
    //repeatCount: MediaPlayer.REPEAT_FOREVER
    volume: 1.0
    mute: false
    stopTime: 0s
    media: Media {
        source: "{__DIR__}areyouracist.wav"
    }
};

Stage {
    title: "meu barulhinho - MIDI file"
    width: 250
    height: 80
    scene: Scene {
        content: HBox{
            spacing: 10
            content: [
                SwingButton {
                    text: "play"
                    action: function() {
                        player.play();
                    },
                },
                SwingButton {
                    text: "pause"
                    action: function() {
                        player.pause();
                    }
                }]
        }
    }
};
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.

Mr.CodeIt (13 views)
2014-12-27 04:03:04

TheDudeFromCI (17 views)
2014-12-27 02:14:49

Mr.CodeIt (25 views)
2014-12-23 03:34:11

rwatson462 (56 views)
2014-12-15 09:26:44

Mr.CodeIt (46 views)
2014-12-14 19:50:38

BurntPizza (92 views)
2014-12-09 22:41:13

BurntPizza (113 views)
2014-12-08 04:46:31

JscottyBieshaar (86 views)
2014-12-05 12:39:02

SHC (96 views)
2014-12-03 16:27:13

CopyableCougar4 (102 views)
2014-11-29 21:32:03
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

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