开发者 | tahmidulkarim |
---|---|
更新时间 | 2024年11月21日 08:43 |
PHP版本: | 7.3 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[dino-game]
anywhere on your site. Alternatively, you can use the dino game Gutenberg block to add it directly to a page or post.
With the Gutenberg block, you can easily adjust the game's speed and sound settings (mute audio) using the block's built-in settings. Additionally, you can also choose whether or not to save the high score.
If you prefer to use the shortcode method, you can customize the game's speed and audio settings by including attributes in the following format: [dino-game speed="8" mute_audio='true']
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.
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']
High scores are only saved until the browser tab is closed.
The game will work on all screen sizes. Users can also play on mobile using touch controls instead of a keyboard.