Skip to content

Instantly share code, notes, and snippets.

View inc0der's full-sized avatar

inc0der

View GitHub Profile
@inc0der
inc0der / linc_dialog_arch_solution.md
Last active November 16, 2023 19:51
Fix for linc_dialogs in arch

There is a small problem using linc_dialogs in Arch linux which I came across when building an app with Ceramic.

The problem with compiling the app in Arch is it could not find the glib-2.0 includes, this is because in the linc_dialogs.xml the glib path is set to an incorrect path which may be the correct path for Debian based distrubitions like Ubuntu.

to fix this I simply replaced line 32 with this line below, essentially changing the path to the correct location at usr/lib/glib-2.0

<compilerflag value="-I/usr/include/glib-2.0" if="USE_GTK3" />
@inc0der
inc0der / basic_fps_controller.gd
Last active October 12, 2022 05:34
Basic FPS Controller for Godot 4
# For Godot 4 Alpha 2
# The head node should contain the camera, flashlight and other things that require a pivot/rotation
class_name BasicFpsController
extends CharacterBody3D
@export var MOVE_SPEED := 4.0
@export var JUMP_FORCE := 4.5
@export var SPRINT_SPEED := 6.0