Skip to content

StephaneTrebel/wasm4-spacesim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm4-spacesim

A game written in Rust for the WASM-4 fantasy console.

See it in action HERE !

First Screenshot Second Screenshot

The game

You fly a spaceship in the vast and empty universe

Commands:

  • ↑, ↓, ←, → : Yaw and Pitch the spaceship
  • <PRIMARY BUTTON> (mostly <SPACE>) initiate some actions:
    • Land on a planet whenever possible (there will be a hint for that)
      • Target a planet that you have placed in the center scope. Targeting nothing will result in disabling targeting.
  • <SECONDARY BUTTON> (for me it's À but it may be W or Z) combined with either ↑ or ↓ accelerates/decelerates

Building

Build the cart by running:

make prepare-distribution

Then open dist/index.html with your browser to run the game !

For more info about setting up WASM-4, see the quickstart guide.

Links

  • Documentation: Learn more about WASM-4.
  • Snake Tutorial: Learn how to build a complete game with a step-by-step tutorial.
  • GitHub: Submit an issue or PR. Contributions are welcome!