diff options
Diffstat (limited to 'DerechosSprites.py')
-rw-r--r-- | DerechosSprites.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/DerechosSprites.py b/DerechosSprites.py index 4c3e877..58ff133 100644 --- a/DerechosSprites.py +++ b/DerechosSprites.py @@ -180,7 +180,7 @@ class BoySprite(AnimatedSprite): def draw_grid(grid,screen): for yi in range(18): for xi in range(24): - if grid[yi][xi] == 1: + if grid[yi+1][xi+1] == 1: pygame.draw.rect(screen,(100,100,100),(xi*50,yi*50,50,50),2) @@ -269,8 +269,8 @@ if __name__ == "__main__": [1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1], [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]] - #font24 = pygame.font.Font(None, 24) - font24 = pygame.font.Font("/home/gabriel/PC Senior Regular.ttf", 12) + font24 = pygame.font.Font(None, 24) +# font24 = pygame.font.Font("/home/gabriel/PC Senior Regular.ttf", 12) txts = ["Hola, yo soy Pancho", "No creo que consigas\nnada siguiendome", |