Re: Some node questions about audiogames
1) Make a directory
2) run the following
npm init
3) run the following
npm install howler --save
npm install webpack --save
npm install electron --save
Note: Oriol uses Percel, but I tried both and preferred Webpack.
4) Write an html so that it is loaded via Electron.
5) Attach script with unique name in the html.
6) make js folder and put your js there.
7) Set up webpack so that the build result is written to the unique name you set in the html.
9) Read Howler reference for audio, add packages as new features / libraries are required, don't forget to add --save when npm installing.
8) Then, it's same as developing web pages!
Tips:
If you have JS errors, you can press ctrl+shift+i in your electron window. The development console is less accessible than Chrome though; many buttons are unlabeled.
I think this info is enough to get started.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector