- Disable gameover functionality
var original = Runner.prototype.gameOver
Runner.prototype.gameOver = function (){}- Enable gameover functionality
Runner.prototype.gameOver = original- Change jump height of trex
Runner.instance_.tRex.setJumpVelocity(<height>);Constraints:
height: int
- Change speed of trex
Runner.instance_.setSpeed(<speed>)Constraints:
speed: int
- -ve < speed < +ve
-ve speed makes the trex go the other way around.