Commit 2fd2ff41 authored by santiago duque's avatar santiago duque

added second button and logic to stop events as a test

parent 17ada246
...@@ -162,6 +162,7 @@ run = True ...@@ -162,6 +162,7 @@ run = True
while run: while run:
clock.tick(25) clock.tick(25)
print(btn1)
if btn1.is_pressed: if btn1.is_pressed:
play_sound(0) play_sound(0)
elif btn2.is_pressed: elif btn2.is_pressed:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment