没有合适的资源?快使用搜索试试~ 我知道了~
Whack-a-mole
共6个文件
js:2个
txt:1个
html:1个
需积分: 9 0 下载量 25 浏览量
2021-07-17
19:35:38
上传
评论
收藏 6KB ZIP 举报
温馨提示
原子 一个尽可能少做的 <canvas> 游戏框架 老实说,这个东西做的很少,你应该阅读代码。 这是使用 Atom 的游戏的样子: class Game extends atom.Game constructor : -> super atom . input . bind atom . key . LEFT_ARROW , ' left ' atom . input . bind atom . key . RIGHT_ARROW , ' right ' update : ( dt ) -> if atom . input . pressed ' left ' console . log " player started moving left " else if atom . input . down ' left '
资源推荐
资源详情
资源评论
收起资源包目录
Whack-a-mole-master.zip (6个子文件)
Whack-a-mole-master
aesthetic.txt 163B
index.html 214B
atom.coffee 3KB
atom.js 5KB
README.md 833B
game.js 6KB
共 6 条
- 1
资源评论
吉莫吉鱼
- 粉丝: 15
- 资源: 4591
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功