Source

pygamegsoc12 / alchemymadness / main.py

Diff from to

File alchemymadness/main.py

             if e.type == KEYDOWN and e.key == K_s:
                 pygame.image.save(screen, "screeny.png")
                 
+            if e.type == KEYDOWN:
+                if e.key == K_LEFT:
+                    blks.action_move_left()
+                if e.key == K_RIGHT:
+                    blks.action_move_right()
+                if e.key == K_UP:
+                    blks.action_move_up()
+                if e.key == K_DOWN:
+                    blks.action_move_down()
+            
+
             if e.type == QUIT or e.type == KEYDOWN and e.key == K_ESCAPE:
                 going = False