i am writing a piece of code which plays sounds depending on where mouseX, mouseY is on the screen.the instrument also changes after every 7th sound played. is it possible to display in text on screen what instrument is playing at any given time?
i am writing a program for a ping pong game which pauses/starts/stops the ball bouncing when the key 's' is pressed... i.e press 's', the game stops/pauses. by pressing 's' again the game continues. so far im using a boolean statement which pauses the game ok but how do i get it to continue when i press 's' again?