UnityCsReference
osu-framework
Our great sponsors
UnityCsReference | osu-framework | |
---|---|---|
58 | 7 | |
11,389 | 1,561 | |
1.2% | 1.9% | |
7.4 | 9.9 | |
about 13 hours ago | 5 days ago | |
C# | C# | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
UnityCsReference
-
Anyone know what Unity's Matrix4x4 looks like internally?
I've checked their CS reference code on their Github, both here and here, but I want to dive a little deeper - specifically, I want to know what they're actually doing when determining validity of the Matrix4x4.
-
Torn between chossing Unity & C# or going UE5 and C++. What made you choose unity?
Yep, but beyond just decompiling it, the c# layer of code is on GitHub: https://github.com/Unity-Technologies/UnityCsReference
- 2 minutes of silence for those who bought RTX 3070 and RTX 3070Ti
-
Do you use System.Object.ReferenceEquals() ?
https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/Scripting/UnityEngineObject.bindings.cs (after 2019.1)
-
Custom method attribute for Animation Event Functions
The code where the method filtering for the Animation Event Inspector is done, is here (line 190). Is it possible to do something like this? That repository explicitly says:
- Can’t find operation
-
Bounds.Encapsulate precision loss?
No reason, you can look at the source of encapsulate
-
Modify Project Setting's "Default Quality Level" by script
There isn't really a straight forward way to do this, even the QualitySettings editor uses Serialised Properties to get at the data. (Line 343 in QualitySettingsEditor)
-
Has any indie dev got (read-only) access to Unity source? How much did it cost?
This is awesome, thank you! I'm most curious about their Runtime
-
Is C++ still the language when entering 3D programming in 2023?
I think if you want to get into graphics programming you do want to work with OpenGL and similar things, because at the very least you need to understand it all (and decide what parts of engines to use and what to ignore when you get to whole games). It's also worth saying that while you can only publicly get the references in Unity you do get source access at the higher subscription tiers you'd use at a game studio.
osu-framework
-
Announcing Masonry 0.1, and my vision for Rust UI
Related to your vision, you should definitely take a look at osu!framework. It's an open-source C# game engine, focused on 2D rendering and UIs. You can see the biggest example of it being used is, of course, osu! itself (osu!lazer, next iteration of osu!). It is so good that it has become my standard in terms of visual design and UI features.
- How exactly does osu! sync the game to the audio?
- Ask HN: Examples of Top C# Code?
-
Frui: a developer-friendly framework for building user interfaces in Rust
An API I particularly like for this is how osu!framework does it.
-
I am thinking of going to Linux with Windows 11 on the way
Almost unrelated, but for game development (in C#), you might wanna look into the osu!framework, if at least just out of curiosity. It is a free and open-source game engine developed by peppy, the developer of osu!. You would also be able to develop on Linux (where programming tools really shine if you ask me) using VSCode and have neat things like visual tests and other stuff I haven't looked into.
-
Is there a way to use touchpad with osu!lazer?
it seems that despite using SDL, if you have "raw input" checked, it still uses the osuTK mouse input handler (https://github.com/ppy/osu-framework/blob/b97c26a684dc8ded5a349d24f8664a4f4b8c42a4/osu.Framework/Platform/DesktopGameHost.cs#L133, that's good)
-
Please recommend a Cross-Platform Game Library
My Favourite Graphics Engine at the moment is defnitly osu.Framework, you can find it here: https://github.com/ppy/osu-framework It can compile to .NET 5 and .NET 5 is cross platform now and the osu-framework makes smooth looking UIs with fancy transitions really really easy, it has some Audio Stuff in there aswell if you are looking to do something like that
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
osu - rhythm is just a *click* away!
ILSpy - .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
o3de - Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
Raylib-CsLo - autogen bindings to Raylib 4.x and convenience wrappers on top. Requires use of `unsafe`
MonoGame - One framework for creating powerful cross-platform games.
tinyraycaster - 486 lines of C++: old-school FPS in a weekend
BEPUphysics - Pure C# 3D real time physics simulation library, now with a higher version number.
astc-encoder - The Arm ASTC Encoder, a compressor for the Adaptive Scalable Texture Compression data format.
FNA - FNA - Accuracy-focused XNA4 reimplementation for open platforms
oqtane.framework - CMS & Application Framework for Blazor & .NET MAUI
Wave Engine - This repository contains all the official samples of Evergine.