Skip to content

Display Web-Content in Godot. Use html/css/javascript as like godot native part.

License

Notifications You must be signed in to change notification settings

shabbywu/ultralight-godot

Repository files navigation

ultralight-godot

Display Web-Content in Godot. You can use html/css/JavaScript as like godot native part.

Installation

  1. download prebuilt binaray from github release page
  2. unzip archive to your godot project rootdir, you will get a folder named addons.
  3. launcher godot editor, add new Node UltralightView to display web-content in Godot.

Features

  • Render html in godot.
  • Multiple platform support:
    • Windows(x86_64 is tested)
    • Macos(x86_64 is tested)
    • ❕Linux (build successfully but untested, if anyone can test it, please let me know)
  • Use CSS to control styles, which is easier to use and controllable than Godot's native UI.
  • JavaScript Interop with godot, just like native part of godot.
    • Execute JavaScript from csharp/gdscript.
    • Bind csharp/gdscript callback to ultralight JavaScript context.
    • Bind csharp/gdscript object inhereit from godot::Object to ultralight JavaScript context.
    • Call JavaScript function in csharp/gdscript.
  • Built in docs, can check at godot editor.
  • Supports transparent background, helpful for use as a UI system.
  • Input
    • Mouse Input
    • Keyboard Input
    • Mouse Scroll Input
  • Remote UI Inspector, aka, DevTools.

Samples

In Progress

  • More Samples about how to use ultralight-godot as UI system.
  • Tutorial...

Screenshot

image

Clipchamp.mp4
Clipchamp.mp4

About

Display Web-Content in Godot. Use html/css/javascript as like godot native part.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published