How to Display a HTML Game in localhost?


honestly i just started this platform today.
I really searched and couldn’t find a current solution to this. Please. Isn’t this possible here?

Hi dear,

Welcome to the Kodular community!

I’m glad you got to work right away, but I think you need to study a bit first
(I don’t mean that in a bad way)

To load a file located in the assets, the URL is

http://localhost/index.html

where index.html is the name of the HTML file in the assets.

So, simply add a text block with this written in GoToURL.
Or you can write it directly in the component’s properties in the designer screen.

To be honest, I’ve tried so many different methods since this morning. So, frankly, if you’re going to give me an idea, I’ve probably tried that one too.

Since I’m a beginner anyway, I hope you can create this kind of project quickly. If you can, I’d be incredibly grateful if you could share your project with me.
i really got tired thank you.

I’m sorry :confused:

But even without creating the project, it’s really enough to simply insert this URL here.

Then it depends on what you need to do, because the native WebViewer is very simple.
If you want a bit more customization and interaction, I recommend using CustomWebViewer by :raising_hands:vknow:raising_hands:.

well Thank you for your good will
the problem is starting the server i think not the url or index html location

Do you really need the WebServer?
Do you just need to display the game in the WebViewer, or are you trying to let someone else connect as well?

yeah honestly I bought a monthly premium for 4 € and was going to easily display the HTML game and add Admob.

yeah and still can’t add Admob; keeps telling me to buy premium.

I can assure you that it works :grin:

Do you have Kodular Monetize?

listen If you can make an example for me and test it yourself (if it works for you) it would really help me incredibly mate. I even loved this platform. I just want my wish to come true.

i dont have kodular monetize
Because I had a membership and features in front of me, I didnt know about such a thing, maybe it was criminal for them to do this.:money_mouth_face:

HTMLGame.aia (79.0 KB)

Game belonging to W3Schools
HTML Game Example

the game still hasn’t appears other stuffs is appeared like creator link twitter follow button. the game cant play i my html

Hi he,

in which language is the game programmed?