A user friendly game engine written in Rust
Test project: rust-snake
| Dependency | Online Docs | |---------|------|------------| | rust-graphics | rust-graphics docs | | rust-png | rust-png docs | | rust-sdl2 | rust-sdl2 docs | | glfw-rs | glfw-rs docs | | hgl-rs | hgl-rs docs | | gl-rs | gl-rs docs |
If you are starting a new project, Rust-Empty will automate the setup of directories for you.
When you have set up your project, you can build Piston.
Piston can either be compiled as a static or dynamic library (or both).
One way to simplify working with multiple projects on the same machine is to symlink the '.rlib' directly into the next project with the command ln -s <from> <to>
.
Build the dependencies and put the '.rlib' files to '/target/cpu-vendor-os/lib/'.
In the Terminal window, navigate to the project folder and type:
make
This gives you a new '.rlib' file in the '/target/cpu-vendor-os/lib/' folder to put in your project.
The default make command can be modified by setting DEFAULT = make dylib
in the Makefile
.
2D will be first priority, but we encourage people to experiment with 3D as well.
- Test the design and performance of Rust-Graphics
- Experiment with Rust-ish game design and collect feedback
- Experiment with actor/events AI modelling
- Experiment with multiplayer architectures
- Make more people use Rust for game development
- Multi-platform game development