sfml
High level OpenGL-based Game Library
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:23 |
Tags
Installation
nimble install sfml
choosenim install sfml
git clone https://github.com/fowlmouth/nimrod-sfml/
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| sfml | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/fowlmouth/nimrod-sfml/ |
|---|---|
| Homepage | https://github.com/fowlmouth/nimrod-sfml |
| Registry Source | nimble_official |
README
sfml-nimrod
This wrapper is outdated. Please use this newer CSFML wrapper: https://github.com/BlaXpirit/nim-csfml
Nimrod binding of SFML 2.0
This is only tested for Linux at the moment
What is needed for Windows / OS X?
- The library names need filling in
- TWindowHandle is handled differently on those platforms
I believe that is it
C++ caveats
At this point in time Nimrod needs a little work to support C++ constructors. If
you do var window = Window(args) this will not work, because sf::Window overrides
the = operator. Instead, you should declare the window and then call the #create
method on it: var window: TRenderWindow; window.create(args). Most of the SFML
interface is like this: var font: TFont; font.loadFromFile("somefont.ttf")