JakubGrobelny / mario-clone

[unfinished] 2D platformer written in Rust

Repository from Github https://github.comJakubGrobelny/mario-cloneRepository from Github https://github.comJakubGrobelny/mario-clone

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.

About

[unfinished] 2D platformer written in Rust

License:MIT License


Languages

Language:Rust 100.0%