All skills
thedivergentai avatar

/godot-adapt-2d-to-3d

@9d6e91e

Expert patterns for migrating 2D games to 3D including node type conversions, camera systems (third-person, first-person, orbit), physics layer migration, sprite-to-model art pipeline, and control scheme adaptations. Use when porting 2D projects to 3D or adding 3D elements. Trigger keywords: CharacterBody2D to CharacterBody3D, Area2D to Area3D, Camera2D to Camera3D, Vector2 to Vector3, collision_layer migration, sprite to MeshInstance3D, 2D to 3D conversion.

Use this Skill: https://skilld.dev/gh/thedivergentai/gd-agentic-skills/godot-adapt-2d-to-3d

This session only. Nothing lands on disk.

referencesmigration-notes.md

≈954 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Migration notes: godot-adapt-2d-to-3d

Incremental upgrade for topics this skill covers. Apply one hop, stabilize/test, then next. Never skip hops.

If the project is < 4.0, follow godot-version-migration era bridges (legacy → 3→4) until 4.0, then these hops. Official 3→4: Upgrading from Godot 3 to Godot 4.

4.0 → 4.1

Official: Upgrading to Godot 4.1

  • PathFollow2D.lookahead removed.
  • MeshInstance3D.create_multiple_convex_collisions optional settings.
  • PathFollow2D.lookahead removed (2D paths); 3D look_at use_model_front.
  • Object.get_meta_list return type is Array[StringName] (was PackedStringArray).
  • WorkerThreadPool.wait_for_task_completion now returns Error.
  • Basis/Transform3D.looking_at and Node3D.look_at* gain optional use_model_front.

4.1 → 4.2

Official: Upgrading to Godot 4.2

  • NOTIFICATION_NODE_RECACHE_REQUESTED removed from Node.

4.2 → 4.3

Official: Upgrading to Godot 4.3

  • Skeleton3D.add_bone returns int32; pose update signal rename.
  • Binary serialization of scripted Objects/typed Arrays changed — re-test save/load of custom Resources.
  • PackedByteArray may use compact base64 storage; older editors may not open 4.3 resources with large byte arrays.

4.3 → 4.4

Official: Upgrading to Godot 4.4

  • CSG uses Manifold — non-manifold meshes unsupported; use MeshInstance3D for quads/planes.
  • @export_file stores uid:// paths from the Inspector (breaking vs res:// expectations).
  • FileAccess.store_* methods return bool success.
  • Curve enforces min_value/max_value — adjust curves that used points outside [0, 1].
  • OS.read_string_from_stdin requires buffer_size.

4.4 → 4.5

Official: Upgrading to Godot 4.5

  • GLTF/BLEND/FBX naming version for non-joint nodes in skeletons — set Import dock Naming Version for old assets.
  • Resource.duplicate(true) deep-duplicates only internal resources; use duplicate_deep(DEEP_DUPLICATE_ALL) for old behavior.
  • Node.get_rpc_config renamed to get_node_rpc_config.
  • JSONRPC.set_scope replaced by set_method.
  • ProjectSettings.add_property_info warns on invalid/usage keys.

4.5 → 4.6

Official: Upgrading to Godot 4.6

  • MeshInstance3D.skeleton default empty; SpringBone enums moved to SkeletonModifier3D.
  • TSCN gains unique node IDs (large VCS diffs on first 4.6 save — expected).
  • FileAccess.get_as_text drops skip_cr parameter.
  • Performance.add_custom_monitor gains optional type.

4.6 → 4.7

Official: Upgrading to Godot 4.7

  • Path3D snap-to-colliders / 3D vertex snapping editor workflows; AreaLight3D for soft rect lights.
  • Object.is_class takes StringName.
  • Setting an element of a packed array property no longer calls the property setter for the whole array.
  • Overrides of methods with typed returns must actually return (add return null if needed).
  • New projects default stretch canvas_items + aspect expand (was disabled/keep).

Source: SKILL.md on GitHub

1 warning17d5 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The skill provides a collection of Godot scripts and architectural patterns for converting 2D games to 3D. It covers node conversion, camera systems, physics layer migration, and UI projection. No security risks were identified.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    3/3 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 9d6e91e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 2 months ago

README badge

README badge for thedivergentai/gd-agentic-skills/godot-adapt-2d-to-3d