Skip to content

Asteroids implemented from scratch in Rust using Macroquad

Notifications You must be signed in to change notification settings

caspark/asteroids-macroquad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids

An implementation of Asteroids in Rust, using the Macroquad library for rendering, input handling, sound, etc.

You can play it in your web browser, assuming that it hasn't bitrotted.

Screenshot showing Asteroids game

NB: Macroquad does actually have an Asteroids example, however this was implemented without referring to that at all.

Running

cargo run --release

Publishing to Github Pages

publish-wasm.bat

Test it locally with:

cargo install basic-http-server
basic-http-server dist/

Once the changes are committed to master* and pushed, the changes will be live at https://caspark.github.io/asteroids-macroquad/ within a minute or two.

(* yes storing junk on master isn't great and there are better ways to deal with this in Github pages. But it doesn't matter for this simple case.)

About

Asteroids implemented from scratch in Rust using Macroquad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published