All skills
thedivergentai avatar

/godot-genre-card-game

@9d6e91e

Expert blueprint for digital card games (CCG/Deckbuilders) including card data structures (Resource-based), deck management (draw/discard/reshuffle), turn logic, hand layout (arcing), drag-and-drop UI, effect resolution (Command pattern), and visual polish (godot-tweening, shaders). Use for CCG, deckbuilders, or tactical card games. Trigger keywords: card_game, deck_manager, card_data, hand_layout, drag_drop_cards, effect_resolution, command_pattern, draw_pile, discard_pile.

Use this Skill: https://skilld.dev/gh/thedivergentai/gd-agentic-skills/godot-genre-card-game

This session only. Nothing lands on disk.

referencesmigration-notes.md

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

Migration notes: godot-genre-card-game

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

  • SubViewportContainer.mouse_filter must be STOP/PASS for input to reach SubViewports.
  • Layered SubViewportContainers needing mouse input may need Area2D replacements.
  • CodeEdit.add_code_completion_option gains location; Tree edit_selected gains force_edit.

4.1 → 4.2

Official: Upgrading to Godot 4.2

  • PopupMenu shortcut helpers gain allow_echo; clear gains free_submenus.
  • GraphEdit: arrange_nodes_button_hidden → show_arrange_button; snap props renamed; get_zoom_hbox → get_menu_hbox.
  • GraphNode: large API move to GraphElement; connection query methods removed; comment/show_close removed.

4.2 → 4.3

Official: Upgrading to Godot 4.3

  • If the genre uses TileMap, migrate to TileMapLayer nodes before relying on layer APIs.
  • If the genre ships multiplayer, upgrade all peers to 4.3 together (SceneMultiplayer protocol).
  • Default font outline color is black (was white).
  • auto_translate deprecated for Node auto_translate_mode (inherit semantics).
  • AcceptDialog register/remove helpers take LineEdit/Button specifically.

4.3 → 4.4

Official: Upgrading to Godot 4.4

  • GraphEdit.connect_node gains keep_alive; frame_rect_changed uses Rect2.

4.4 → 4.5

Official: Upgrading to Godot 4.5

  • CanvasItem/Font/TextLine draw APIs gain optional oversampling.
  • TreeItem.add_button gains alt_text.
  • Resource deep-duplicate and UID export-file changes affect inventory/quest/economy Resource graphs.

4.5 → 4.6

Official: Upgrading to Godot 4.6

  • Retune Environment glow/fog if the genre leans on bloom-heavy looks.
  • Control.grab_focus / has_focus gain hide-focus options.
  • FileDialog.add_filter gains mime_type; SplitContainer.clamp_split_offset gains priority_index.
  • EditorFileDialog file APIs moved onto FileDialog base; add_side_menu removed.
  • PopupMenu.submenu_popup_delay default 0.2 (was 0.3).

4.6 → 4.7

Official: Upgrading to Godot 4.7

  • Confirm project stretch mode and AudioStreamPlayer area_mask after opening in 4.7.
  • Control.accessibility_live uses AccessibilityServer.AccessibilityLiveMode.
  • TreeItem.select gains set_as_cursor.
  • CanvasItem no longer adds antialiasing feather that thickened lines — widen strokes if visuals relied on it.
  • Re-validate Resource pipelines after packed-array setter and typed-return GDScript changes.

Source: SKILL.md on GitHub

2 warnings16d4 checks · Risk MEDIUM
  • Gen Agent Trust Hub16d

    The skill provides a framework for creating digital card games in Godot. It utilizes a Resource-based architecture that allows gameplay logic to be defined in scripts attached to data files. While this is a common game development pattern, it introduces a dynamic execution vector if the game loads resources from untrusted sources. The skill also processes card metadata which lacks sanitization, presenting a surface for indirect prompt injection.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    3/3 files flagged

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-genre-card-game