Lecrapouille / gdcef

[Plugin][Version 0.10.0][Functional] Chromium Embedded Framework Webview for Godot 3 and 4
https://discord.gg/EckEwy7S5U
MIT License
222 stars 26 forks source link
cef chromium-embedded-framework gdnative gdnative-plugin godot godot-engine godot3 godot3-4 godot3-5 godotengine webview

Chromium Embedded Framework Webview for Godot

This repository contains the source code of some C++ classes wrapping a subset of the Chromium Embedded Framework (CEF for shorter) API compiled to be used either as a Godot 3.5 native module (GDNative) or Godot 4.2 extension (GDExtension) which allows you to implement a webview for your 2D and 3D games through your gdscripts for Linux and Windows (Mac OS should work, if you are a MacOS dev, please contact me by creating an issue).

We have named this CEF module/extension gdcef. It can be downloaded directly from the Godot asset library:

For people, that does not want to compile this project by their selves can download pre-build artefacts https://github.com/Lecrapouille/gdcef/releases

For developers, since Godot 3.x GDNative and Godot 4.x GDExtension are not compatible, there are two branches:

For developers, you have to do:

Announcement: for Linux users for version >= 0.10.0, exporting LD_LIBRARY_PATH or LD_PRELOAD is no longer needed! Do not forget to remove them from your environment (i.e. bashrc)!