The Nim GUI/2D framework based on OpenGL and SDL2.
|
4 lat temu | |
---|---|---|
.github | 4 lat temu | |
examples | 4 lat temu | |
src | 4 lat temu | |
tests | 4 lat temu | |
.gitignore | 4 lat temu | |
CODE_OF_CONDUCT.md | 5 lat temu | |
LICENSE | 5 lat temu | |
README.md | 4 lat temu | |
nodesnim.nimble | 4 lat temu |
nimble install nodesnim
or nimble install https://github.com/Ethosa/nodesnim.git
.nimble/bin/
folderWindow("Hello, world!")
var scene = Scene("Main") hello = Label()
hello.setText("Hello, world!") hello.setSizeAnchor(1, 1) hello.setTextAlign(0.5, 0.5, 0.5, 0.5) scene.addChild(hello)
addMainScene(scene) windowLaunch() ```
Now available
For use debug mode you should compile with -d:debug
or --define:debug
, e.g. nim c -r -d:debug main.nim
.
Use the Nim compiler user guide
for export to the other OS.
nim c -d:mingw -d:release --opt:speed --noNimblePath file.nim
Q: Where can I see examples?
A: You can see this in the tests
or examples
folder.
Q: Where can I read the docs?
A: You can read docs here