I would like to change the favicon for the game I export to an external website. Is this possible in Gdevelop? I would expect under Game propeties → Icons but can not find it there.
Kind regards,
AmonRay
I would like to change the favicon for the game I export to an external website. Is this possible in Gdevelop? I would expect under Game propeties → Icons but can not find it there.
Kind regards,
AmonRay
Hi AmonRay, you didn’t say which external website. But I know for Itch that they use the cover image for the favicon. In your edit page for your game on itch there will be a place to upload a cover image.
No i have the site on my own server. And I can replace it manually but it would be easier if it was build in Gdevelop.
The engine has special features only for popular platforms…
And they don’t know your website. So it’s impossible!
Not specifically!
All of the “special features” for specific platforms are usually just extensions made by community members.
Well, not all platforms are implemented by the engine! Yandex games and many other things are not available in the engine. However, its platform does not have its own extension due to its unknown nature.
I researched it and it is just not a part of Gdevelop yet. Most browser automatically will ook for favicon but inserting this line in the HTML template of Gdevelop would be a solution. Only thing is that if Gdevelop updates it could be removed again ofcourse.
I don’t know your website and I don’t know how you implemented the game, but assuming you used an iframe to embed the exported project, you can add a <link> tag with your favicon parameters to that page, so you don’t risk having to directly change the project every time you want to change the icon.
The tag would be placed in the <head> of your page, like this:
<!DOCTYPE html>
<html>
<head>
<title>My Page Title</title>
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
</head>
This is just an example, obviously, and assuming you understand how web servers work, you need to change the parameters according to your server’s context.