Voxin Posted September 5, 2018 Share Posted September 5, 2018 Hi guys, I found this amazing plugin called Quokka. it gives live javascript feedback. https://quokkajs.com/ I wanted to know if anyone knows how to integrate it in a phaser game. Thanks ahead, Erez Link to comment Share on other sites More sharing options...
Wavertron Posted September 8, 2018 Share Posted September 8, 2018 Looks pretty neat Link to comment Share on other sites More sharing options...
nwpointer Posted May 15, 2019 Share Posted May 15, 2019 I was able to get this working but it required some changes to the top level .quokka settings. Additions to .quokka/config.json: { "plugins":["jsdom-quokka-plugin"], "jsdom": { "html": "<canvas id='game' width='256' height='240'></canvas>" } } and you have to install the following modules inside the .quokka directory so that quokka will have access to the plugins npm i canvas jsdom-quokka-plugin or if you are using yarn: yarn add canvas jsdom-quokka-plugin Link to comment Share on other sites More sharing options...
Recommended Posts