The plugin has two sets of sprites, game-sprites-1x.png and game-sprites-2x.png. Why is this? Which one gets used for which situation?
Can you point out what parts of the code we change so we change add some colour to the game?
]]>Hi Chris,
I am not able to add the game. Please check the screenshot and help to get the game.
If I am not wrong there is some version is please help me to understand the same and corrective action to add the game on my website.
]]>Do you happen to have any method for capturing the score using JS? It doesn’t seem to be storing it in local storage, session storage or cookies. Can I hook into it somehow? I mean, I can edit the JS file, but it will be overridden every time you update the plugin.
]]>Hello, I installed it and found the game nowhere. How do we display it? No other way than that ?
<?php echo do_shortcode('[dinosaur-game]'); ?> ?
I also tried the shortcode in a page but no game.Thanks
Edit : It’s ok, I made a mistake with the shortcode. Good game!
]]>Great and funny but just annoying page down when you start so you must quickly (before the first obstacle) move up in the page to see the game …
Any way to avoid that ?
Thanks for help
Eric Collart
]]>First, i love this game. it looks great on my homepage. I noticed i do not get any sound on the mobile version. is this normal?
Also, for the desktop mode, I’ve added the shortcode to a TEXT area in a side tab. This makes it boxed-in, or square. Any idea how i can increase width in this situation?
thanks
]]>Hi, @chrisdavidmiles this game is cool to have for offline pages.
As I have done working on my website for PWA setup, I was looking for offline games.
1st question > Can you please update the plugin w.r.t latest WP update?
2nd > Have you ever considered developing any other games like this especially for offline purposes? As more and more people are coming into PWA.
We would love to have some other lightweight HTML games for offline. Other than Google’s default one. Let me know if you have any recommendation for me to have other games able to play offline in WordPress.
Thank you.
]]>I am looking to embed this game into a Notion.so page. Is this possible? Anyone who’s able to give me a step by step how to make this happen?
I assumed i could copy and paste the css into a “code” portion of notion, but that doesn’t seem to work. Also when I download the zip file and open the css as an example, a lot of it seems to be instructions vs what I need to copy and paste, so it’s possible I’m copying and pasting the wrong stuff?
Let me know. Thanks.
]]>Hi, I understand that you can change the sprite png files. But is there a way to make each individual sprite a different size?
Also, in a different thread, I noticed that you mentioned another plugin (custom-assets-dinosaur-game.zip) that can help any custom sprites remain, even after the main plugin is updated. How would I use that separate plugin? Do I upload both the main game and that 2nd plugin? Do I only change the sprites in the second plugin? Thanks!
]]>Great plugin btw! However, I can’t get it to work on Ipad mini. For some reason it detects it as desktop and will not let me touch the screen for some reason. It will only work when I press spacebar so I have to intentionally click the comment section and play the game. Is there a way around this? Thanks!
]]>The shortcode is working, the game is showing on the website but doesn’t work and I get these errors in the console.
3game-logic.min.js?ver=1.0.7:11 Uncaught TypeError: Cannot read properties of null (reading ‘content’)
at T.loadSounds (game-logic.min.js?ver=1.0.7:11:6957)
at T.onKeyDown (game-logic.min.js?ver=1.0.7:11:13498)
at T.<anonymous> (game-logic.min.js?ver=1.0.7:11:12359)
at T.handleEvent (game-logic.min.js?ver=1.0.7:11:12450)
Any idea how to solve this issue?
Thank you ??
Hi, i need to resize the game. For example, I want to increase the height. If I change it will the game work incorrectly? If it’s not a problem, can you tell me which line in the source code I should change?
]]>Hello! In the original game periodically turns on and off night mode.
You game will support it ?
]]>How turn off start game with click on SPACE
]]>Does this game meet accessibility standards?
]]>If I want to change the cactus, I have to redo the entire set of asset ?
]]>I added the shortcode but it isnt loading, and getting this error in console:
Uncaught TypeError: Cannot read property ‘getBoundingClientRect’ of null
at HTMLDocument.startupDinosaurGame (game-logic.min.js?ver=1.0.5:11)
On the page where the game should be it’s showing “The dinosaur game can only be used once per page.” – I’ve only added the shortcode once, and nothing else is on the page.
]]>How to change the cactus-only asset but remain the other sprites in Adobe Illustrator?
Urgent yea, thanks
]]>I would like to know if is possible to play in mobile too. When is touched the game starts and the character jumps, but there is no option to bring him down. There is a way to add this in the game logic to people use in mobile too? Example: when you touch for a while longer the character get down, something like that.
]]>Hi!
Im referring to the topic “First Space Bar Click Scrolls to Bottom of Page”. I inserted your edited game-logic.min.js file and it worked well with the space bar. But now I still have the problem if people fill in my contact form (which is on the same page) and hit the Enter Key for a new line, the game starts and typing is not possible anymore.
Do you have an edited file with BOTH Space Bar & Enter Key are disallowed to start the game (thus only the Arrow Up Key will start the game).
Further question: is it maybe even possible to disallow ANY Key to start the game and insert a “play” button which the user has to push with the mouse cursor?
Thanks a lot!
All the best,
Jan
I try to edit the game-sprites-1x, and game-sprites-2x files and switch it to my custom image. But when I use it. It still shows the same dinosaur image.
]]>Hello.
Is this plugin compatible with the new version of WordPress?
How to install and activate this plugin on your site ?
https://gameestop.ir/product-category/mahsolat/playstation/ps4/game-ps4/
]]>Hi Chris,
First of all, thanks for this plugin, cool idea.
Listen I play this plugin as an option game in different pages of my blog.
Everything works fine except one of that who shows this:
The dinosaur game can only be used once per page.
Checking the page I see only one shortcode as usually have on the other pages.
What do you think about this issue? Have you a fix for that?
Thanks for what you are doing
]]>This works for me on localhost, but when I upload to live site, it doesnt display. Not sure why.
I dont mind sharing the URL but I’d prefer to share it in private if thats at all possible?
Thanks.
]]>Hi, firstly, thank you, the game is great but how exactly do I change the color scheme of the game so it matches with the rest of the site? I have read your readme file and I’ve seen your css files but I am still unsure. Please assist.
]]>Is there any way to change the sound effects? like when you jump or run into something?
]]>I added the shortcode but it isnt loading, and getting this error in console:
Uncaught TypeError: Cannot read property ‘getBoundingClientRect’ of null
at HTMLDocument.startupDinosaurGame (game-logic.min.js?ver=1.0.5:11)
On the page where the game should be it’s showing “The dinosaur game can only be used once per page.” – I’ve only added the shortcode once, and nothing else is on the page.
]]>Good morning,
I’m trying to customize characters with sprites files but when I replace the .png files on the plugin it doesn’t seems to change anything. The game is shown as the original.
Can you help me, please?
Thank you so much,
Armando.
]]>Hi, Awesome plugin. Thank you for creating it.
The game is showing the sprites images over the game itself. Do you know how to fix it?
I am using Elementor and JupiterX Theme.
Thank you!
]]>Busque el juego y no le encontré me pudiera decir donde queda el juego ? o que parte esta ?
]]>