How do I add sound to my working keypress event for the spacebar?
posted 1 year ago
My keypress events already work fine and shoot a sword when the space bar is pressed. Now I want to add sound to that already working code. I don't want to have to write a whole new class just for sound, so is that possible? This is the working code for my Zelda program: