I wanted to ask if one of you has ever made DOM Elements work with Gdevelop together, like calling Functions on a Behavior for example, or if it is possible in general. The goal is to build a simple inventory that displays and processes JSON files via a HTML/CSS/JS Iframe
I haven’t seen a test like this yet.
It is technically possible.
It would be a great thing to use HTML elements to have buttons, checkboxes, input, and why not other things, all this can be contained in an extension.
As far i know the only one extension to use an HTML element isthis one (the element is hidden in background for trigger an input text on mobile, it is very bugged)
I had tried to load an iframe, it kinda works, but it doesn’t help you because you can’t call a function inside your iframe that communicates with the game.
so what i did is i created the window and all the elements inside of gdevelop, by including jquery, jquery ui and a template engine, so you can call the internal functions from gdevelop.
you can check out @Bouh’s gamepad plugin to see how you would structure such an project