godot-genre-fighting
Expert blueprint for fighting games including frame data (startup/active/recovery frames, advantage on hit/block), hitbox/hurtbox systems, input buffering…
от thedivergentai★ 1 019 звёзд на GitHub
Установить godot-genre-fighting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
NEVER Do (Expert Anti-Patterns)
Frame-Data & Logic
- NEVER use variable framerates; strictly lock logic to a Deterministic Fixed Loop (using
_physics_processwith a frame-counter) and callreset_physics_interpolation()on teleport. - NEVER use standard Physics for hit detection; strictly use
PhysicsDirectSpaceState.intersect_shape()to query hitboxes instantly without Area2D signal lag. - NEVER skip Damage Scaling; strictly apply 10% reduction per hit in a combo to prevent infinite matches.
- NEVER make all moves safe on block; strictly ensure high-reward moves have Recovery Windows where the attacker is punishable.
- NEVER rely on
Area2D.get_overlapping_areas(); strictly useintersect_shape()for immediate, frame-perfect resolution. - NEVER forget Hitbox Proximity (Proximity Guard); strictly trigger guard states when a hitbox enters a nearby zone, even if it hasn't landed.
Character & Animation
- NEVER use simple parenting (
scale.x = -1) for character flip; strictly adjust the dedicated Visuals node while managing hitbox offsets programmatically. - NEVER use string-based animation triggers; strictly use
AnimationMixerwithADVANCE_MANUALfor frame-synced playback. - NEVER use
yieldorawaitfor frame-critical logic; strictly use Integer Frame Counting within state machines to manage recovery/startup windows perfectly. - NEVER store frame data in raw scripts; strictly use
Resourcefiles (.tres) with delegated logic for damage scaling, cancels, and combo-state tracking. - NEVER use deep node hierarchies for character parts; strictly keep skeletons shallow to reduce transformation overhead.
Input & Networking
- NEVER skip Input Buffering; strictly implement a 5-10 frame buffer to ensure lenient, responsive execution for the player.
- NEVER leave
Input.use_accumulated_inputenabled; strictly disable it to preserve sub-frame timing for precise combo links. - NEVER use client-side hit detection for netplay; strictly use rollback netcode or server validation to prevent desyncs.
- NEVER use standard TCP for multiplayer; strictly use UDP/ENet to avoid head-of-line blocking during latency spikes.
- NEVER rely on the SceneTree for fighter transforms in netplay; strictly manage positions in a serializable data buffer.
🛠 Expert Components (scripts/)
MANDATORY reads before implementing the matching system:
- fighting_input_buffer.gd — buffers + motion (QCF/DP)
- direct_hitbox_query.gd — exclusive hit resolution path (
intersect_shape)- rollback_state_serializer.gd — snapshot/restore for netplay
Original Expert Patterns
- fighting_input_buffer.gd - Frame-locked input engine (60fps) with motion command fuzzy matching (QCF/DP).
- hitbox_component.gd - Hitbox/hurtbox volume helper (layers High/Low/Throw) — resolve hits via direct_hitbox_query, not Area signals.
Modular Components
- deterministic_physics_loop.gd - Custom loop pattern for frame-perfect game state progression.
- direct_hitbox_query.gd - PhysicsServer shape-casting for immediate collision resolution.
- hit_stop_controller.gd - Dynamic time-scale manipulation for "impact" feel.
- manual_animation_advancer.gd - Frame-synced animation control via manual delta processing.
- rollback_state_serializer.gd - Serialization logic for managing discrete game state snapshots.
- bitwise_state_flags.gd - High-performance bitwise flags for fighter state tracking.
- input_accumulation_control.gd - Toggle for disabling Godot's input accumulation for sub-frame timing.
- raw_byte_network_sync.gd - UDP-based state synchronization for netplay efficiency.
- string_name_optimization.gd - Pattern for using pointer-level
StringNamecomparisons in AI states. - round_timer_logic.gd - Logic for frame-synced match timers and timeout triggers.
Restored from baseline (load on demand)
- attack_resource.gd -
.tresframe-data Resource (startup/active/recovery, advantage). - combo_tracker.gd - Damage scaling (~10%/hit) and combo state.
- fighter_state_machine.gd - IDLE/ATTACKING/HITSTUN with integer
state_frame. - fight_game_state.gd - Serializable rollback snapshot shell (pair with rollback_state_serializer.gd).
- [move_set_loader.gd](scripts/m
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/expert-fighting-patterns.md
- references/migration-notes.md
- scripts/attack_resource.gd
- scripts/bitwise_state_flags.gd
- scripts/combo_tracker.gd
- scripts/deterministic_physics_loop.gd
- scripts/direct_hitbox_query.gd
- scripts/fight_game_state.gd
- scripts/fighter_balance_profile.gd
- scripts/fighter_state_machine.gd
- scripts/fighting_input_buffer.gd
- scripts/frame_advancer.gd
- scripts/hit_stop_controller.gd
- scripts/hitbox_component.gd
- scripts/input_accumulation_control.gd
- scripts/manual_animation_advancer.gd
- scripts/move_set_loader.gd
- scripts/raw_byte_network_sync.gd
- scripts/rollback_state_serializer.gd
- scripts/round_timer_logic.gd
- scripts/string_name_optimization.gd
FAQ
Что делает скилл godot-genre-fighting?
Expert blueprint for fighting games including frame data (startup/active/recovery frames, advantage on hit/block), hitbox/hurtbox systems, input buffering (5-10 frames), motion input detection (QCF, DP), combo systems (damage scaling, cancel hierarchy), character states (idle/attacking/hitstun/blockstun), and rollback netcode. Based on FGC competitive design. Trigger keywords: fighting_game, frame_data, hitbox_hurtbox, input_buffer, motion_inputs, combo_system, rollback_netcode, cancel_system, advantage_frames.
Как установить скилл godot-genre-fighting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-genre-fighting запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…