All Projects → lordmauve → Pgzero

lordmauve / Pgzero

Licence: lgpl-3.0
A zero-boilerplate games programming framework for Python 3, based on Pygame.

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Pgzero

Mu
A small, simple editor for beginner Python programmers. Written in Python and Qt5.
Stars: ✭ 960 (+208.68%)
Mutual labels:  pygame, education
Presentations
DEPRECATED. Short, topic-focused instructor presentations that illustrate iOS and Swift concepts.
Stars: ✭ 304 (-2.25%)
Mutual labels:  education
Foxford courses
Шапка треда, посвященного курсам Фоксфорда и не только.
Stars: ✭ 268 (-13.83%)
Mutual labels:  education
Textbooks
Source code of Mathigon's interactive textbooks
Stars: ✭ 277 (-10.93%)
Mutual labels:  education
Haskell Study Startup
Launch your own Haskell study group. Now.
Stars: ✭ 269 (-13.5%)
Mutual labels:  education
Free Courses
A collection of free courses about programming 📖
Stars: ✭ 281 (-9.65%)
Mutual labels:  education
reactathon2017
Information and resources for Reactathon SF 2017
Stars: ✭ 16 (-94.86%)
Mutual labels:  education
Canvasapi
Python API wrapper for Instructure's Canvas LMS. Easily manage courses, users, gradebooks, and more.
Stars: ✭ 306 (-1.61%)
Mutual labels:  education
Flutter Firebase Quizapp Course
QuizApp Built with Flutter & Firebase
Stars: ✭ 301 (-3.22%)
Mutual labels:  education
Pythonturtle
A learning environment for Python suited for beginners and children, inspired by Logo.
Stars: ✭ 275 (-11.58%)
Mutual labels:  education
Livecodelab
a web based livecoding environment
Stars: ✭ 276 (-11.25%)
Mutual labels:  education
Awesome Courses
List of free online programming/CS courses [Massive Open Online Courses]
Stars: ✭ 273 (-12.22%)
Mutual labels:  education
Cs Field Guide
A free online interactive resource/textbook for high school students learning about computer science.
Stars: ✭ 287 (-7.72%)
Mutual labels:  education
Awesome Algorithms Education
A curated list to learning and practicing about algorithm.
Stars: ✭ 267 (-14.15%)
Mutual labels:  education
Awesome Symfony Education
Useful sources around Symfony - articles, series and books (not Bundles)
Stars: ✭ 305 (-1.93%)
Mutual labels:  education
schedulemaker
A course database lookup tool and schedule building web application for use at Rochester Institute of Technology.
Stars: ✭ 52 (-83.28%)
Mutual labels:  education
Crsfml
Crystal bindings to SFML multimedia/game library
Stars: ✭ 274 (-11.9%)
Mutual labels:  game-framework
Games
Create interesting games by pure python.
Stars: ✭ 3,431 (+1003.22%)
Mutual labels:  pygame
Submitty
Homework Submission, Automated Grading, and TA grading system.
Stars: ✭ 311 (+0%)
Mutual labels:  education
Oppia
A free, online learning platform to make quality education accessible for all.
Stars: ✭ 4,361 (+1302.25%)
Mutual labels:  education

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].