A package to build games with ease.
Project description
pygame-builder
Introduction
Use this package to create a game in python in just a few lines of code. Built on top of Pygame, this module is perfect for beginners looking to make their first game. Experts may also find this useful when trying to save time. Enjooy!
Code Format
from pygame_builder import Pygame, Element
with Pygame(backgroundImage = image, size = [480, 270], windowCaption = "Pygame", fps = 60, backgroundColour = (0, 0, 0), backgroundSound = None) as pg:
element = Element(image, screen : pygame.Surface, centerPosition = [0, 0], speed = [0, 0])
pg.add(element)
pg.loop(lambda : element.bouncingAnimation())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygame_builder-0.1.4.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for pygame_builder-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d288c83a91aeeeea31725fb086e6ea030acc38d5ec88f1ad0024729b6160df50 |
|
MD5 | f2294c2d8b6192bbd47b17b9bd3c071f |
|
BLAKE2b-256 | 5be7b6627f3d44a40fa95a5ea1cce152359432d279ae61e13478b5e62acca474 |