Game programming languages - C#, C++, GDScript. Learn syntax, patterns, and engine-specific idioms for professional game development.
Provides production-ready code templates and syntax guidance for C# (Unity), C++ (Unreal), and GDScript (Godot). Use when writing game code to get engine-specific patterns, memory management best practices, and troubleshooting for common issues like GC spikes or memory leaks.
/plugin marketplace add pluginagentmarketplace/custom-plugin-game-developer/plugin install custom-plugin-game-developer@pluginagentmarketplace-game-developerThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/languages_config.yamlreferences/LANGUAGES_GUIDE.mdscripts/lang_selector.pyEasiest to learn, most used for game dev
// ✅ Production-Ready: Unity MonoBehaviour Template
public class GameEntity : MonoBehaviour
{
[SerializeField] private float _speed = 5f;
[SerializeField] private int _health = 100;
public event Action<int> OnHealthChanged;
public event Action OnDeath;
private Rigidbody _rb;
private bool _isInitialized;
private void Awake()
{
_rb = GetComponent<Rigidbody>();
_isInitialized = true;
}
public void TakeDamage(int amount)
{
if (!_isInitialized) return;
_health = Mathf.Max(0, _health - amount);
OnHealthChanged?.Invoke(_health);
if (_health <= 0)
OnDeath?.Invoke();
}
}
Key Features:
Learning Path: 2-3 weeks basics, 2-3 months mastery
Most powerful, steepest learning curve
// ✅ Production-Ready: Unreal Actor Template
UCLASS()
class MYGAME_API AGameEntity : public AActor
{
GENERATED_BODY()
public:
AGameEntity();
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stats")
float Speed = 500.0f;
UPROPERTY(ReplicatedUsing = OnRep_Health)
int32 Health = 100;
UFUNCTION(BlueprintCallable, Category = "Combat")
void TakeDamage(int32 Amount);
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnHealthChanged, int32, NewHealth);
UPROPERTY(BlueprintAssignable)
FOnHealthChanged OnHealthChanged;
protected:
virtual void BeginPlay() override;
UFUNCTION()
void OnRep_Health();
};
Key Features:
Learning Path: 4-6 weeks basics, 4-6 months proficiency
Python-like, easiest syntax
# ✅ Production-Ready: Godot Node Template
extends CharacterBody2D
class_name GameEntity
signal health_changed(new_health: int)
signal died
@export var speed: float = 200.0
@export var max_health: int = 100
var _health: int = max_health
func _ready() -> void:
_health = max_health
func take_damage(amount: int) -> void:
_health = max(0, _health - amount)
health_changed.emit(_health)
if _health <= 0:
died.emit()
queue_free()
func _physics_process(delta: float) -> void:
var direction = Input.get_vector("left", "right", "up", "down")
velocity = direction * speed
move_and_slide()
Key Features:
Learning Path: 1-2 weeks basics, 4-8 weeks proficiency
| Feature | C# (Unity) | C++ (Unreal) | GDScript |
|---|---|---|---|
| Memory | Managed (GC) | Manual | Managed |
| Speed | Fast | Fastest | Moderate |
| Learning | Moderate | Hard | Easy |
| Typing | Static | Static | Dynamic |
| Industry | Mobile/Indie | AAA | Indie |
┌─────────────────────────────────────────────────────────────┐
│ PROBLEM: Garbage collection spikes in C# │
├─────────────────────────────────────────────────────────────┤
│ SOLUTIONS: │
│ → Use object pooling │
│ → Avoid allocations in Update() │
│ → Cache GetComponent results │
│ → Use structs for small data │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ PROBLEM: Memory leaks in C++ │
├─────────────────────────────────────────────────────────────┤
│ SOLUTIONS: │
│ → Use TSharedPtr/TWeakPtr │
│ → UPROPERTY for UObject pointers │
│ → Run memory profiler regularly │
└─────────────────────────────────────────────────────────────┘
| Practice | Benefit |
|---|---|
| Consistent naming | Readable code |
| Early returns | Reduced nesting |
| Composition over inheritance | Flexible design |
| Cache frequently used values | Performance |
Use this skill: When learning game programming languages or optimizing code.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.