Hey guys,
I've had some trouble finding the answer to this. I'd like to implement audio into a game project I'm working on. I want to make it so that when a player lands on specific "tiles", a sound will play. How could I go about implementing sound into processing?
I'd like to be able to do something like.
if (playerX == tileX && playerY == tileY) {
Thanks!!!!!
I've had some trouble finding the answer to this. I'd like to implement audio into a game project I'm working on. I want to make it so that when a player lands on specific "tiles", a sound will play. How could I go about implementing sound into processing?
I'd like to be able to do something like.
if (playerX == tileX && playerY == tileY) {
play(soundfile.mp3);
}
Thanks!!!!!
1