lordmauve/pgzero
lordmauve/pgzero has 613 GitHub stars and 211 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-14 06:30 UTC. Last push 2026-10-11.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
A zero-boilerplate games programming framework for Python 3, based on Pygame.
학습README.md
Original.. image:: https://img.shields.io/github/actions/workflow/status/lordmauve/pgzero/test.yml?branch=main :target: https://github.com/lordmauve/pgzero/actions/workflows/test.yml :alt: GitHub Test Status
.. image:: https://img.shields.io/pypi/v/pgzero :target: https://pypi.org/project/pgzero/ :alt: PyPI
.. image:: https://img.shields.io/pypi/dm/pgzero :target: https://pypistats.org/packages/pgzero :alt: PyPI - Downloads
.. image:: https://img.shields.io/readthedocs/pygame-zero :target: https://pygame-zero.readthedocs.io/ :alt: Read the Docs
Pygame Zero
A zero-boilerplate games programming framework for Python 3, based on Pygame.
Some examples
Pygame Zero consists of a runner pgzrun that will run a Pygame Zero script
with a full game loop and a range of useful builtins.
Here's some of the neat stuff you can do. Note that each of these is a self-contained script. There's no need for any imports or anything else in the file.
Draw graphics (assuming there's a file like images/dog.png or
images/dog.jpg)::
def draw():
screen.clear()
screen.blit('dog', (10, 50))
Play the sound sounds/eep.wav when you click the mouse::
def on_mouse_down():
sounds.eep.play()
Draw an "actor" object (with the sprite images/alien.png) that moves across
the screen::
alien = Actor('alien')
alien.pos = 10, 10
def draw():
screen.clear()
alien.draw()
def update():
alien.x += 1
if alien.left > WIDTH:
alien.right = 0
Installation
See installation instructions__.
.. __: http://pygame-zero.readthedocs.org/en/latest/installation.html
Documentation
The full documentation is at http://pygame-zero.readthedocs.org/.
Read the tutorial at http://pygame-zero.readthedocs.org/en/latest/introduction.html for a taste of the other things that Pygame Zero can do.
Contributing
The project is hosted on Github:
https://github.com/lordmauve/pgzero
If you want to help out with the development of Pygame Zero, you can find some instructions on setting up a development version in the docs:
http://pygame-zero.readthedocs.org/en/latest/contributing.html
관련 프로젝트 살펴보기
sindresorhus/awesome
😎 온갖 흥미로운 주제에 관한 Awesome 목록 [참고: 기존 풀 리퀘스트를 따라잡을 여유가 생길 때까지 풀 리퀘스트가 일시적으로 비활성화되어 있습니다]
536,602 스타EbookFoundation/free-programming-books
:books: 무료로 이용할 수 있는 프로그래밍 도서
401,568 스타nilbuild/developer-roadmap
개발자의 커리어 성장을 돕는 인터랙티브 로드맵, 가이드 및 기타 교육 콘텐츠.
371,975 스타vinta/awesome-python
“Python으로 X를 하고 싶은데, 어떤 도구를 써야 할까?”에 답하는 결정판 목록.
334,637 스타