Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rubatopy/rubato

A lightweight, developer-first game engine built for Python
https://github.com/rubatopy/rubato

2d-game-engine educational educational-resources educational-technology engine game-development game-engine physics python python3 rubato sdl2

Last synced: 1 day ago
JSON representation

A lightweight, developer-first game engine built for Python

Awesome Lists containing this project

README

        

# rubato

[![Lisence](https://img.shields.io/github/license/rubatopy/rubato?style=flat-square)](https://www.gnu.org/licenses/gpl-3.0.html)
[![PyPI](https://img.shields.io/pypi/v/rubato?style=flat-square)](https://pypi.org/project/rubato/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/rubato?style=flat-square)](https://pypi.org/project/rubato/)
[![GitHub Release Date](https://img.shields.io/github/release-date/rubatopy/rubato?style=flat-square)](https://github.com/rubatopy/rubato/releases)
[![GitHub Build Status](https://img.shields.io/github/actions/workflow/status/rubatopy/rubato/tests.yml?branch=main&style=flat-square)](https://github.com/rubatopy/rubato/actions/workflows/tests.yml)
[![GitHub Docs Status](https://img.shields.io/github/actions/workflow/status/rubatopy/rubato/nightly.yml?branch=main&label=docs&style=flat-square)](https://rubatopy.github.io/)

[Discord Server](https://discord.gg/rdce5GXRrC)
 
[Twitter Page](https://twitter.com/rubatopy)
 
[Linkedin Page](https://www.linkedin.com/company/rubatopy/)
 

rubato is a modern 2D engine for game developement in python built in Cython using SDL2. It is aimed to aid in rapid prototyping and educational development of games as a stepping stone towards AAA tools such as Unity. rubato is more robust than its competitors, with a more intuitive syntax, high customizability, and zippy performance.

Here are some features we're especially proud of:

- Powerful Rigidbody Physics
- Event Subscription/Listener System
- Spritesheets and Animations
- Particle Systems
- Tiled / Tilemap Support
- Multichannel Sound System
- Antialiasing + Anisotropic Filtering
- Collision Optimization with Quadtrees
- Texture-based Hardware Acceleration
- User Interface Elements
- And more!

1.0 is the latest API-stable release as of Dec. 31 2022, and we plan to maintain backwards compatibility in future releases. Please note that the alpha versions (0.x.x) are now deprecated and it is strongly recommended to update in order to get the latest features and optimizations.

_Wondering about the name? rubato is a music term that indicates a phrase that should be performed expressively and freely. We aim to harness that same freedom, bringing a fresh, modern take on game developement in python to a variety of users regardless of their coding background._

## Getting Started

Using rubato is super easy. Just install rubato through pip in a terminal:

```bash
pip install rubato
```

After that, getting a window up takes only 3 lines of code!

```python
import rubato as rb

# initialize rubato
rb.init()

# launch the window
rb.begin()
```

Check out our [tutorial](https://docs.rubato.app/latest/tutorials/platformer/) to learn more about what you can do with rubato.

#### Changelog

See [CHANGELOG.md](https://github.com/rubatopy/rubato/blob/main/CHANGELOG.md)

#### Looking to contribute to rubato?

See [CONTRIBUTING.md](https://github.com/rubatopy/rubato/blob/main/CONTRIBUTING.md). And join our [discord](https://discord.gg/rdce5GXRrC)!

A big thank you to all of our [contributors](https://github.com/rubatopy/rubato/blob/main/CONTRIBUTORS.md) who help make this project possible.

#### Code of Conduct

See [CODE_OF_CONDUCT.md](https://github.com/rubatopy/.github/blob/main/CODE_OF_CONDUCT.md).