Logo: Godot Migration

Godot Migration

Communautéit
EL4CTEO
godot-migration

Upgrade or port a project to Godot 4.7 - Godot 3 to 4 (converter, GDScript 2.0, C# partial classes, shaders, TileMap, physics), 4.0-4.6 to 4.7 breaking changes, C# csproj and SDK bumps, and Unity or Unreal concept mapping to Godot nodes, scenes, signals and Resources. Includes a scanner that lists every stale API in a project. Use when upgrading, porting or converting a project.

Iwwersiicht

EditeurEL4CTEO
Repositorygodot-skills
Skill-Nummgodot-migration
Stären
60
Forks
6
Matgeliwwert Dateien
3
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    EL4CTEO huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Godot Migration an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-migration
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EL4CTEO/godot-skills.git /tmp/godot-skills
mkdir -p .claude/skills
cp -r /tmp/godot-skills/skills/godot-migration .claude/skills/godot-migration
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Godot Migration an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Godot Migration automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Godot Migration net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Migration and Porting (to 4.7)

Run it first: python scripts/migrate_scan.py [DIR] reports the project's Godot version (config_version=4 means Godot 3, 5 means Godot 4; config/features gives the 4.x minor) and every stale API with file, line and fix. --rule NAME filters by rule, --limit N caps the output. It's static and fast; it never edits files.

Always

  1. Commit or copy the project first. The converter and the editor rewrite files with no backup.
  2. Upgrade one step at a time where it's cheap: the latest 3.x (3.6) before 4.x; for 4.x projects, open them directly in 4.7.
  3. Let the editor import once (run_godot.py import), then loop: migrate_scan.py → fix → gd_check.py/cs_build.py → run_godot.py smoke until all are clean (godot-core verification loop).
  4. Re-save resources so the diffs stop: Project → Tools → Upgrade Project Files (rewrites .tscn/.tres in the 4.7 format; 4.6+ scenes carry unique_id=). Commit the *.uid files.
  5. Delete .godot/ if the editor shows ghost errors after the upgrade (it's a cache, and it rebuilds).

Godot 3 → 4.7

  1. Dry run: python scripts/migrate_scan.py DIR --convert (wraps --validate-conversion-3to4) lists what the converter would change. Then --convert --apply (wraps --convert-3to4). Raise --max-kb/--max-lines for huge files (defaults 4000 KB, 100000 lines).
  2. The converter renames classes, properties, export/onready/yield, many methods, shader built-ins and .shader → .gdshader. It also renames node names in paths ($Camera → $Camera3D) while the scene nodes keep their old names, so check every $/get_node path.
  3. Then fix by hand what it can't do (the scanner finds most of these): | Area | What to do | |---|---| | setget, connect("sig", obj, "m", binds), funcref, RPC keywords | property set/get blocks, sig.connect(m.bind(...)), Callables, @rpc(...) | | move_and_slide(vel, up, ...) | the converter emits set_velocity(); move_and_slide(); velocity = velocity: clean it up to velocity + move_and_slide(), and retune floor_snap_length and floor_max_angle | | Tween node, interpolate_property | create_tween().tween_property(...) | | TileMap | TileSets need re-setup (terrains replace autotile), then extract layers to TileMapLayer nodes (TileMap bottom panel) | | Physics feel | gravity, friction, snapping and the engine changed. New 4.6+ projects use Jolt; a converted project keeps GodotPhysics3D until you switch physics/3d/physics_engine | | Lighting/look | GLES3 → Compatibility, GLES2 doesn't exist. GIProbe → VoxelGI/SDFGI, tonemapping and glow differ, so retune the Environment (godot-3d-rendering) | | Shaders | SCREEN_TEXTURE/DEPTH_TEXTURE → uniform sampler2D x : hint_screen_texture/hint_depth_texture; hint_color → source_color; see the scanner's shader3-* rules | | Particles | Particles → GPUParticles3D. Process materials convert, but retune emission and sub-emitters | | OS.* window and time APIs | DisplayServer, get_window(), Time | | Files | File.new()/Directory → static FileAccess.open()/DirAccess.open() (they return null on error: check FileAccess.get_open_error()) | | Plugins and addons | most Godot 3 addons don't work: get the 4.x version (godot-addons). GDNative → GDExtension (a rebuild against godot-cpp) | | C# | regenerate the project: Project → Tools → C# → Create C# solution (Sdk="Godot.NET.Sdk/4.7.2", net8.0). Then partial classes, [Signal] delegate void XEventHandler(), += signal events, double delta, GodotObject, Instantiate<T>(), Godot.Collections types (godot-csharp) | | Networking | the high-level multiplayer API was rewritten. Port to MultiplayerSpawner/Synchronizer and @rpc (godot-networking) | Stale-name tables for writing new code: ../godot-core/references/godot3-traps.md.

4.0–4.6 → 4.7

  • Open the project in 4.7; it upgrades project.godot and config/features. Breaking changes per version are in ../godot-core/references/whats-new.md. The scanner flags the code-level ones (get_rpc_config, get_as_text(bool), BlendSpace sync, device == 0, C# Animation.Length as double, StringName animation names).
  • C#: bump Sdk="Godot.NET.Sdk/4.7.2" in the .csproj (the scanner flags older SDKs), rebuild, and fix the binary breaks. Android needs net9.0 (the generated csproj adds the condition).
  • TileMap → TileMapLayer, ParallaxBackground → Parallax2D, SkeletonIK3D → the IK modifiers: deprecated, not removed, so migrate when you touch that code.
  • Behavior to retest: Resource.duplicate(true) (4.5), async navigation map updates (4.5), TileMapLayer physics chunking (4.5), the glow defaults (4.6), thinner antialiased lines (4.7), AudioStreamPlayer2D/3D.area_mask default 0 (4.7).
  • Existing projects keep their renderer, physics engine and stretch settings. New defaults apply only to new projects.
  • Re-export with matching export templates (godot-export-ci).

Porting from Unity or Unreal

Think in scenes of nodes, not GameObjects with components. A scene is a prefab, a level and a component at once.

UnityGodot 4.7
GameObject + componentsnode tree; one script per node; compose with child nodes (godot-architecture)
Prefab / prefab variantPackedScene (.tscn) / inherited scene
ScriptableObjectResource (.tres) with @export fields
Awake/Start/Update/FixedUpdate_init/_ready/_process(delta)/_physics_process(delta)
Coroutines, asyncawait on signals and timers (C# await ToSignal(...))
UnityEvent, C# eventssignals
Tags, layersgroups (add_to_group), collision layers/masks, visual layers
DontDestroyOnLoad, singletonsautoloads
Resources.Load, Addressablespreload/load, ResourceLoader.load_threaded_request
PlayerPrefsConfigFile in user://
Rigidbody / CharacterControllerRigidBody3D / CharacterBody3D
Animator + state machineAnimationTree with a state machine
UGUI / UI ToolkitControl nodes + containers + Theme
Input System actionsInput Map actions (godot-input)
transform.forward (+Z)-global_basis.z (−Z is forward; Godot is right-handed, Y-up, 1 unit = 1 m)
Debug.Logprint() / GD.Print(); push_warning/push_error
Unreal: Actor → Node3D scene; Blueprint → GDScript or C# script on the node; GameMode/GameInstance → autoloads; Components → child nodes; DataAsset → Resource; Level streaming → load_threaded_request + add_child.

Godot 3 → 4 C# and GDScript before/after, Unity-style component patterns in Godot, and a migration checklist (compiled by the tests): references/porting.md

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Godot Migration?

Upgrade or port a project to Godot 4.7 - Godot 3 to 4 (converter, GDScript 2.0, C# partial classes, shaders, TileMap, physics), 4.0-4.6 to 4.7 breaking changes, C# csproj and SDK bumps, and Unity or Unreal concept mapping to Godot nodes, scenes, signals and Resources. Includes a scanner that lists every stale API in a project. Use when upgrading, porting or converting a project.

Firwat Godot Migration op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Godot Migration besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Godot Migration an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-migration an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Godot Migration benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Godot Migration benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Godot Migration domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Godot Migration gratis?

Jo. EL4CTEO huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇