Skip to content

Instantly share code, notes, and snippets.

@Flavelius
Flavelius / Godot for ambitious projects
Last active November 30, 2023 18:54
Notes for why godot is currently not the best choice for larger projects
Issues that make it hard to use godot for larger projects that make use of more complex combinations of many features:
Showstoppers:
-Changing the name of a resource that is referenced in multiple other locations modifies all referencing locations as well (apart from placeholder nodes that just make scenes that use them become invalid :: https://github.com/godotengine/godot/pull/75103) (design issue)
--Advanced import paths become invalid on reference path changes (references to materials, animations etc.)
-ResourceLoader.Exists returns true for non-existent resources (likely result of caching bugs)
-renaming nodes that are inherited creates orphans in inherited scenes (design issue) :: https://github.com/godotengine/godot/pull/73911
-Animations are referenced as strings and AnimationTree resources are dependent on scene nodes, making animationtrees impossible to edit as external resources (design issue)
-Animationtree nodes cannot be reused, requiring duplication for synchronizing layered animation (for exa
@Flavelius
Flavelius / Akeytsu to Godot Fbx Converter Helper (Blender addon)
Last active May 4, 2022 17:49
Helpers to import fbx characters exported from Akeytsu, correct actions and export as glb
import bpy
bl_info = {
"name": "Akeytsu to Godot Helper",
"author": "Flavelius",
"description":"Provides gltf export corrections for characters",
"version": (0, 1),
"blender": (3, 1, 0),
"category":"Object",
"support":"COMMUNITY",
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.SceneManagement;
static class EditorSceneSettingsExtension
{
[SettingsProvider]
public static SettingsProvider CreateStartSceneSettingsProvider()
{
@Flavelius
Flavelius / JobScheduler.cs
Created October 3, 2017 10:00
Simple Unity3D/Generic Main thread Job Scheduler
using System;
using System.Collections.Generic;
public class JobScheduler
{
public delegate float TimeRetrieverFunc();
readonly int MaxPooledJobs = 10000;
@Flavelius
Flavelius / gist:07f3b9fec08c5508b8ca1d7f9337549a
Created May 20, 2017 13:36
Unity Editor - Create folders from enum
#if UNITY_EDITOR
using System;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
class EnumFolderCreator: EditorWindow
{
[MenuItem("Edit/CreateEnumFolders")]