Home

Awesome

<p align="center"> <img width="500px" src="assets/o!f Logo Large FC.svg"> </p>

osu!framework

Build status GitHub release CodeFactor dev chat

A game framework written with osu! in mind.

Developing a game using osu!framework

If you are interested in creating a project using the framework, please start from the getting started wiki resources (or jump straight over to the project templates). You can either start off from an empty project, or take a peek at a working sample game. Either way, full project structure, cross-platform support, and a testing setup are included!

The rest of the information on this page is related to working on the framework, not using it!

Objectives

This framework is intended to take steps beyond what you would normally expect from a game framework. This means things like basic UI elements, text rendering, advanced input handling (textboxes) and performance overlays are provided out-of-the-box. Any of the osu! code that is deemed useful to other game projects will live in this framework project.

Requirements

Building

Build configurations for the recommended IDEs (listed above) are included. You should use the provided Build/Run functionality of your IDE to get things going. When testing or building new components, it's highly encouraged you use the VisualTests project/configuration. More information on this provided below.

Code analysis

Code analysis can be run with powershell ./InspectCode.ps1 or InspectCode.sh.

Contributing

Contributions can be made via pull requests to this repository.

If you're unsure of what you can help with, check out the list of open issues (especially those with the "good first issue" label).

Before starting, please make sure you are familiar with the development and testing procedure we have set up. New component development, and where possible, bug fixing and debugging existing components should always be done under VisualTests.

Note that while we already have certain standards in place, nothing is set in stone. If you have an issue with the way code is structured; with any libraries we are using; with any processes involved with contributing, please bring it up. We welcome all feedback so we can make contributing to this project as pain-free as possible.

We love to reward quality contributions. If you have made a large contribution, or are a regular contributor, you are welcome to submit an expense via opencollective. If you have any questions, feel free to reach out to peppy before doing so.

Licence

This framework is licensed under the MIT licence. Please see the licence file for more information. tl;dr you can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source.

The BASS audio library (a dependency of this framework) is a commercial product. While it is free for non-commercial use, please ensure to obtain a valid licence if you plan on distributing any application using it commercially.

Projects that use osu!framework

osu! – rhythm is just a click away!

GDEdit - A third-party Geometry Dash editor.

Vignette - An OpenCV-based facial recognition software for Live2D

IWBTM - A platform game with level editor based off of "I Wanna..." games

DeltaDash - A multi-direction, lane-based scroller rhythm game

fluXis - A community-driven rhythm game with a focus on creativity and expression

<!-- We love to see people using our framework! Add your project here via a PR! Conditions: - Must be a GitHub link (i.e. your project is open source) - Must be actively developed (and have executable releases) -->