Surprisingly phaser and react can work perfectly, for future reference I record the following:
We start off creating a Game component which is almost the place we position our canvas:
Sunday, October 13, 2019
Thursday, October 10, 2019
polyfill for IE11
At the top of index.js, add:
and in package.json, add "ie 11" as below:
1 2 3 4 5 | import "react-app-polyfill/ie11" ; import "react-app-polyfill/stable" ; //yarn add react-app-polyfill //yarn add babel-loader @babel/core --dev |
1 2 3 4 5 | "development" : [ "last 1 chrome version" , "last 1 firefox version" , "last 1 safari version" , "ie 11" |
Saturday, October 5, 2019
Subscribe to:
Posts (Atom)