0 votes

I want to implement a Bruno Simon(https://bruno-simon.com) style homepage with Godot, and want to do it with Godot because it's more lightweight for custom web pages. I've built a full website and can run the Godot game, how should I trigger an in-game event to open a new web page? I know Godot can access html and get JSON return value, but this issue seems to be modified on export html5.

Godot version v3.4.4
in Engine by (14 points)

1 Answer

0 votes

This should be feasible by calling JavaScript from GDScript when the project is exported to HTML5.

and want to do it with Godot because it's more lightweight for custom web pages

While size-optimized builds can be fairly small on the wire, a Three.js-based solution will often result in a smaller download compared to an exported Godot project. You'll lose on development convenience, but if having the smallest possible download is a goal, frameworks are still valuable.

by (12,893 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.