A game using ReactJS + SVG. Our cannon will shoot aliens (UFO)
- Knowledge on ReactJS, SVG
- NodeJS 8 (parcel may not work with NodeJS 6,7)
npm install -g parcel-bundler
npm start
Then open webpage at http://localhost:1234
We use Parcel, React, SVG
Need to use stage-3 babel preset
to support spread, destruture,... (more)
- Parcel settup
- Follow this game tutorial part 1, part 2
- A Look At preserveAspectRatio in SVG