// 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*/)
1. Inspect (Not all browsers support this)
2. Go to console
3. Paste this code "Runner.prototype.gameOver = function (){}" without the "
4. Start running and you're done
function() {
this.playSound(this.soundFx.HIT);
vibrate(200);
this.stop();
this.crashed = true;
this.distanceMeter.achievement = false;
this.tRex.update(100, Trex.status.CRASHED);
// Game over panel.
if (!this.gameOverPanel) {
this.gameOverPanel = new GameOverPanel(this.canvas,
this.spriteDef.TEXT_SPRITE, this.spriteDef.RESTART,
this.dimensions);
} else {
this.gameOverPanel.draw();
}
// Update the high score.
if (this.distanceRan > this.highestScore) {
this.highestScore = Math.ceil(this.distanceRan);
this.distanceMeter.setHighScore(this.highestScore);
}
// Reset the time clock.
this.time = getTimeStamp();
}