diff options
| author | Grissess <grissess@nexusg.org> | 2015-08-23 23:49:11 -0400 | 
|---|---|---|
| committer | Grissess <grissess@nexusg.org> | 2015-12-17 05:01:43 -0500 | 
| commit | f18ab395dd37c90be120dcedbcd5a2c6c3540f94 (patch) | |
| tree | 1aa79fbb40807cf3d808bfea0c480e414093b5a2 | |
| parent | 833f48aba6781bf0d07917eba7ebfcbf24de6729 (diff) | |
Partial commit (last from cosi02!)
| -rw-r--r-- | piano.py | 8 | 
1 files changed, 4 insertions, 4 deletions
@@ -211,8 +211,8 @@ if options.keyboard:      pygame.init()      size = width , height = 640,360       screen = pygame.display.set_mode(size) -    #picture = pygame.image.load("aaaa.png") -    #surface = pygame.display.get_surface() +    picture = pygame.image.load("aaaa.png") +    surface = pygame.display.get_surface()      pitch = 60      velocity = 127      client_set = set(clients) @@ -220,8 +220,8 @@ if options.keyboard:      sustain_status = False      sharp = 0      while True: -         #surface.blit(picture,(0,0)) -         #pygame.display.update() +         surface.blit(picture,(0,0)) +         pygame.display.update()           for event in pygame.event.get():                if event.type == pygame.QUIT:                   pygame.quit()  | 
