No description
Find a file
2015-03-09 03:20:32 -05:00
doc updated docs 2012-09-27 23:18:48 -05:00
examples Added context to fix misbehaviour 2014-10-21 22:49:40 +02:00
.gitignore added .gitignore 2012-09-16 09:41:24 -05:00
csfml.nim microseconds -> proc Microseconds() (no new type) 2014-11-24 09:44:51 -06:00
csfml_audio.nim Minor fixes and case sensitivity 2014-11-21 12:25:35 -06:00
csfml_colors.nim updated references to sfml to csfml 2012-11-22 01:56:04 -06:00
README.md Update README.md 2015-01-11 20:07:57 -06:00
sfml.babel fixed the version 2013-12-29 19:28:25 -06:00
sfml.nim added C++ sfml wrapper (WIP) 2012-11-22 02:13:28 -06:00
sfml2.nim updates for sfml2 cpp wrapper 2015-03-09 03:20:32 -05:00

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")