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:
from csgame import *

features

csgame.colour

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

csgame.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

csgame.player

provides basic player movement

TopDownPlayer - simple top-down style player movement

SideScrollPlayer - simple side scroll player movement with gravity

csgame.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.2.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csgame-0.2.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file csgame-0.2.1.tar.gz.

File metadata

  • Download URL: csgame-0.2.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for csgame-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c3c3c57a7c9708982afc32a82dcce7049aada729687530485243e72c6a05a7d8
MD5 012c7c3eb7a60ecc693180930ab6a6ba
BLAKE2b-256 b5effea47697f05b04e8da45bf8ac4612a1725a7d1d4459088d64a21aca1217f

See more details on using hashes here.

File details

Details for the file csgame-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: csgame-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for csgame-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a75573a4c6b02f05ee43abbaf87e9a2e4f4a04b01a1d13a6809be06ee5c00bd
MD5 5b2e276dfeda11a043132abd0e379fe7
BLAKE2b-256 f782b8630e117d17477f4109c5a64cca1d6e7c7fbd13bdb1dfd4a12b59cd987f

See more details on using hashes here.

Supported by

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