Skip to main content

coda_kids

coda_kids is a partial wrapper package around pygame. It’s purpose is to make game development more accessible to a younger audiences of students. It provides inline documentation, wrappers for linter unfriendly features, and provides utility functionality/classes such as game objects and constants for common data such as colors and input.

It is currently being designed for and tested with a series of game programming exercises for an educational textbook titled Coda Kids.

The package is being designed and implemented with and for the following toolset:

Python 3.5.2 with latest Pygame and Pylint. Latest Visual Studio Code (1.11+ as of writting) with the Python extension installed.

Simple Example

import coda_kids as coda

WINDOW = coda.Vector2(800, 600)
SCREEN = coda.start(WINDOW, "Hello World!")
TEXT = coda.TextObject(coda.color.BLACK, 48, "Hello World!")
TEXT.location = WINDOW / 2 # center of window
TEXT.centered = True

while True:
    for event in coda.event.listing():
        if coda.event.quit_game(event):
            coda.stop()
    coda.start_draw(SCREEN, coda.color.WHITE)
    TEXT.draw(SCREEN)
    coda.end_draw()

To Do

  1. Add a 2D animation class supportable by objects.

  2. Runtime type checking for coda_kids class constructors and function arguments.

  3. Provide additional example code and documentation.

  4. Clean up object interface methods.

  5. Refactor finite state machine tools.

Change Log

0.2.4

  • Added opinional 2d sprite animation class for use with objects.

  • Added update loop for game objects that applies velocity and updates animations.

0.2.3

  • Added an output console utility for in window output text. It can be found in coda_kids.utilities.

  • Added support functions and documentation for starting and ending a frame.

  • Cleaned up and added documentation to the .rst file.

0.2.2

  • Updated git repo and setup/url information.

  • Added action system to coda for python class members. [Feature in Alpha]

  • Updated object class to properly scale objects with it’s scale member.

  • Moved standard library imports to coda_kids.utilities

0.2.1

  • Reformatted some of the library utilities.

0.2.0

  • Fixed some formatting issues with the setup.py file.

Release files for coda_kids 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coda_kids 0.2.4
File Size Uploaded
coda_kids-0.2.4.tar.gz 9.8 kB Details

Release files / coda_kids-0.2.4.tar.gz

Download URL coda_kids-0.2.4.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7657d64b2cd7b5c6153a89f4d89a6ed8e7de9204cd20dcad5fefa3e945b2a599
BLAKE2b-256 checksum
How to use checksums
ec46eeb97d1277fb3da71cbbcc8863a3a22b0ff877b978457edc16d69ac73baa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.4 This release

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page