Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 771 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 771 Bytes

Description

Mario-like simple 2D platformer written in Rust.

Requirements:

  • sdl2, sdl2-image, sdl2-ttf
  • cargo and Rust compiler obviously

Compilation

cargo build

Run the project with cargo run.

Controls

Editor

  • Move the camera by moving the mouse cursor to the edge of the window. Press shift for faster movement.
  • Place blocks with left mouse button, delete them with right mouse button. Copy the block into the selection by clicking the mouse scroll button. Hold Ctrl key to be able to insert blocks by holding the mouse button.
  • Switch level layers with the TAB key.
  • Switch level theme with left and right keys.
  • Scroll through the avaliable blocks using the mouse scroll.