https://github.com/matkuki/nim-impulse-engine
Nim port of a simple 2D physics engine
https://github.com/matkuki/nim-impulse-engine
nim physics-2d
Last synced: 4 days ago
JSON representation
Nim port of a simple 2D physics engine
- Host: GitHub
- URL: https://github.com/matkuki/nim-impulse-engine
- Owner: matkuki
- License: other
- Created: 2015-12-28T21:13:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-01T10:47:20.000Z (over 3 years ago)
- Last Synced: 2025-04-29T08:56:18.384Z (4 days ago)
- Topics: nim, physics-2d
- Language: Nim
- Size: 684 KB
- Stars: 21
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# Impulse Engine (Nim port)
### Descripton: ###
Nim programming language port of Randy Gaul's Impulse engine (https://github.com/RandyGaul/ImpulseEngine).
Thanks to Randy for a great educational tool.### License: ###
zlib license (check the License.txt file for more details)### Used libraries: ###
- nim-glfw (https://github.com/johnnovak/nim-glfw)
- opengl (https://github.com/nim-lang/opengl)
- libdrawtext (https://github.com/jtsiomb/libdrawtext)Additional information:
- For `nim-glfw` you will need the GLFW3 shared library (precompiled libraries can be found here: https://www.glfw.org/download.html)
- For `libdrawtext` you will need to compile the shared library from source and add it to your path. Follow instructions on: https://github.com/jtsiomb/libdrawtext### Installation: ###
[](https://github.com/yglukhov/nimble-tag)
Installation can be done using the Nimble package manager from the shell/command line (Nimble has to be installed):
```sh
$ nimble install impulse_engine
```
This also compiles impulse engine and let's you run it with `impulse_engine` in a console.### Notes: ###
On Windows (tested with mingw64-32) it should work out of the box, provided you have everything needed for openGL.
On GNU/Linux (tested on Lubuntu) you will probably need to install libmesa, Xcursor and other X development packages, and
I also had to create symlinks for libGL.so, libXi.so and libXxf86v.so.
If anyone is willing to try it on another platform, any feedback would be greatly appreciated.#### Screenshot: ####
### Video: ###
https://www.youtube.com/watch?v=AzA_owsZU04