基于人脸驱动的弹跳球游戏开发流程
通过Chrome执行器,使用以下命令在mac上运行人脸驱动的弹跳球游戏:
open -a /Applications/Google\\ Chrome.app/ --args --disable-web-security
在Windows上使用以下命令运行:
\"C:\\PathToChrome.exe\" --allow-file-access-from-files --disable-web-security
该游戏结合了人脸检测、Circle-Circle碰撞和Sprit来源于Cour de Mr Buffa的实现,反弹机制设计主要基于碰撞反弹的物理原理。
下载地址
用户评论