How do I…
How do I embed a game without an iFrame into a website? I exported the game as HTML5, uploaded all files via FTP to a new folder and and first simply copied and pasted the code from the index.html into my website, Obviously i had to change all the JS paths to adapt to where they can be found on my server.
What is the expected result
That the game can be played from within a site i created with my CMS.
What is the actual result
First all the JS files could not be found, so i - as mentioned above - adjusted the paths to the ones on my server.
Now the game is loaded but all assets like images have the gDevelop placeholder image. Probably this is because from within the game the pats are relative, i am not sure.
The question is if i can set up some kind of “base”-path. I found some web-entries where people talked about export-options via HTML5 but i could not find these.
Thanks in advance to everyone and have a great day.