Skip to content
Back to skills

Hitbox Hurtbox

ASecurity

Use when attack, vulnerability, grab, projectile, clash, trade, multi-hit, or duplicate-hit collision volumes need a deterministic gameplay contract.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 23, 2026
ai-agentsreactdebugginggit

Security analysis

A100/100

Scanned October 23, 2026

npx -y skills add jammyfu/open-game-skills --skill hitbox-hurtbox --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hitbox Hurtbox?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hitbox Hurtbox
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jammyfu-hitbox-hurtbox/badge)](https://www.skillsdirectory.com/skills/jammyfu-hitbox-hurtbox)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hitbox-hurtbox
description: Use when attack, vulnerability, grab, projectile, clash, trade, multi-hit, or duplicate-hit collision volumes need a deterministic gameplay contract.
---

# Hitbox and hurtbox

Choose the representation required by the game:

| Column | Shape |
|---|---|
| 2d-boxes | AABB / OBB on a gameplay plane |
| 3d-capsules | body/limb capsules or other declared primitives |
| projectile-volume | spawned gameplay volume with lifetime |

## Ownership and identity

Hitboxes and hurtboxes are gameplay data, not render meshes. Active move ticks publish attack volumes; vulnerable state publishes hurt volumes independently.

Each attack activation has a stable `attack_instance_id`. A multi-hit move additionally publishes a `hit_index` or equivalent schedule. Duplicate-hit prevention is keyed by attack instance, hit index and target according to the move policy; it is not inferred from overlap duration.

Grab/throw, strike, projectile and clash volumes are distinct interaction classes. Eligibility rules decide which classes can affect the target.

## Same-tick resolution

`query_hits` reads a logic-tick snapshot. Collect candidates before mutating reaction state so entity/container iteration order cannot erase a legitimate trade. Then resolve candidates through the project's explicit priority/trade/clash policy.

Render interpolation may move pictures between ticks; it must not widen gameplay volumes or create extra contacts.

## Accept

Disable render meshes and replay a same-tick trade with entity iteration reversed: the logical result is unchanged. Hold one hitbox overlapping a target for several ticks and verify the published single-hit or multi-hit schedule exactly. Draw attack/hurt/grab volumes and log attack instance IDs for debugging; visuals alone do not prove resolution behavior.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.