This library is a split-out version of the StupidDuck game using version 2.0.2 of the NamorvTech engine. Note that this game will not be compatible with newer versions of the engine.
- Must have node.js installed.
- Must have NPM installed.
- Must have
http-server
installed globally. To do this, runnpm install http-server -g
.
A split-out version of the StupidDuck game using version 2.0.2 of the NamorvTech engine. Note that this game will not be compatible with newer versions of the engine.
- Create a folder somewhere on your computer and browse to it using the command line. For example:
C:\development\ts\
. - Clone the game repo:
git clone https://github.com/travisvroman/StupidDuck.git
This will create aStupidDuck
folder inside the one created in step 1. For example:C:\development\ts\stupidduck\
. - Change to that folder and run
npm install
. - From the folder in step 1, clone the game engine repo from:
https://github.com/travisvroman/NamorvTech.git
. This will create aStupidDuck
folder inside the one created in step 1. For example:C:\development\ts\namorvtech\
. - Switch to the
NamorvTech
folder and run the following:git checkout tags/2.0.2 -b 2.0.2
. - Run
npm install
. - To change between referencing the local version of the engine or the NPM package, see the comments in
StupidDuck/src/app.ts
. If referencing locally, make sure to runnpm run build
from theNamorvTech
folder first. - Build the game by running
npm run build
from theStupidDuck/dist
folder. - To run the game locally, from the
StupidDuck/dist
folder, runhttp-server -c -o
.