This is a fork from the great Duck Hunt JS by MattSurabian to demonstrate how to use Lumia Stream's Games Glow SDK within a game
- You must have nodejs installed.
- Clone the repo into a directory of your choice
cdinto that directory and runnpm install- Use
npm startto start a local webserver which will make the site available at http://localhost:8080/. Cross origin errors prevent this project from being accessed in the browser with thefile://protocol. This will also trigger automatic builds and reloads of the page when changes are detected in thesrcdirectory. - If you want to manually cut a build of the application code run
npm run build
This repo ships with committed dist files to make it easy for developers to get up and running. If you really want to get into some leet haxing and change the way this game looks and sounds then you'll need to work with audio and image sprites. The following tasks make that possible:
- To rebuild audio assets use
npm run audio(there is a hard dependency on ffmpeg to run this task) - To rebuild image assets use
npm run images(there is a hard dependency on texturepacker to run this task)
Please report bugs as issues.
Pull requests are welcome! Please ensure code style and quality compliance with npm run lint and include any built files.