Skip to content

Schr3da/runty8-steamdeck

 
 

Repository files navigation

Runty8 Logo

Runty8

A Pico8 clone in Rust.

Making your own games

Head over to our template for an example to get started!

Crates

  • runty8: Main entry point for games created with Runty8. Most Runty8 users should probably only depend on this crate.
  • runty8-core: Core types needed by every Runty8 related crate
  • runty8-runtime: Run standalone Runty8 games in native or wasm targets
  • runty8-editor: Run game inside editor
  • runty8-winit: Integration layer for winit
  • runty8-event-loop: Thin layer over winit/glow/glutin to have a cross-platform OpenGL/WebGL-powered event loop

Contributing

See the contributing guide for instructions on how to get started.

Examples

Celeste playthrough

Running in native window

Run examples (celeste, moving_box, confetti) with:

cargo run --bin celeste -- --game
cargo run --bin confetti -- --game
cargo run --bin moving-box -- --game

Or run cargo run --bin to get a list of the available examples.

Press the Escape key to switch between the game and the editor.

Running on the Steamdeck

Run examples (celeste, moving_box, confetti) with:

cargo run --bin celeste -- --game --feature steamdeck
cargo run --bin confetti -- --game --feature steamdeck
cargo run --bin moving-box -- --game --feature steamdeck

This will ensure to have a better scale/window size which fits the small screen. Please note for now it only works in desktop mode on the deck

Running in browser using WASM

Run examples (celeste, moving_box, confetti) with:

rustup target add wasm32-unknown-emscripten
rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli

./build_script.sh celeste

If you see an error with serve ensure to install the tool as well via cargo. Alternative you can use any static web server to host the files located in the folder generated

cd ./generated

About

A Pico8 clone in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 98.2%
  • HTML 1.4%
  • Shell 0.4%