Skip to main content

useful tools for pygame development

Project description

csgame

useful tools for pygame development

instructions

  1. Install:
pip install csgame
  1. Initialise in project:
import csgame

features

colours

dynamic colours with special features

BiColour - colour that can swap between 2 colours

BiColourSmooth - BiColour that has a smooth transition when swapping

FlashColour - colour that can momentarily flash to another colour

menu

useful tools for menus

Button - interactible button which can be pressed to perform an action

Menu - holds a collection of buttons and is responsible for updating them

player

provides basic player movement

TopDownPlayer - simple top-down style player movement

SideScrollPlayer - simple side scroll player movement with gravity

camera

manipulates how sprites are drawn as if a camera is looking at them

CameraSpriteGroup - sprite group which has a camera tracking a target

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csgame-0.1.1.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

csgame-0.1.1-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page