Skip to content

WAFFO/simple-game-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1c2c124 · May 12, 2020

History

34 Commits
May 12, 2020
Jul 3, 2019
May 11, 2020
Jul 6, 2019
Mar 7, 2020
Mar 3, 2020
May 12, 2020
Mar 3, 2020
Mar 3, 2020
Mar 3, 2020

Repository files navigation

Game Template

Purpose

Game template will be what other games will be built off of. First we want to make what we can, and determine what should be part of the game, and what should be part of the template.

sawd_glm

This project requires you also download my other project: sawd_glm

Update the Cargo.toml file with the path that best suits you.

Build

Requires rustup and npm.

Requires engine, make sure this is installed on the directory level as this repo.

IE, your directory should look like this:

/Users/you/Workspace/rust/ $ ls
engine          game-template

First, build with:

$ ./build.sh

Then, start server with:

$ ./start_server.sh

and then visit http://localhost:8080 in your browser! Simple as that!

(If your build asks to update wasm-bindgen-cli, run update_build.sh and then build again.)