Dinosaur game in Google modifications

INTERNET IS BEAUTIFUL

Today we wiil be discussing some of the tips and tricks to use in Google Chrome when offline. We all have played chrome dinosaur game once or more in our lifetime and its pretty difficult to score more than 1000.


Simply,what we will do is,we will use certain codes in Javascript while the WIFI is turned off to modify the game. But first,lets know what is Javascript.

JavaScript is high-level,often just-in-time compiled programming language.Its components are curly-bracket syntax,dynamic typing,prototype-based object-orientation,and first class functions.
Alongside HTML and CSS, JavaScript is one of the core technologies of the World Wide Web(WWW). JavaScript enables interactive web pages and is an essential part of web applications. The vast majority of websites use it for client-side page behavior,and major web browsers have a dedicated JavaScript engine to execute it.
This game is designed with the essential help of JavaScript so lets modify it.

1.INCREASING THE SPEED OF THE DINOSAUR


We can tweak the speed of the dinosaur which will lead to the dinosaur being extremely fast and hence unlimited score.The process goes as follows;

  1. Turn OFF your WIFI and open Chrome.
  2. Press ‘CTRL+SHIFT+I’ altogether.It will open ‘Inspect element’ section which includes all our coding for making that particular website.
  3. Navigate to ‘console’ and type the following code;
Runner.instance_.setSpeed(1200)
     
After typing the code,Press ENTER.Now press space for the character to jump and BOOYAH,you have continuously increasing speed.You can input any number depending on the speed you want inside the bracket(). Youtubers use this trick in order to livestream this game for long period of time.


2. CHANGING POINTS

We can put our desired points as our starting points.The code goes as follows;

Runner.instance_.distanceRan=5555 / Runner.instance_.distanceMeter.config.COEFFICIENT

Likewise,we can enter any number depending on the points we want.



3.GRAVITY TWEAK

Using this trick,we can make our dinoaur have very high or very low gravity according to our need.The process until opening ‘console’ is same but we will have to change the code.The code goes as follows;

Runner.instance_.tRex.config.GRAVITY=0.5

4.GOD MODE HACK

This mode lets us give the invincibility while playing.We cant die in this mode hence becoming immortal.The code goes as follows;

Runner.instance_.gameOver = function(){};

If you want to get out of the modes,simply just refresh the page.It will work fine.


CHECK OUT THIS WEBSITE AS WELL



This Post Has One Comment

  1. Shishir pandey

    Nice hack 😂

Leave a Reply