127

如何实现H5小游戏—植物大战僵尸

 6 years ago
source link: https://juejin.im/post/5a16431f6fb9a0451f309975
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前言植物大战僵尸这款经典游戏相信大家都玩过,最近我用原生JS+ES6语法,并通过canvas绘制的方式实现了这个游戏的一些基本功能,在这里我会介绍一下实现这个游戏的心路历程。 可能又人会问,实现这样的一个小游戏难吗?其实单看每一个实现的游戏模块来说,这个游戏的

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK