Skip to content

Simple one-button game starring a frog (in progress)

License

Notifications You must be signed in to change notification settings

scroggo/frogjump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frog Jump

Inspired by the 1-Button Jam. Work in progress game as I learn to use the Godot game engine. Also one of my first attempts to use Rust in an actual project, thanks to godot-rust.

How to play

Go to scroggo.itch.io/frogjump to play the web version.

Exporting to web

General instructions can be found in the godot-rust book.

  1. cargo +nightly build -Zbuild-std --target wasm32-unknown-emscripten # debug build for testing
  2. Test locally.
  3. cargo +nightly build -Zbuild-std --target wasm32-unknown-emscripten --release
  4. Project -> Export -> Web (Runnable) -> Export Project...
  5. cp web_export/anim.png web_export/raw/index.png1
  6. zip web_export/zipped/<dest>.zip web_export/raw/* -v

Footnotes

  1. anim.png is an APNG file. Godot lets you specify an image file to show on the splash screen while loading, but it only supports (non-animated) PNG. However, you can replace the default file with an APNG, and many browsers animate it. (Others should display the first frame as a regular PNG.)

About

Simple one-button game starring a frog (in progress)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages