GithubHelp home page GithubHelp logo

pmdevita / boarhat Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.73 MB

๐Ÿ–๐ŸŽฉ A companion library for Pyglet that provides structure and utilities

License: MIT License

Python 100.00%
game-engine game-development

boarhat's Introduction

BoarHat

alt text

BoarHat is a companion library for pyglet that provides implementations of commonly used objects. It supports pyglet 1.3+ and Python 3+.

BoarHat itself is not a full game/graphics engine. Rather, it gives you structures to help manage your pyglet application and utilities to make common tasks easier.

BoarHat can will do

  • Scene and layer management
  • Layer translations that are useful for sidescrollers and overworlds
  • Support Tiled tile maps
  • Provide utilities like automatic anchor placement on images, a better keyboard input manager

and more!

BoarHat is in very early development. It's being written for PyWeek (provided I'll actually have time to participate).

Setup/Installation

Make sure you have pyglet

pip install pyglet

Then download this repo and run setup.py

python setup.py install

Usage

This will be explained in the wiki. For now, check tests/__init__.py to get an idea of what you can do.

To Do

Right now, I'm implementing basic functionality for scenes and layers. We'll then be creating several test projects to experiment with how this scene-layer-object abstraction works, determine it's pros and cons, and figure out what needs to be adjusted to make the experience better.

Other Information

Named "BoarHat" because it sits on top of pyglet (like a hat!) and because some of my consulting team was watching "The Seven Deadly Sins".

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.