Si aún no has instalado Pygame, las instrucciones para hacerlo se encuentran en la sección antes de empezar.
If you haven't installed Pygame yet, directions for installing Pygame are available in the before you begin section.
Todas las funciones de dibujo Pygame requieren de un parámetro pantalla para que Pygame sepa sobre qué ventana debe dibujar.
All the Pygame draw functions require a screen parameter to let Pygame know which window to draw on.
PyGame dispone de código para desplegar imágenes de fondo, para crear sprites y moverlos sobre el fondo elegido y para detectar cuándo los sprites chocan entre sí y hacer algo cuando esto sucede.
PyGame has code to display background images, to create sprites and move them around on the background, and to detect when sprites collide with one another and do something when that happens.
Simpy Dos Grandes es un software gráfico gratuito escrito en Python y PyGame y diseñado para actuar como un simple juego de póquer usando la regla de Big Taiwán Dos.Para jugar al juego usan el botón derecho del ratón para seleccionar las cartas y el botón...
Simpy Big Two is a free graphical software written in Python and PyGame and designed to act as a simple poker game using the Taiwan Big Two rule.To play the game use the right mouse button to select cards and the left mouse button to show cards or pass...
Ver: COMO desarrollar video juegos para comenzar a usar Python, Pygame y OLPCGames para desarrollar para la OLPC.
See: Game development HOWTO to start using Python, Pygame and OLPCGames to develop for the OLPC.
El código anterior inicializa Pygame y crea una ventana para el juego.
The code above initializes Pygame and creates a window for the game.
Pygame es un conjunto multiplataforma de módulos Python diseñado para crear juegos.
Pygame is a cross-platform set of Python modules designed for creating games.
Este código puede usarse como plantilla general para cualquier programa Pygame.
This code can be used as a base template for a Pygame program.
Pygame dibujará el sprite donde se encuentren esos atributos x e y.
Pygame will draw the sprite where the x and y attributes are.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple