1. pygame
  2. Untitled project
  3. pygamegsoc12

Commits

illume  committed 605eb4e

can control which player is being controlled by keys, by pressing keys 1-4

  • Participants
  • Parent commits 85da37e
  • Branches default

Comments (0)

Files changed (1)

File alchemymadness/main.py

View file
         for b in grd.blocks.blocks:
             sprites.add(b)
 
-    blks = grds.grids[0].blocks
+    # player index we are controlling.
+    which_player = 0
+    blks = grds.grids[which_player].blocks
 
 
     #TEST