Skip to content

gabopython/aprende-python-programando-videojuegos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aprende-programacion-programando-videojuegos

por @gabopython

Curso de programación en youtube

drawing

instalar pygame en Windows

pip install pygame

Mac

pip3 install pygame

codigo base de pygame

import pygame
from pygame.locals import *


WIDTH, HEIGHT = 400, 500
screen = pygame.display.set_mode((WIDTH, HEIGHT))
clock = pygame.time.Clock()

# constants


# variables


while True:
    for event in pygame.event.get():
        if event.type == QUIT:
            quit()

    # code here

    pygame.display.update()
    screen.fill((0, 0, 0))
    clock.tick(30)

About

python, pygame, programacion desde 0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages