1
0
Fork
You've already forked BitLife
0
An small project intended to be used as an template for using C++ with GD-Extensions in the WebBrowser.
  • C++ 77.7%
  • C# 9.4%
  • GDScript 8.4%
  • Python 4.5%
2024年10月08日 12:11:49 +00:00
BuildProject File Upload 2024年10月07日 15:10:22 +02:00
Extension File Upload 2024年10月07日 15:10:22 +02:00
Project File Upload 2024年10月07日 15:10:22 +02:00
.gitignore .gitignore updated 2024年10月07日 15:09:43 +02:00
LICENSE Initial commit 2024年10月07日 12:25:28 +00:00
README.md README.md aktualisiert 2024年10月08日 12:11:49 +00:00
SConstruct File Upload 2024年10月07日 15:10:22 +02:00

BitLife

An small project intended to be used as an template for using C++ with GD-Extensions in the WebBrowser. See Itch.io to see it running.

Features

  • Template for building GD-Extensions for the Web
  • One-click IDE compilation for Windows
  • Usefull Example Class

Prerequsites

  • Godot 4 executable
  • C++ compiler
  • SCons
  • godot-cpp compiled
  • .NET 7 or higher
  • Emscripten

Setup

All OS

  • Clone the repo into an empty folder
  • Folow the steps show on the docs on how to download and build godot-cpp
  • Place the godot-cpp in the folder

Windows

  • Open Extension/solution.sln
  • Set "BuildProject" as start up and press F5 to build for windows (To configure the start up project click on the small down arrow besides the build button in the top middle)

Linux/MacOS

  • Open shell in root folder and type "scons platform=YOUR_PLATFORM" to build

Building for Web

  • Search for emscripten install folder and find the emsdk_env .sh/.bat (For me its at "C:\Users\Hana\Code\Emscripten\emsdk\emsdk_env.bat")
  • Open an shell in the root folder and execute the emsdk_env file (For me its "C:\Users\Hana\Code\Emscripten\emsdk\emsdk_env.bat")
  • Then type scons platform=web (Note: You have to do the whole process everytime)