Demo of integrating a Godot HTML5 exported game with its host page.
Go to file
Dorian 800d53ddba
continuous-integration/drone/push Build is passing Details
Migrate to rsync deployment from s3 upload.
2021-03-15 23:45:01 -04:00
.drone.yml Migrate to rsync deployment from s3 upload. 2021-03-15 23:45:01 -04:00
.gitignore Fix issue with drone ci build. 2020-12-16 22:31:51 -05:00
Game.gd Implement a basic clicker game. 2020-12-17 10:55:29 -05:00
Game.tscn Implement a basic clicker game. 2020-12-17 10:55:29 -05:00
LICENSE Initial commit 2020-12-14 08:43:08 -05:00
README.md Fix issues with starting up the game. 2020-12-17 14:02:51 -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 Improve style for frame. 2020-12-17 14:10:19 -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
kenpixel_future.ttf Implement a basic clicker game. 2020-12-17 10:55:29 -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

Credits