https://github.com/jjant/runty8
A Pico8 clone in Rust.
https://github.com/jjant/runty8
fantasy-console game game-development pico8 pixel-perfect rust webassembly webgl webgl2
Last synced: 2 months ago
JSON representation
A Pico8 clone in Rust.
- Host: GitHub
- URL: https://github.com/jjant/runty8
- Owner: jjant
- License: mit
- Created: 2022-01-01T23:54:29.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-04T17:53:38.000Z (almost 2 years ago)
- Last Synced: 2024-12-06T19:31:36.031Z (over 1 year ago)
- Topics: fantasy-console, game, game-development, pico8, pixel-perfect, rust, webassembly, webgl, webgl2
- Language: Rust
- Homepage:
- Size: 26.1 MB
- Stars: 228
- Watchers: 6
- Forks: 17
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Runty8
A Pico8 clone in Rust.
## Making your own games
Head over to our [template](https://github.com/jjant/runty8-game-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](./CONTRIBUTING.md) for instructions on how to get started.
## Examples
- [Celeste](./examples/celeste/main.rs): A Rust port of Maddy Thorson and Noel Berry's [Celeste](https://www.lexaloffle.com/bbs/?tid=2145)
- [Confetti mouse demo](./examples/confetti/main.rs)
- [Moving box](./examples/moving-box/main.rs)
## Running
Run examples (`celeste`, `moving_box`, `confetti`) with:
```bash
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.