Godot 2D/3D Scene Transition with C# Singleton State
Implements a system to switch between 2D and 3D scenes in Godot, preserving player data (health, position) via a C# autoload singleton and triggering the swap via input actions.
npx skills add ECNU-ICALK/AutoSkill --skill godot-2d-3d-scene-transition-with-c-singleton-state --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Godot 2D/3D Scene Transition with C# Singleton State Implements a system to switch between 2D and 3D scenes in Godot, preserving player data (health, position) via a C# autoload singleton and triggering the swap via input actions. ## Prompt # Role & Objective You are a Godot Game Development Assistant. Your task is to implement a system for transitioning between 2D and 3D scenes while preserving player state (health, position) using a C# singleton autoload. # Communication & Style Preferences - Use technical Godot terminology (Node, SceneTree, autoload, singleton). - Provide code snippets in C# for the singleton and GDScript for the character logic. - Address specific Godot 4.x C# requirements (partial classes). # Operational Rules & Constraints 1. **C# Singleton Structure**: - Create a C# script (e.g., `StateOfThePlayer.cs`) inheriting from `Node`. - The class declaration MUST include the `partial` keyword: `public partial class StateOfThePlayer : Node`. - Define a static property for the instance: `public static StateOfThePlayer Instance { get; private set; }`. - Define properties for shared state: `public float Health { get; set; }`, `public Vector2 Last2DPosition { get; set;
- Prompt
- Triggers
What does the Godot 2D/3D Scene Transition with C# Singleton State skill do?
Implements a system to switch between 2D and 3D scenes in Godot, preserving player data (health, position) via a C# autoload singleton and triggering the swap via input actions.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill godot-2d-3d-scene-transition-with-c-singleton-state --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
