Skip to content

Code template to quickly implement 2D games and visualisation apps using Piston

Notifications You must be signed in to change notification settings

vegapit/piston2dtemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piston2dTemplate

This small library intends to be a coding template to quickly develop small apps and games using the Piston game Engine. The project comprises 2 examples which show how to use it:

  1. Mandelbrot Set Browser

cargo run --release --example mandelbrot

This app enables you to visualise the Mandelbrot Set at various levels of zoom and at different points of origin in the display. You can adjust the zoom using PageDown/PageUP keys and move the display window in the complex plane using the Arrow keys.

ms1

ms2

  1. Classic Pong game

cargo run --release --example pong

This game probably does not require any introduction. This is a best-out-of-five 2 player version which can give you a basic understanding on how to implement sprites in Piston.

pong

About

Code template to quickly implement 2D games and visualisation apps using Piston

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages