zig-sfml-wrapper
zig-sfml-wrapper copied to clipboard
A zig wrapper for csfml
SFML 2.6
A new version of SFML and CSFML came out. I was wondering if someone will modify this wrapper to include new features ?
Many things have changed in the build system of zig in the last few versions and it won't build anymore.
with this: `sprite.setPosition(.{ .x = 500, .y = 350 });` I get this:  But with this: ``` var vec = sf.Vector2f.new(500, 350); sprite.setPosition(vec); ``` I get the expected result...
Maybe it should be a separate repo for a chat app
Now that almost eveything is wrapped, I'm thinking of wrapping the network module. It would make networking available without asding a dependency (plus sfml has cool things like http and...
It's kind of sad that everything needs allocation and thus a try to create it and a destroy. It would be great if some things could be on the stack...
I don't want to have 100 different functions for each encoding and comptime/not comptime, etc Maybe I should make a sf::String class but from zero that would pack a few...