There are a map like in Battle City game and a simple animation for tank.
In this project I mastered:
- Canvas
- using matrix for drawing map and tank according to conditions
- create matrix from jpeg picture
- animation with setInterval and changing of coordinates
Website here: Battle City
You could follow next steps to deploy a local project:
- clone branch
master
withgit clone https://github.com/WebNadin/canvas-dendy-tank-map.git
or fork it and then clone it from your forked repo
$ npm i
$ gulp
WebNadin