Skip to content

Latest commit

 

History

History

square_eater

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Square eater

In a world where all round shapes have disappeared.
You are a lone square trying to get bigger in order to survive the continuous red square attacks.
When all hope is lost, only the legendary gold square can save you!
Play Online

Inspired by Erik Hazzard's Rectangle Eater.

Build native

Square eater uses Macroquad, you might need to install some dependencies. See their README.

Then when inside the square_eater directory you can use regular cargo commands to build or run the game.

Build WASM

Using cargo make to simplify building.
When in the root directory, build square_eater in release mode, all files will be in the square_eater/public directory.

cargo make square_eater

Or if you don't want to use cargo make, when in the square_eater directory.

cargo build --release --target wasm32-unknown-unknown
mv ../target/wasm32-unknown-unknown/release/square_eater.wasm ./public/

I'm using microserver to make the server.

microserver square_eater/public

Square eater is now accessible at http://localhost:9090/ (the port might be different if you are using a different tool to make the server).