Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noahshomette/runty8_test
https://github.com/noahshomette/runty8_test
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/noahshomette/runty8_test
- Owner: NoahShomette
- License: mit
- Created: 2023-01-09T07:52:27.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T07:52:29.000Z (about 2 years ago)
- Last Synced: 2024-11-09T19:48:53.602Z (2 months ago)
- Language: HTML
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# runty8-game-template
Use this template to create your own [`runty8`](https://github.com/jjant/runty8) game.
## Running
Use `cargo run` to run your game natively.
Use `./build_script.sh runty8-game-template` (or your binary's name) to run your game in the browser.
This requires [`serve`](https://github.com/vercel/serve).
## Creating your own game
Head over to your [`src/main.rs`](./src/main.rs) to implement your own game.
Feel free to take a look at the code for our port of [Celeste](https://github.com/jjant/runty8/blob/425efffb2dd134eaf5f06d5e752642c6da9926c6/img/celeste.gif) for some guidance, [here](https://github.com/jjant/runty8/blob/425efffb2dd134eaf5f06d5e752642c6da9926c6/examples/celeste/main.rs).
Press the `Escape` key to switch between the game and the editor.
Press `Ctrl+S` to save changes to your assets (sprite sheet, sprite flags, etc).