谷歌小恐龙 | Google Chrome T-Rex Dino Game
转至云剪切板阅读
开始游戏
https://www.zhihu.com/question/52921357
常用命令
- 无敌
Runner.instance_.gameOver=function(){} //或 Runner.prototype.gameOver=function(){}原理:将 Runner.gameOver() 函数改为空函数
- 加速
Runner.instance_.setSpeed(SPEED)原理:修改 Runner.setSpeed() 的移速数值
- 高跳
Runner.instance_.tRex.setJumpVelocity(HIGH)原理:修改 Runner.tRex.setJumpVelocity() 的跳跃高度数值
Robot