Scythe
SCYTHE is a lightweight, C#-based game engine focused on modifiability and rapid iteration using Raylib.
Yet another raylib Nim wrapper
git clone https://github.com/planetis-m/naylib.gitplanetis-m/naylibWelcome to this repository! Here you'll find a Nim wrapper for raylib, a library for creating 2D and 3D games. The Nim API is designed to be user-friendly and easy to use.
To learn more about how to use this wrapper, you can check out the documentation:
If you're familiar with the C version of raylib, you may find the cheatsheet useful. When porting C code to Nim, also refer to the raylib translation guide
Install naylib easily with nimble install naylib.
For Linux users only: Ensure you have the required dependencies installed using your distribution's native package manager.
We've also provided some example code to help you get started. You can find it in the
accompanying example repository.
To compile and run an example: nim c -r -d:release example.nim
Naylib introduces several improvements and changes compared to the original Raylib. For a comprehensive overview of these changes, including memory management, naming conventions, and API improvements, please refer to our Changes Overview document.
Unload* functions using Nim’s memory model.initWindow and closeWindow with defer or owning objects.vmath or glm.Covers compilation flags, platform targets, graphics backends, and deployment.
For contributors and maintainers:
For an AI-generated overview of the project:
| Target | Windows | Linux | macOS |
|---|---|---|---|
| Native | Supported, Tested | Supported, Tested | Supported, Tested |
| WebAssembly | Supported, Tested | Supported, Tested | Supported, Tested |
| DRM | N/A | Supported | N/A |
| Android | Supported, Tested | Supported, Tested | Possibly Works |
| Windows (Cross) | N/A | Supported, Tested | Untested |
While we believe that Naylib provides a great option for game development with Nim, we understand that it may not be the perfect fit for everyone. Here are some noteworthy alternatives:
For a comprehensive list of game development resources in Nim, visit awesome-nim.
We welcome contributions! Whether it's bug reports, feature requests, or code contributions, please feel free to engage with our project.
Naylib is open-source software licensed under the MIT License.
Please note that the raylib source code included in this distribution is licensed under the zlib license.
For support and discussions, join us on Discord:
more like this
SCYTHE is a lightweight, C#-based game engine focused on modifiability and rapid iteration using Raylib.
.Net 10 (.Net 8+) webassembly starter project using raylib-cs nuget 7.0.2 and raylib 5.5
search projects, people, and tags