Zurück zum Artikel
Back to the article

Abspielen von Sound in Applets, Sound files in applets

Der Ball bewegt sich horrizontal über die Fläche des Applets und wird von der Wand zurückgeworfen. Dabei wird die Sounddatei bounce.au abgespielt

The ball is moving across the applet and is bounced if it is colliding with a wall. Everytime the ball is bouncing you can hear a soundfile!