Skip to content

[Plugin][Version 0.13.0][Functional] Chromium Embedded Framework Webview for Godot 3 and 4

License

Notifications You must be signed in to change notification settings

Lecrapouille/gdcef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chromium Embedded Framework Webview for Godot

This repository contains the source code of C++ classes that wrap a subset of the Chromium Embedded Framework (CEF for short) API. These classes are compiled to be used either as a Godot 3.5 native module (GDNative) or a Godot 4.2 extension (GDExtension), allowing you to implement a webview in your 2D and 3D games through GDScript for Linux, Windows and macOS.

We have named this CEF module/extension gdcef. You can download it directly from the Godot Asset Library:

For users who don't want to compile this project themselves, pre-built artifacts are available at 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:

Developer instructions:

  • Use git checkout godot-3.x for developing the GDNative version for Godot 3.4 or 3.5
  • Use git checkout godot-4.x for developing the GDExtension version for Godot 4.2 and later

Note: After discussions with some developers who only want to display their JS games without necessarily needing Godot, there is a better alternative: When compiling CEF, the build system also compiles a small CEF application that opens Google by default. You can modify it to launch your game (local or remote) as the default page. See this repository https://github.com/Lecrapouille/exa-application and adapt these lines for your application name (title) and URL.

Alternative Godot WebView Projects