Dino Game – Embed Google Chrome Dinosaur Game in WordPress

Beskrivning

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.

Skärmdumpar

  • Dino Game block from within the editor
  • Dino Game added using Shortcode
  • A view of the dinosaur game added within a post.

Block

Detta tillägg tillhandahåller 1 block.

  • Dino Game

Vanliga frågor

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.

Recensioner

Läs alla 2 betyg

Bidragsgivare och utvecklare

”Dino Game – Embed Google Chrome Dinosaur Game in WordPress” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

1.0.0

  • Initial release.