# Create Tactics ThreeJS Sprite

> Tactical RPG style sprites for any project: every TYPE1 frame and sequence as data, a sprite sheet, a small runtime for Canvas and Three.js, and a checker for your own art. Start at SKILL.md.

An agent reads SKILL.md, then the one reference its task needs. The skill is self-contained: it builds on the TYPE1 files, and what a real-time engine needs beyond them was engineered here, so no wiki or other site is needed. The kit is one download with no install step. The code, the sheet and the decoded tables are MIT: read the notice in README.md. Final Fantasy Tactics © Square Enix Co., Ltd., which has no connection to this project.

## Start

- [SKILL.md](https://3d.internet.dev/SKILL.md): The skill. Everything starts here
- [Skill](https://3d.internet.dev/.well-known/agent-skills/create-tactics-threejs-sprite.tar.gz): tar.gz of the whole skill: every document, the kit and the engine, so nothing else needs fetching
- [Kit](https://3d.internet.dev/api/v1/kit.tar.gz): tar.gz of the runtime, data, a1.png, item models, sheet checker, layout template and notice
- [llms-full.txt](https://3d.internet.dev/llms-full.txt): SKILL.md and every reference in one file

## References

- [animations.md](https://3d.internet.dev/references/animations.md): Which animation a game event plays, hit ticks, chains, held frames and props
- [data.md](https://3d.internet.dev/references/data.md): The schema of tactics-sprite-data.json, the coordinate space and the draw algorithm in any language
- [get-started.md](https://3d.internet.dev/references/get-started.md): The clock and facing every renderer shares, then Canvas, CSS, Phaser, PixiJS, Godot and Unity
- [own-sheet.md](https://3d.internet.dev/references/own-sheet.md): Draw, import and check your own 256x488 sheet
- [rebuild-animations.md](https://3d.internet.dev/references/rebuild-animations.md): Every card on the site: mount it exactly, or rebuild it in your own scene from a tested recipe
- [threejs.md](https://3d.internet.dev/references/threejs.md): From an empty folder to a unit in any Three.js scene: Vite, no bundler, an existing game, React and React Three Fiber, and what each scene setting does to a sprite
- [troubleshooting.md](https://3d.internet.dev/references/troubleshooting.md): Symptom, cause and fix for what goes wrong most
- [web-service.md](https://3d.internet.dev/references/web-service.md): Every route, with examples

## Data

- [API manifest](https://3d.internet.dev/api/v1): Every data route, with counts
- [Animations](https://3d.internet.dev/api/v1/animations): Every named animation, its front and back SEQ, loop and hit tick
- [Sprite data](https://3d.internet.dev/api/v1/data): All of tactics-sprite-data.json
- [Draw](https://3d.internet.dev/api/v1/draw?animation=Walk&view=1&tick=0): The exact tiles of one moment, to test a port in any language
- [OpenAPI](https://3d.internet.dev/openapi.json): The same routes as OpenAPI 3.1

## Runtime

- [tactics-sprite.mjs](https://3d.internet.dev/assets/tactics-sprite.mjs): Which tiles a unit draws now, and a Canvas drawer. No dependencies
- [tactics-sprite-three.mjs](https://3d.internet.dev/assets/tactics-sprite-three.mjs): A Three.js billboard unit, with props in its hands
- [check-sheet.mjs](https://3d.internet.dev/assets/check-sheet.mjs): Checks a PNG against the tile layout

## Optional

- [Repository guide](https://3d.internet.dev/AGENTS.md): For work inside this repository
- [Decode binaries](https://3d.internet.dev/skills/reverse-engineer-type1-binaries/SKILL.md): TYPE1.SHP and TYPE1.SEQ, opcodes, a new sheet
- [Add sprite data](https://3d.internet.dev/skills/add-sprite-assembly-from-source/SKILL.md): Assemblies and the 2D sections
- [Add a Three.js mode](https://3d.internet.dev/skills/add-sprite-assembly-into-threejs-engine/SKILL.md): Rigs in this engine
- [Weapons and held items](https://3d.internet.dev/three-isometric-engine/weapons/AGENTS.md): Generated weapons and props in a hand
- [Physics bodies](https://3d.internet.dev/three-isometric-engine/physics/AGENTS.md): A body from the sprite pixels
- [Documentation](https://3d.internet.dev/documentation/AGENTS.md): The binaries, the data and every difference from the original tactical RPG
- [README](https://3d.internet.dev/README.md): Licenses and the copyright notice
