Copy and paste this into your websites HTML code and youre good to go The embed pop up also has options for you to customize the theme of. Youll see a new window pop up where you can get the embed code for your puzzle. Let me know if anyone has a solution to this. Once your puzzle is published, go to the puzzle page and click 'More' in the upper right hand corner.
Whenever I do it this way, the whole website background turns gray (you know that Playcanvas gray color) and then all of the html sits on top of that gray color and the game never launches in any visible way. notice that this also includes the settings and the engine in the head: Now, this doesn’t work whenever I try and embed it this way by dropping the scripts into the section that has the css to constrain the game. the iframe fills the section styling perfectly: First Card The webpage is currently setup like this with an iframe and it works great. I can’t show the website because its for a client, but I can describe the issue. itch.
Hi, I’ve seen in a few places that the recommended way to embed a Playcanvas game into a website is via an iframe but I can’t currently do that on the project I’m working on as it adds more dependencies that can’t be there.