Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

How to make a sound clip play on an event/trigger?

$
0
0

Hey guys,

Trying to have a sound clip play when something happens (e.g. an event occurs).

I'm building a game using Processing. How would I have a sound clip play during a custom event/trigger? For example, when a new level loads...or when my character gets hit. How do I have a sound clip occur during one of these events?


Viewing all articles
Browse latest Browse all 2896

Trending Articles