Описание
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.
Скриншоты
Блоки
Этот плагин предоставляет 1 блок.
- Dino Game
Часто задаваемые вопросы
-
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.
Отзывы
Участники и разработчики
«Dino Game — Embed Google Chrome Dinosaur Game in WordPress» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Dino Game — Embed Google Chrome Dinosaur Game in WordPress» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.0.0
- Initial release.