estella-2d-gameplay

estella-2d-gameplay is a skill for Claude Code, Codex from esengine/estella. It costs 62 tokens per session (981 once invoked), scanned A, original, Apache-2.0.

How to make a playable 2D game in Estella - a player that moves and jumps, things to collide with and pick up, a camera that follows, a score - and prove each part works by playing it. Read it before building 2D gameplay.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install with agentmods
npx agentmods add skills/esengine/estella/estella-2d-gameplay
About the project

Estella is a 2D and 3D game engine with a TypeScript interface, a C++/WebAssembly core, and a visual editor that also acts as an MCP server. It helps developers create, test, and export games for the web, desktop, mini-game platforms, playable ads, and native mobile devices. Its catalogue add-ons let coding agents operate the editor through the same tool surface used by its interface.

esengine/estella · 1,174 stars · on GitHub · estellaengine.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add esengine/estella --skill estella-2d-gameplay
Clone the repo
git clone --depth 1 https://github.com/esengine/estella

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for estella-2d-gameplay

README.md
[![agentmods](https://agentmods.dev/badge/skills/esengine/estella/estella-2d-gameplay/github.svg)](https://agentmods.dev/skills/esengine/estella/estella-2d-gameplay)
Your own site
<a href="https://agentmods.dev/skills/esengine/estella/estella-2d-gameplay"><img src="https://agentmods.dev/badge/skills/esengine/estella/estella-2d-gameplay/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for estella-2d-gameplay

Your own site · 80×15
<a href="https://agentmods.dev/skills/esengine/estella/estella-2d-gameplay"><img src="https://agentmods.dev/badge/skills/esengine/estella/estella-2d-gameplay.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 981 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00981
Opus 5.5 $0.00025 $0.00392
Sonnet 5.5 $0.00012 $0.00196
Haiku 4.5 $0.00006 $0.00098

Measured today against content hash 024458d519da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

estella-2d-gameplay scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/estella-2d-gameplay/SKILL.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

2D gameplay

Start from a template when the task allows: list_project_templates has a 2D platformer and a top-down game whose scenes already have a player, ground, a camera and a HUD. Change what the task asks for rather than rebuilding what is there.

A player that runs and jumps

The built-in PlatformerController2D (with a CharacterController2D and a collider) runs, jumps, coyote-times and buffers jumps. With readKeyboard on it reads A / D or the arrows to move and Space, W or Up to jump; off, a script or an AI writes moveInput (-1..1), jumpPressed and jumpHeld. Tune moveSpeed, jumpSpeed, gravity (world units a second, 100 to the metre) rather than writing movement code.

A top-down mover, or anything with rules of its own, is a script: a component for its state and a system that reads Res(Input) (isKeyDown('KeyA'), isKeyPressed('Space')) and writes the Transform through Mut(Transform).

Collision and pickups

  • configure_physics_body { entity, body: "dynamic" | "kinematic" | "static", shape: "box" | "circle", size } adds the body and the collider together: a body with no collider falls through the world.
  • Ground and walls are static. A pickup is a sensor: true collider: it reports contacts and blocks nothing.
  • A script reacts to contacts through Res(Physics2DEvents): sensorEnters lists { sensorEntity, ... } each frame.

Camera

A FollowTarget on the camera with target the player's entity follows it, with damping and a deadzone; a CameraBounds keeps it inside the level.

Scripts

A component and a system, registered in src/main.ts:

// src/components.ts
export const Coin = defineComponent('Coin', { value: 1 });
// src/systems/pickup.ts
export const pickupSystem = defineSystem(
    [Res(Physics2DEvents), Query(Coin), Query(Mut(Score)), Commands()],
    (events, coins, scores, cmds) => { /* despawn the coin, add to the score */ },
    { name: 'PickupSystem' });
// src/main.ts
addSystemToSchedule(Schedule.Update, pickupSystem);

Read the full file on GitHub · 72 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 72 lines · 62 tokens per session scan A 024458d519da

Subscribe to this mod's changes

estella-2d-gameplay is a skill published in the GitHub repository esengine/estella (1,174 stars, last pushed today), licensed Apache-2.0. It adds 62 tokens to every session and 981 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-19.

Related

estella-2d-gameplay compared with skills from other repositories

estella-2d-gameplay next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
estella-2d-gameplayesengine/estellaSkill1.2ktodayApache-2.0A62Claude Code, Codex
cougr-game-startersalazarsebas/CougrSkill5328d agoMITA68Claude Code, Codex
hearth-artechoo19/hearthSkill431mo agoMITA89Claude Code
hearth-feelechoo19/hearthSkill431mo agoMITA97Claude Code
hearth-buildechoo19/hearthSkill431mo agoMITA75Claude Code
hearth-codeechoo19/hearthSkill431mo agoMITA88Claude Code
hearth-designechoo19/hearthSkill431mo agoMITA109Claude Code