Skip to content

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

Tutorial

List of games made with Piston

Piston online docs

How to contribute

| Dependency | Online Docs | |---------|------|------------| | rust-graphics | rust-graphics docs | | rust-image | rust-image docs | rust-png | rust-png docs | | rust-sdl2 | rust-sdl2 docs | | rust-sdl2_mixer | rust-sdl2_mixer docs | | glfw-rs | glfw-rs docs | | gl-rs | gl-rs docs | | hgl-rs | hgl-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

You can now use https://github.com/PistonDevelopers/piston-workspace repository to download and build Piston without having to set up symlinks manually.

Add libraries to your project

After building Piston, you need to add the '.rlib' files to your '/target/cpu-vendor-os/lib/' folder.

The folder is created first time you build. If you do not see the folder, type make exe.

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