Skip to content

JakubGrobelny/mario-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages