godot-nim
gdnim
godot-nim | gdnim | |
---|---|---|
16 | 5 | |
494 | 54 | |
0.0% | - | |
0.0 | 0.0 | |
over 1 year ago | 7 months ago | |
Nim | Nim | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
godot-nim
-
Plans for Nim bindings for Godot 4
Since Godot 4 is gonna change their binding system the previous Nim bindings are not gonna work and the maintainers stated that they wont adapt the bindings to Godot 4.
-
Plans for Nim bindings for Godot 4?
Since Godot 4 is gonna change their binding system the previous [Nim bindings](https://github.com/pragmagic/godot-nim)
-
Programming a Rogue-Like with Rust
Another option is Nim. Looks and writes like Python but closer to C in performance. It also has static typing so I prefer it for scripting as well.
People have built a few games with the Nim Godot bindings:
https://github.com/pragmagic/godot-nim
There’s also an interesting project to do hot reloading using dlls:
https://github.com/geekrelief/gdnim
-
Inky: Isolation. A 90 minute game built with Enu, Nim and Godot
Enu is a 3D live-programming/learning/game development environment written in Nim using Godot 3, godot-nim, and godot_voxel. I use it to run a small local coding club with a group of 12 year olds, and think it is (or at least will be) a great tool for learning to code, and for making games quickly.
-
Is Nim right for me?
It uses a python-like language, is free & open-source (MIT License), has a fantastic GUI creation system, exports to all major OS's, and produces single small binaries. You could eventually incorporate Nim as well, as there are Nim bindings for Godot.
- How can I understand what "bindings to" libraries really do?
-
FYI, you can use Rust as a native scripting language
Ant then install the bindings. And thats where I'm a bit lost even after reading Godot docs. Not sure if I'm right, but seems to be necessary to compile Godot?
-
Nim Version 1.6 Released
Well no language is perfect, but Nim can be used in almost every domain because of it's compilation targets(C, C++, JS) and it's fast compile times(who needs interpretation when compile times are that fast!):
* Shell scripting, I still assume most people will just use Bash tho: https://github.com/Vindaar/shell
* Frontend: https://github.com/karaxnim/karax or you could bind to an existing JS library.
* Backend: For something Flask-like: https://github.com/dom96/jester or something with more defaults https://github.com/planety/prologue
* Scientific computing: the wonderful SciNim https://github.com/SciNim
* Blockchain: Status has some of the biggest Nim codebases currently in production https://github.com/status-im?q=&type=&language=nim&sort=
* Gamedev: Also used in production: https://github.com/pragmagic/godot-nim and due to easy C and C++ interop, you get access to a lot of gamedev libraries!
* Embedded: this is a domain I know very little about but for example https://github.com/elcritch/nesper or https://github.com/PMunch/badger for fun Nim+embedded stuff!
Most of the disadvantages come from tooling and lack of $$$ support.
-
Frustrating ergonomics of GDNative in 3.3 -- are these addressed for 4.0?
As for gdnim, it's my framework built on top of godot-nim. https://github.com/pragmagic/godot-nim https://github.com/pragmagic/godot-nim-stub
-
PR for cross-language script class support is testable! (`class_name` feature for GDScript, VisualScript, C#, and NativeScript)
I've renewed my enjoyment of programming through game development (an area I haven't been active in before) and had a great time implementing a Quadtree in GDScript but then the other problem of raw execution speed for any script language made that a bit disappointing as well (it worked well but was only an improvement for larger numbers). So now I'm learning Nim (which has godot-nim bindings) to be able to write really performant code in an easy way.
gdnim
-
Programming a Rogue-Like with Rust
Another option is Nim. Looks and writes like Python but closer to C in performance. It also has static typing so I prefer it for scripting as well.
People have built a few games with the Nim Godot bindings:
https://github.com/pragmagic/godot-nim
There’s also an interesting project to do hot reloading using dlls:
https://github.com/geekrelief/gdnim
-
How can I understand what "bindings to" libraries really do?
I've been down this road. I forked godot-nim to https://github.com/geekrelief/gdnim and have add several features. I've since moved on to working on https://github.com/geekrelief/tm-nim, a binding for The Machinery.
-
Frustrating ergonomics of GDNative in 3.3 -- are these addressed for 4.0?
I maintain a fork of the godot-nim binding https://github.com/geekrelief/gdnim/ All your issues I've dealt with by not relying on the godot editor. Instead I do all the setup with my build script which can generate the gdnlib, gdns, and tscn file for a node with script attached.
-
Godot 3.2 PR: all languages script class support and custom resource exports. Request for testing.
This is my first exposure to this and the proposal. I maintain a fork of godot-nim, https://github.com/geekrelief/gdnim. I know someone who was trying to exchange data between gdscript and godot-nim. Nim has a generic vector type: seq[T], and he was trying to expose that to gdscript. I told him to use an Array of Variants instead. Would this PR allow us to expose data structures from gdnative (or whatever) to gdscript?
-
I think Nim community should focus more on Godot engine.
I can't speak to the issues with setting things up. I never had a problem on Windows. But if you need help create an issue on the godot-nim repo someone might come along and help. I know at least one person that uses/used a mac to get godot-nim running. On my own repo, https://github.com/geekrelief/gdnim I plan to get osx working, but it's not my main dev machine.
What are some alternatives?
pixie - Full-featured 2d graphics library for Nim.
godot-lang-support - A community-maintained list of Language Support Projects for Godot Engine.
nvim-treesitter-textobjects
DPDK-WiFi - DPDK version with support for ath10k-based wireless NICs
nlvm - LLVM-based compiler for the Nim language
rfcs - Suggest changes to Bevy and view accepted designs
enu - A Logo-like 3D environment, implemented in Nim
Godot - Godot Engine – Multi-platform 2D and 3D game engine
httpbeast - A highly performant, multi-threaded HTTP 1.1 server written in Nim.
tm-nim - Nim binding generator for The Machinery
nim-fswatch - Nim wrapper for the fswatch library