GithubHelp home page GithubHelp logo

cryptigo / pyworks Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 28 KB

A basic, oop pygame framework, made to be expandable and facilitate faster development of games and visualizations.

Home Page: http://crydev.ca/pyworks

License: MIT License

Python 100.00%
python pygame gamedev pygame-framework game-framework 2d python3 oop b object-oriented-programming

pyworks's Introduction

UNMAINTAINED

PyWorks

License: MIT

A basic pygame framework, made to be expandable and facilitate faster development of games and visualizations.

This project was born out of a need for a multipurpose object oriented pygame program. This project takes heavy inspiration from how I code in C++.

Information

Currently, the framework includes:

  • Creating a window
  • Processing user input
  • Loading config externally
  • A debug FPS counter

Future plans

  • File based configuration (.ini)
  • Logging
  • Better documentation

Example Usage

import sys
import pygame
from .core.engine import Engine

engine = Engine()
engine.start()

while engine.running:
    engine.main_loop()
pygame.quit()
sys.exit(0)

Requirements

To install requirements you can run

pip install -r requirements.txt

Or you can install the packages manually if you want:

  • python >= 3.9
  • pygame >= 2.1.0

Licence

This project uses the MIT licence. Please view the LICENCE file for more information.

pyworks's People

Contributors

cryptigo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.