Skip to content

jble/piston

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piston

A user friendly game engine written in Rust

Test project: rust-snake

Piston online docs

How to contribute

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

Start new project with Piston

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>.

How to build Piston

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.

Compiling dynamic library

The default make command can be modified by setting DEFAULT = make dylib in the Makefile.

Goals

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

About

A user friendly game engine written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published