![]() ![]() #The next variable contains the location of the KS2 geography project logo. #To keep our score, we create a variable called score and set it to zero. #The audio for each of these functions should be in the same folder as this code. #Now we create three functions, these functions contain the code to play each audio track. #To use the audio facilities of Pygame we need to tell Pygame that we wish to use them. #To start pygame we need to initialise it. #Pygame is a series of multimedia tools that can create games using Python. #Time is a library that introduces the concept of time to the game. Is it possible to get the quiz to exit by hitting the cross button on window as at the moment it does not let you exit until you answered all 10 questions? #We start by importing a few libraries. ![]() mp3 files not playing just making a buzz noise for example every time you answer right or wrong instead of the actual sound? Can any one help with exiting the game and my.
0 Comments
Leave a Reply. |