Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Haxe Game Development
  3. HxGodot (Godot 4.0)

HxGodot (Godot 4.0)

MITHaxe

A Haxe GDExtension for Godot 4, enabling game development with Haxe nodes that integrate seamlessly into Godot scenes.

GitHubGitHub
232 stars12 forks0 contributors

What is HxGodot (Godot 4.0)?

HxGodot is a GDExtension for Godot 4 that enables developers to write game nodes in Haxe, which are then compiled to C++ via hxcpp and integrated as native nodes in Godot scenes. It provides an alternative workflow for Godot game development by leveraging Haxe's syntax and cross-platform capabilities, though it was an experimental project that is no longer maintained.

Target Audience

Godot 4 developers who are already familiar with or interested in the Haxe programming language and want to use it for writing game logic and nodes within the Godot engine.

Value Proposition

Developers might choose HxGodot to combine Haxe's expressive syntax and selective compilation (which optimizes extension size by including only used classes) with Godot's powerful engine and editor, offering a unique integration that generates automatic bindings for Godot's API.

Overview

A Haxe GDExtension for Godot 4

Use Cases

Best For

  • Godot developers wanting to write game nodes in Haxe instead of GDScript or C++.
  • Projects aiming to leverage Haxe's cross-platform compilation capabilities within the Godot engine.
  • Developers needing automatic generation of Haxe bindings for Godot's API, with support for custom Godot versions.
  • Experiments or smaller projects exploring alternative workflows for Godot 4 game development.
  • Scenarios where selective compilation to optimize extension size is a priority.
  • Generating starter projects with examples and build configuration via a CLI tool for quick setup.

Not Ideal For

  • Production games requiring stable, long-term support and maintenance
  • Developers unfamiliar with C++ build tools, SCons, or the Haxe toolchain
  • Projects that need full, reliable access to Godot's entire API without missing functions or crashes
  • Teams seeking a straightforward, out-of-the-box solution without manual binding generation and updates

Pros & Cons

Pros

Haxe Language Integration

Allows writing Godot nodes in Haxe, compiled to C++ via hxcpp, offering expressive syntax and cross-platform capabilities, as demonstrated in the sample project generation.

Automatic Binding Generation

Generates Haxe bindings for Godot's API automatically, with support for custom Godot versions using the --dump-extension-api-with-docs command.

Selective Compilation

Haxe's compiler includes only classes actually used in the code, optimizing extension size by avoiding bloat, as noted in the 'Good to know' section.

Starter Project Tooling

Includes a CLI tool to generate a complete sample project with examples and build configuration, speeding up initial setup and experimentation.

Cons

Abandoned and Unmaintained

The project is no longer maintained, with the creator admitting it was an experimental failure due to complexity, meaning no bug fixes, updates, or support.

Complex and Fragile Setup

Requires a specific build environment matching Godot's, including C++ compiler, Python, SCons, and Haxe toolchain, with manual steps for binding generation and updates that are error-prone.

Incomplete and Unstable API

Explicitly warns of potential crashes, missing API pieces, and issues like dangerous GDArrays that can cause stack corruption, making it unreliable for serious development.

Frequently Asked Questions

Quick Stats

Stars232
Forks12
Contributors0
Open Issues10
Last commit1 year ago
CreatedSince 2022

Tags

#haxe#cpp-bindings#game-development#gdextension#cross-platform#game-engine#godot-engine

Built With

G
Godot 4
S
SCons
H
Haxe
h
hxcpp
C
C++

Included in

Haxe Game Development413
Auto-fetched 1 day ago

Related Projects

HeapsHeaps

Heaps : Haxe Game Framework

Stars3,481
Forks369
Last commit2 days ago
Armory (Kha)Armory (Kha)

3D Engine with Blender Integration

Stars3,290
Forks340
Last commit8 days ago
HaxeFlixel (OpenFL)HaxeFlixel (OpenFL)

Free, cross-platform 2D game engine powered by Haxe and OpenFL

Stars2,191
Forks506
Last commit19 days ago
OpenFLOpenFL

An open source library for creative expression on the web, desktop, mobile and consoles. Inspired by the classic Flash and AIR APIs.

Stars2,132
Forks488
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub