Dinosaur Game
This plugin lets you add the dinosaur game from Google Chrome onto your WordPress site. To use it, install the plugin, and use the [dinosaur-game] shortcode wherever you’d like the game to appear. How to play Jump to start a game. The object of the game is to run as far as possible. Enemies and obst
This plugin lets you add the dinosaur game from Google Chrome onto your WordPress site.
To use it, install the plugin, and use the [dinosaur-game] shortcode wherever you’d like the game to appear.
How to play
- Jump to start a game.
- The object of the game is to run as far as possible. Enemies and obstacles will try to block your path.
- Use the space bar or up key on your keyboard to jump over them. The down key lets you crouch. On mobile, tap on the game area to jump.
Screenshots & previews.
- 01Search for “Dinosaur Game” on the Plugins > Add New screen in your WordPress admin, or upload the plugin folder to /wp-content/plugins/.
- 02Activate the plugin through the Plugins screen in WordPress.
- 03Add the [dinosaur-game] shortcode wherever you’d like the game to appear.
Frequently asked questions.
Can I change how the game looks?
Yes! The HTML markup of the game has classes that make it easy to apply CSS to them. If you like playing with game files, you can also swap out the spritemap with your own by editing the game-sprites-1x.png and game-sprites-2x.png files.
Can I use this on a 404 page or another template file?
Yes! In fact, you can put this game anywhere on your site that you can put a shortcode. Inside post/page content you can use [dinosaur-game]. In a PHP template file you can use:
<?php echo do_shortcode('[dinosaur-game]'); ?>