All Projects → godot-addons → godot-kotlin

godot-addons / godot-kotlin

Licence: MIT license
Kotlin Native bindings for Godot Engine

Programming Languages

CMake
9771 projects
kotlin
9241 projects

Projects that are alternatives of or similar to godot-kotlin

godot-cpp-ci
Docker image and Github Actions to automatically compile Godot C++ GDNative libraries.
Stars: ✭ 21 (+90.91%)
Mutual labels:  godot, godot-engine
godot-sponza
Sponza demo for Godot 3.x (`master` branch) and 4 (`4.0-dev` branch)
Stars: ✭ 133 (+1109.09%)
Mutual labels:  godot, godot-engine
Realistic-Atmosphere-Godot-and-UE4
A realistic atmosphere material for both the Godot game engine and Unreal Engine 4
Stars: ✭ 119 (+981.82%)
Mutual labels:  godot, godot-engine
GodotTerrainEditorPainter
Heightmap based terrain editor plugin for GODOT with vertex color based terrain shader painting
Stars: ✭ 23 (+109.09%)
Mutual labels:  godot, godot-engine
gdinv
More or less universal inventory system plugin for Godot Engine (3.3+). Data-driven.
Stars: ✭ 69 (+527.27%)
Mutual labels:  godot, godot-engine
ZoneLoadingSystem
Dynamic zone loading system for Godot
Stars: ✭ 137 (+1145.45%)
Mutual labels:  godot, godot-engine
godot box2d
A C++ module that integrates the Box2D library with the Godot game engine by providing nodes for standard Box2D objects.
Stars: ✭ 32 (+190.91%)
Mutual labels:  godot, godot-engine
godot-awesome-splash
Collection of splash screens in Godot
Stars: ✭ 137 (+1145.45%)
Mutual labels:  godot, godot-engine
godot-engine.supabase
A lightweight addon which integrates Supabase APIs for Godot Engine out of the box.
Stars: ✭ 39 (+254.55%)
Mutual labels:  godot, godot-engine
gdosc
OSC module for Godot game engine - it is now discontinued in favor of https://gitlab.com/frankiezafe/gdosc
Stars: ✭ 14 (+27.27%)
Mutual labels:  godot, godot-engine
godot recipes
Lessons, tutorials, and guides for game development using the Godot game engine.
Stars: ✭ 135 (+1127.27%)
Mutual labels:  godot, godot-engine
VisualNovelKit
Combo of addons + template to create narrative games in Godot inspired by Ren'Py
Stars: ✭ 78 (+609.09%)
Mutual labels:  godot, godot-engine
breakable
A breakout-like game made with Godot Engine
Stars: ✭ 56 (+409.09%)
Mutual labels:  godot, godot-engine
autotiler
Autotile 47-tile blob tileset generator application with Godot export support. Based on Electron JS.
Stars: ✭ 32 (+190.91%)
Mutual labels:  godot, godot-engine
Project-Map
No description or website provided.
Stars: ✭ 52 (+372.73%)
Mutual labels:  godot, godot-engine
godot-extras
My collection of various plugins, modules, or patches for Godot
Stars: ✭ 108 (+881.82%)
Mutual labels:  godot, godot-engine
godot-admob-editor
This repository is for Godot's Addons to integrate natively AdMob to your Game Project without much configurations, with a beautiful UI and directly inside Godot Editor!
Stars: ✭ 43 (+290.91%)
Mutual labels:  godot, godot-engine
godot-lua-pluginscript
Godot PluginScript for the Lua language, currently based on LuaJIT's FFI
Stars: ✭ 182 (+1554.55%)
Mutual labels:  godot, godot-engine
Unidot-Importer
Godot Addon to import .unitypackage and other assets designed for Unity Engine.
Stars: ✭ 42 (+281.82%)
Mutual labels:  godot, godot-engine
Persistence
Plugin para almacenar datos de forma persistente en Godot Engine 3
Stars: ✭ 20 (+81.82%)
Mutual labels:  godot, godot-engine

godot-kotlin

Introduction

Disclaimer - I probably do not have the technical expertise to actually make this work. If you happened upon this repo by searching or just browsing the org, don't expect much here :)

I have come across one (maybe two) others from Google searching who have posted about supporting Kotlin in Godot Engine. I'm probably wrong, but the little I have experimented and understand so far, the steps may be to use the cinterop to generate c bindings, and then perhaps a ton of work to expose Kotlin classes to interface with the interop functions.

Setup

  1. Install Gradle
  2. Clone godot-kotlin
  3. Validate that the godot_headers submodule was pulled down, otherwise init
  4. Install Kotlin plugin

Clone godot-kotlin

git clone [email protected]:godot-addons/godot-kotlin.git
git submodule init

Run Gradle

./gradlew clean build

Install the godotapi.klib

Run the command below, then open the project in CLion and it should pick things up.

klib install build/konan/libs/macos_x64/godotapi.klib

Kotlin Plugin

https://plugins.jetbrains.com/plugin/10454-kotlin-native-for-clion

Structure

  • src/main/c_interop/godotapi.def is the Kotlin Native interop definition file which tells konan (kotlin native compiler) to include the c (*.h) header files from godot_headers

Related

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].