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-serverinstalled 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.gitThis will create aStupidDuckfolder 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 aStupidDuckfolder inside the one created in step 1. For example:C:\development\ts\namorvtech\. - Switch to the
NamorvTechfolder 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 buildfrom theNamorvTechfolder first. - Build the game by running
npm run buildfrom theStupidDuck/distfolder. - To run the game locally, from the
StupidDuck/distfolder, runhttp-server -c -o.