Demo of integrating a Godot HTML5 exported game with its host page.
Go to file
Dorian 4b4cacdd82
continuous-integration/drone/push Build is passing Details
Get basic setup working for demo.
2020-12-17 00:13:56 -05:00
.drone.yml Attempt to resolve issue with mc cp in drone ci. 2020-12-16 22:41:10 -05:00
.gitignore Fix issue with drone ci build. 2020-12-16 22:31:51 -05:00
Game.tscn Simplify project setup. 2020-12-16 22:17:26 -05:00
LICENSE Initial commit 2020-12-14 08:43:08 -05:00
README.md Setup a basic custom HTML5 shell. 2020-12-16 23:17:25 -05:00
default_env.tres Add initial godot setup. 2020-12-15 23:18:27 -05:00
export_presets.cfg Setup a basic custom HTML5 shell. 2020-12-16 23:17:25 -05:00
fixed-size.html Get basic setup working for demo. 2020-12-17 00:13:56 -05:00
icon.png Add initial godot setup. 2020-12-15 23:18:27 -05:00
icon.png.import Add initial godot setup. 2020-12-15 23:18:27 -05:00
project.godot Simplify project setup. 2020-12-16 22:17:26 -05:00

README.md

godot-html-js-int-demo

Demo of integrating a Godot HTML5 exported game with its host page.

Uses a simple clicker game and a custom web shell to interact with the hosted page.

Working demo page

Setup

  • Requires Godot 3.2.x
    • Use OpenGL ES 2.0 to allow for the HTML5 export.

The custom JS and styling (outside of the fixed size template provided by the Godot devs) can be found between the <!-- Start of Custom Game block --> and <!-- End of Custom Game block --> comment codes in fixed-size.html.

Extra Notes