osu-framework
osu-framework copied to clipboard
A game framework written with osu! in mind.
ObjectDisposedException.ThrowIf(), ArgumentException.ThrowIfNullOrEmpty() and the ArgumentOutOfRangeException methods have been introduced in .NET 7/8
This happens quite rarely, but I managed to have it happen in `TestSceneWindowModeResizedEvent` while I was investigating https://github.com/ppy/osu/issues/26865 (they don't seem to be relevant at first glance since I can...
Resolves https://github.com/ppy/osu-framework/issues/6157 Consider this an RFC. The way structs are handled right now is a mess. If I (as the person who wrote all of this) can't understand how they're...
This PR lets Android devices use SDL for windowing/input. osuTK usage got removed in the process of doing it. It also removes Android input handling code and replaces them with...
Prerequisite: - [ ] #6153 (TODO: Update NativeLib in this PR after the the other PR is merged) macOS and Windows already use versioned files, e.g. `libavutil.56.dylib`, `avutil-56.dll`. Linux uses...
Please note that this is my first proper C# project. I got interested by #2784, and I started learning C# just because I wanted to try making it. I ended...
Partially does #6150 . Exposes area position / size bindables, implements their application. Manually tested this in different scaling modes with different window sizes/positions on display, seems to work as...
- Closes https://github.com/ppy/osu/issues/11143 - Closes #5767 - Alternative to / closes #5774 This PR does two things combined into one PR (to help see the full picture, as it's hopefully...
- Closes #5616 As explained in the issue, the current way doesn't work on Android, as it basically tests whether `osu.Framework` is built in `Debug`. So instead store and check...
Currently it's nullable, which makes usage a bit annoying. Should always be cached as `default` if not present.