Okay so I was given a project in which I am to make a simple audio game with a given set of audio files.
The basic idea is that I have 10 audio files, and the player will progress through the game given two choices at the end of each audio file. The user will use the up directional key or the down directional key to make their selection, and progress through the game.
it's like a tree. You start with two choices, and branch off from there.
I have an issue with getting through the game. I'm just using minim to play the audio files, and I can get one audio file to play, but I can't get it to go to another audio file. I want to avoid a switch because they're going to be nested and that gets confusing. I'd rather make separate classes and mesh them together.
But keyPressed only triggers once it seems. I can't get it to trigger more than once, so I can't progress through the game.
This is a really simple program, I don't know what I'm overlooking at all.