Witches ‘n Guns is an arcade-style twin-stick shooter built with HTML5 Canvas and Javascript.
It’s developed inside HomeTeam GameDev and meant to be a practice project.
Witches ‘n Guns will be made available for free and playable in-browser from itch.io.
Witches ‘n Guns uses Javascript modules and requires an HTTP server to run.
There’s a couple of ways to do this depending on the operating
system (explained below), but if you happen to have Node.js
installed and working on your system, you should be able to run the
game like this: npx browser-sync -f .
Open a terminal and change to the game directory and run:
python -m SimpleHTTPServer 5501
(There’s a Makefile available that will run the game with the
make
command provided Node.js is installed and working.)
- Install Python
- Open the game’s folder
- Hold the shift key and right click somewhere in the folder
- Select Open PowerShell window here
- Run
python -m http.server
- Go to http://localhost:8000/ in your browser
VSCode with LiveServer extension
If you use VSCode, you can install LiveServer and then click the “Go Live” button on the bottom right.
- Set up Node.js
- Open the game’s folder
- Hold the shift key and right click somewhere in the folder
- Select Open PowerShell window here
- Run
npm i --save-dev browser-sync
- Run
npx browser-sync -f .
Only the last step needs to happen every time you need to run the game.