Description
You can add the Google Chrome dinosaur game anywhere within your site using the Shortcode [dino-game] or you can also add it to a Post or Page using the Gutenberg Block.
You can control the speed and mute the audio of the game. If you use Gutenberg block then there is a direct option in the block settings to set the speed and mute the audio.
If you embed the game using shortcode then you can control the speed and audio using attributes in this format – [dino-game speed=”8″ mute_audio=’true’]
How to play
- Use the space bar or up key on your keyboard to jump over the obstacles.
- The down key lets you crouch under the overhead obstacles.
- When viewing from mobile tap on the game area to jump.
Screenshots
Blocks
This plugin provides 1 block.
- Dino Game
FAQ
-
Will the plugin slow down my site?
-
Dino Game is a lightweight plugin and it only loads Javascript and CSS files on the particular page or post where the game is added.
-
Is there any customization options?
-
You can increase the speed and mute audio directly from the Gutenberg block settings and in case if you use the shortcode then you can add attributes to control the speed and audio in this format – [dino-game speed=”10″ mute_audio=’true’]
-
How are high scores saved?
-
High scores are only saved until the browser tab is closed.
-
Will it work on mobile?
-
The game will work on all screen sizes. Users can also play on mobile using touch controls instead of a keyboard.
Reviews
Contributors & Developers
“Dino Game – Embed Google Chrome Dinosaur Game in WordPress” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Dino Game – Embed Google Chrome Dinosaur Game in WordPress” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.