How do I add HTML code

How do I add HTML code
Please reply as soon as possible

check the wiki and the forum for old topics.

Not 100% sure what you mean so maybe add more context on what you want .

https://wiki.gdevelop.io/

What do you want the HTML code to do. It probably involves Javascript. There is an iframe extension but I’ve never used it. I do recall people adding something to the page or document but I don’t recall anything more.

I made a simple game, but it has to be in a game engine.

2 Likes

I made a simple game, but it has to be in a game engine.

GDevelop is a JavaScript game engine with it’s own first class language for game logic (the event sheet) and access to using JavaScript directly.

You will not be able to embed other non-GDevelop HTML5 games inside of a GDevelop game. At least not with anything out of the box.

Look into Electron. You can’t and I won’t recommend putting your game inside Gdevelop. Electron is what powers Gdevelop and it does make your game executable (if that’s what your requesting).

Hi @mjoo!

A request well formulated brings always good answers.
You demand is quite vague. In this context, the answers will too be.

PS: if not yet done, you can introduce you in the dedicated section.

A+
Xierra

1 Like