java

  1. Michael

    Tutorial FXGL Game Engine - getAudioPlayer(), playSound() with Example

    Hello there, when you writing your first game you will notice that there is a really fancy play() method to play sounds. However if you want to play a sound and stop it, you will have to add some more code. Here is an working example: Sound winSound = getAssetLoader().loadSound("sound.wav")...
Top