📜  google dino game hack - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:30.460000             🧑  作者: Mango

代码示例1
// Go to the dinosaur game (chrome:dino)
// Press Ctrl+Shift+C (Command+Shift+C for mac)
// Go to console
// Copy paste any of these codes: (You can put as many as you want)

// Invinsabilaty:
Runner.prototype.gameOver = function (){}

// Change jump height:
Runner.instance_.tRex.setJumpVelocity(/*Any num you want*/)

// Change Speed:
Runner.instance_.setSpeed(/*Any num you want*/)