[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CS39GVY4NZTDQ96CJ650YX":3,"skill-same:01M7CS39GVY4NZTDQ96CJ650YX":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7CS39GVY4NZTDQ96CJ650YX","other-engines-quickref",null,"Use when the repository is Defold, MonoGame, pygame\u002Fpygame-ce, Excalibur or KAPLAY (or melonJS, Stride, Python arcade, macroquad\u002Fggez) - each engine's lifecycle and delta, where logic goes, the test runner, the headless build\u002Frun command, and how to capture a frame.","makifbaysal\u002Ftasktrooper","makifbaysal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25031940?v=4","01M7CRG3ZCSYZSSEVDMW3DEYC8","Mehmet Akif Baysal","01M7CRG401FJ8YAXH5ER730XYV",122,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fgame-developer\u002Fskills\u002Fother-engines-quickref\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: other-engines-quickref\ncategory: engine\ndescription: Use when the repository is Defold, MonoGame, pygame\u002Fpygame-ce, Excalibur or KAPLAY (or melonJS, Stride, Python arcade, macroquad\u002Fggez) - each engine's lifecycle and delta, where logic goes, the test runner, the headless build\u002Frun command, and how to capture a frame.\ntech_stack: Other engines\nsource: informed by the Defold, MonoGame, pygame-ce, Excalibur and KAPLAY documentation; own wording\n---\n# Other Engines Quick Reference\n\n## Overview\n\nSmaller engines follow the same rules as the big ones — fixed-step simulation, delta-scaled time, rules in testable plain modules, no allocations per frame, data out of code — with their own lifecycle names and tools. Find the engine's conventions in the repository first; this page is the map when they are thin.\n\n**Core principle:** Same discipline, local vocabulary. Identify the loop callback and its delta unit, put rules in plain modules the language's test runner can import, and find the command that builds and runs headless.\n\n## At a glance\n\n| Engine | Language | Per-frame callback, delta unit | Fixed step | Rules tested with | Headless build \u002F run | Frame capture |\n|---|---|---|---|---|---|---|\n| Defold | Lua | `update(self, dt)` — seconds | `fixed_update(self, dt)` when enabled in `game.project` | plain Lua modules + the repo's runner (busted, or an in-engine runner such as deftest\u002Ftelescope) | `java -jar bob.jar --platform \u003Cplatform> resolve build`; `dmengine_headless` for in-engine tests | `screenshot` extension, or none headless |\n| MonoGame | C# | `Update(GameTime)` — `gameTime.ElapsedGameTime.TotalSeconds` | `IsFixedTimeStep = true` (default), `TargetElapsedTime` | class library + xUnit\u002FNUnit, `dotnet test` | `dotnet build`; content via `dotnet mgcb` \u002F the `.mgcb` project | `RenderTarget2D` → `SaveAsPng` (needs a graphics device) |\n| pygame \u002F pygame-ce | Python | your loop: `dt = clock.tick(60) \u002F 1000` — seconds | your accumulator | pytest | `SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=dummy python -m game --frames 120` | `pygame.image.save(screen, path)` — works headless |\n| Excalibur | TypeScript | `onPreUpdate(engine, elapsed)` — milliseconds | the engine's fixed-update option (`fixedUpdateFps` in recent versions) | Vitest | `npm run build`; browser for running | browser tools \u002F Playwright |\n| KAPLAY | JS\u002FTS | `onUpdate(() => ...)` with `dt()` — seconds | the engine's fixed update for `body()` physics | Vitest on modules outside the `kaplay()` context | `npm run build`; browser for running | browser tools \u002F Playwright |\n\n## Defold\n\n- Game objects with components (sprite, collision object, script), composed into collections; communication by messages (`msg.post(url, \"damage\", { amount = 10 })`) handled in `on_message`, input in `on_input` after `msg.post(\".\", \"acquire_input_focus\")`.\n- Script properties (`go.property(\"speed\", 200)`) for per-instance tuning; shared tuning in Lua data modules or JSON resources.\n- Rules in plain Lua modules (`require \"game.rules.combat\"`) with no `go.`\u002F`msg.` calls, so they run under a plain Lua test runner; engine glue in `.script` files.\n- No per-frame table creation in `update`; reuse `vmath.vector3` values where the hot path allows.\n- Atlases and texture profiles (`.texture_profiles`) for per-platform compression; HTML5 is a first-class target.\n\n## MonoGame\n\n```csharp\npublic sealed class ArenaGame : Game {\n    readonly GraphicsDeviceManager _graphics;\n    SpriteBatch _batch; World _world;                         \u002F\u002F World: plain C# rules from Game.Core\n    public ArenaGame() { _graphics = new GraphicsDeviceManager(this); IsFixedTimeStep = true; TargetElapsedTime = TimeSpan.FromSeconds(1.0 \u002F 60); }\n    protected override void LoadContent() { _batch = new SpriteBatch(GraphicsDevice); _world = new World(Content.Load\u003CWorldData>(\"arena\")); }\n    protected override void Update(GameTime t) { _world.Step((float)t.ElapsedGameTime.TotalSeconds, InputMapper.Read()); base.Update(t); }\n    protected override void Draw(GameTime t) { GraphicsDevice.Clear(Color.Black); _batch.Begin(samplerState: SamplerState.PointClamp); WorldRenderer.Draw(_batch, _world); _batch.End(); base.Draw(t); }\n}\n```\n\n- Rules in a `Game.Core` class library with no MonoGame reference; `dotnet test` runs everywhere.\n- One `SpriteBatch.Begin\u002FEnd` per layer, sprites from atlases; `DrawString` with a cached `StringBuilder` for changing numbers; no LINQ or `new` in `Update`\u002F`Draw`.\n- Assets go through the content pipeline (`Content.mgcb`); commit the `.mgcb` entries with the source assets.\n\n## pygame \u002F pygame-ce\n\n```python\ndef run(frames: int | None = None) -> None:\n    pygame.init()\n    screen = pygame.display.set_mode((1280, 720))\n    clock, world = pygame.time.Clock(), World(load_tuning(\"data\u002Ftuning.json\"), random.Random(SEED))\n    hero = pygame.image.load(\"art\u002Fhero.png\").convert_alpha()      # convert once, never per frame\n    acc, step, n = 0.0, 1 \u002F 60, 0\n    while frames is None or n \u003C frames:\n        acc += min(clock.tick(120) \u002F 1000, 0.25)\n        for event in pygame.event.get():\n            if event.type == pygame.QUIT: return\n        while acc >= step:\n            world.step(step, read_intents()); acc -= step\n        draw(screen, world, hero); pygame.display.flip(); n += 1\n```\n\n- `World` and its rules import nothing from pygame; pytest tests them directly.\n- `convert()`\u002F`convert_alpha()` every loaded surface (unconverted blits are several times slower); `pygame.sprite.Group` for batches.\n- Know which package the repo uses (`pygame` or the community fork `pygame-ce`); they are API-compatible for most code but are installed separately.\n- Web builds go through pygbag, which needs an `async` main loop with `await asyncio.sleep(0)` each frame.\n- Never `pickle` saves (game-save-and-persistence).\n\n## Excalibur\n\n- `new Engine({ width, height, displayMode: DisplayMode.FitScreen, fixedUpdateFps: 60 })`, `Scene`s, `Actor`s with components; `Loader` with `ImageSource`\u002F`Sound` resources.\n- `onPreUpdate(engine, elapsedMs)` — milliseconds; convert once.\n- Rules in plain TS modules for Vitest; actors only translate rule state into transforms and graphics.\n\n## KAPLAY (the maintained successor of Kaboom)\n\n- `const k = kaplay({ width: 1280, height: 720, letterbox: true })`; objects are component lists: `k.add([k.sprite(\"hero\"), k.pos(80, 40), k.area(), k.body(), \"player\"])`.\n- Scenes with `k.scene(\"game\", () => { ... })` and `k.go(\"game\")`; input with `k.onKeyPress(\"space\", jump)`; movement scaled by `k.dt()`.\n- The `kaplay()` context is global and needs a canvas — keep rules in modules that never call it so Vitest can import them.\n\n## Also detected as games\n\n- **melonJS** (TS\u002FJS): `me.game`, `me.Renderable`; same web testing approach.\n- **Stride** (C#): component scripts (`SyncScript.Update`), `Game.UpdateTime.Elapsed`; rules in a class library.\n- **Python arcade**: `on_update(delta_time)` seconds; pytest on plain modules.\n- **macroquad \u002F ggez** (Rust): `get_frame_time()` \u002F `ctx.time.delta()`; `cargo test` on plain modules.\n\n## Common Mistakes\n\n- Treating Excalibur's elapsed milliseconds as seconds.\n- pygame surfaces never converted; loading images inside the loop.\n- Defold game logic spread through `on_message` handlers with no testable module.\n- MonoGame content added to the folder but not to the `.mgcb` project.\n\n## Red Flags\n\n- An engine import inside a module the tests are supposed to run without the engine.\n- A loop with no delta at all (\"one step per frame\").\n- A run reported as tested where only the build ran.\n","# Other Engines Quick Reference\n\n## Overview\n\nSmaller engines follow the same rules as the big ones — fixed-step simulation, delta-scaled time, rules in testable plain modules, no allocations per frame, data out of code — with their own lifecycle names and tools. Find the engine's conventions in the repository first; this page is the map when they are thin.\n\n**Core principle:** Same discipline, local vocabulary. Identify the loop callback and its delta unit, put rules in plain modules the language's test runner can import, and find the command that builds and runs headless.\n\n## At a glance\n\n| Engine | Language | Per-frame callback, delta unit | Fixed step | Rules tested with | Headless build \u002F run | Frame capture |\n|---|---|---|---|---|---|---|\n| Defold | Lua | `update(self, dt)` — seconds | `fixed_update(self, dt)` when enabled in `game.project` | plain Lua modules + the repo's runner (busted, or an in-engine runner such as deftest\u002Ftelescope) | `java -jar bob.jar --platform \u003Cplatform> resolve build`; `dmengine_headless` for in-engine tests | `screenshot` extension, or none headless |\n| MonoGame | C# | `Update(GameTime)` — `gameTime.ElapsedGameTime.TotalSeconds` | `IsFixedTimeStep = true` (default), `TargetElapsedTime` | class library + xUnit\u002FNUnit, `dotnet test` | `dotnet build`; content via `dotnet mgcb` \u002F the `.mgcb` project | `RenderTarget2D` → `SaveAsPng` (needs a graphics device) |\n| pygame \u002F pygame-ce | Python | your loop: `dt = clock.tick(60) \u002F 1000` — seconds | your accumulator | pytest | `SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=dummy python -m game --frames 120` | `pygame.image.save(screen, path)` — works headless |\n| Excalibur | TypeScript | `onPreUpdate(engine, elapsed)` — milliseconds | the engine's fixed-update option (`fixedUpdateFps` in recent versions) | Vitest | `npm run build`; browser for running | browser tools \u002F Playwright |\n| KAPLAY | JS\u002FTS | `onUpdate(() => ...)` with `dt()` — seconds | the engine's fixed update for `body()` physics | Vitest on modules outside the `kaplay()` context | `npm run build`; browser for running | browser tools \u002F Playwright |\n\n## Defold\n\n- Game objects with components (sprite, collision object, script), composed into collections; communication by messages (`msg.post(url, \"damage\", { amount = 10 })`) handled in `on_message`, input in `on_input` after `msg.post(\".\", \"acquire_input_focus\")`.\n- Script properties (`go.property(\"speed\", 200)`) for per-instance tuning; shared tuning in Lua data modules or JSON resources.\n- Rules in plain Lua modules (`require \"game.rules.combat\"`) with no `go.`\u002F`msg.` calls, so they run under a plain Lua test runner; engine glue in `.script` files.\n- No per-frame table creation in `update`; reuse `vmath.vector3` values where the hot path allows.\n- Atlases and texture profiles (`.texture_profiles`) for per-platform compression; HTML5 is a first-class target.\n\n## MonoGame\n\n```csharp\npublic sealed class ArenaGame : Game {\n    readonly GraphicsDeviceManager _graphics;\n    SpriteBatch _batch; World _world;                         \u002F\u002F World: plain C# rules from Game.Core\n    public ArenaGame() { _graphics = new GraphicsDeviceManager(this); IsFixedTimeStep = true; TargetElapsedTime = TimeSpan.FromSeconds(1.0 \u002F 60); }\n    protected override void LoadContent() { _batch = new SpriteBatch(GraphicsDevice); _world = new World(Content.Load\u003CWorldData>(\"arena\")); }\n    protected override void Update(GameTime t) { _world.Step((float)t.ElapsedGameTime.TotalSeconds, InputMapper.Read()); base.Update(t); }\n    protected override void Draw(GameTime t) { GraphicsDevice.Clear(Color.Black); _batch.Begin(samplerState: SamplerState.PointClamp); WorldRenderer.Draw(_batch, _world); _batch.End(); base.Draw(t); }\n}\n```\n\n- Rules in a `Game.Core` class library with no MonoGame reference; `dotnet test` runs everywhere.\n- One `SpriteBatch.Begin\u002FEnd` per layer, sprites from atlases; `DrawString` with a cached `StringBuilder` for changing numbers; no LINQ or `new` in `Update`\u002F`Draw`.\n- Assets go through the content pipeline (`Content.mgcb`); commit the `.mgcb` entries with the source assets.\n\n## pygame \u002F pygame-ce\n\n```python\ndef run(frames: int | None = None) -> None:\n    pygame.init()\n    screen = pygame.display.set_mode((1280, 720))\n    clock, world = pygame.time.Clock(), World(load_tuning(\"data\u002Ftuning.json\"), random.Random(SEED))\n    hero = pygame.image.load(\"art\u002Fhero.png\").convert_alpha()      # convert once, never per frame\n    acc, step, n = 0.0, 1 \u002F 60, 0\n    while frames is None or n \u003C frames:\n        acc += min(clock.tick(120) \u002F 1000, 0.25)\n        for event in pygame.event.get():\n            if event.type == pygame.QUIT: return\n        while acc >= step:\n            world.step(step, read_intents()); acc -= step\n        draw(screen, world, hero); pygame.display.flip(); n += 1\n```\n\n- `World` and its rules import nothing from pygame; pytest tests them directly.\n- `convert()`\u002F`convert_alpha()` every loaded surface (unconverted blits are several times slower); `pygame.sprite.Group` for batches.\n- Know which package the repo uses (`pygame` or the community fork `pygame-ce`); they are API-compatible for most code but are installed separately.\n- Web builds go through pygbag, which needs an `async` main loop with `await asyncio.sleep(0)` each frame.\n- Never `pickle` saves (game-save-and-persistence).\n\n## Excalibur\n\n- `new Engine({ width, height, displayMode: DisplayMode.FitScreen, fixedUpdateFps: 60 })`, `Scene`s, `Actor`s with components; `Loader` with `ImageSource`\u002F`Sound` resources.\n- `onPreUpdate(engine, elapsedMs)` — milliseconds; convert once.\n- Rules in plain TS modules for Vitest; actors only translate rule state into transforms and graphics.\n\n## KAPLAY (the maintained successor of Kaboom)\n\n- `const k = kaplay({ width: 1280, height: 720, letterbox: true })`; objects are component lists: `k.add([k.sprite(\"hero\"), k.pos(80, 40), k.area(), k.body(), \"player\"])`.\n- Scenes with `k.scene(\"game\", () => { ... })` and `k.go(\"game\")`; input with `k.onKeyPress(\"space\", jump)`; movement scaled by `k.dt()`.\n- The `kaplay()` context is global and needs a canvas — keep rules in modules that never call it so Vitest can import them.\n\n## Also detected as games\n\n- **melonJS** (TS\u002FJS): `me.game`, `me.Renderable`; same web testing approach.\n- **Stride** (C#): component scripts (`SyncScript.Update`), `Game.UpdateTime.Elapsed`; rules in a class library.\n- **Python arcade**: `on_update(delta_time)` seconds; pytest on plain modules.\n- **macroquad \u002F ggez** (Rust): `get_frame_time()` \u002F `ctx.time.delta()`; `cargo test` on plain modules.\n\n## Common Mistakes\n\n- Treating Excalibur's elapsed milliseconds as seconds.\n- pygame surfaces never converted; loading images inside the loop.\n- Defold game logic spread through `on_message` handlers with no testable module.\n- MonoGame content added to the folder but not to the `.mgcb` project.\n\n## Red Flags\n\n- An engine import inside a module the tests are supposed to run without the engine.\n- A loop with no delta at all (\"one step per frame\").\n- A run reported as tested where only the build ran.\n",{"name":5,"source":24,"category":25,"tech_stack":26,"description":7},"informed by the Defold, MonoGame, pygame-ce, Excalibur and KAPLAY documentation; own wording","engine","Other engines","main","910394a0b6db9fc8c9a8f36328ec421d3ebd8b38","catalog\u002Fagents\u002Fgame-developer\u002Fskills\u002Fother-engines-quickref",18,"https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper","https:\u002F\u002Ftasktrooper.ai","https:\u002F\u002Fgithub.com\u002Fmakifbaysal","Senior Software Developer","2026-11-15 04:50:29",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add makifbaysal\u002Ftasktrooper --skill other-engines-quickref",{"tool":42,"command":43},"bunx","bunx skills add makifbaysal\u002Ftasktrooper --skill other-engines-quickref",{"tool":45,"command":46},"pnpm","pnpm dlx skills add makifbaysal\u002Ftasktrooper --skill other-engines-quickref","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fgame-developer\u002Fskills\u002Fother-engines-quickref\u002FSKILL.md",true,[],[51,57,64,71,78,85],{"skillNo":52,"name":53,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7CSVEPQW6J6TD6CS2T5FPNZ","visual-craft","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fvisual-craft\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7CSVAQG91ETHQ0HBNZDG5FR","ux-copy","Use when you write any words a user reads in a mockup or a hand-off - content language and voice, buttons, labels, errors, empty states, confirmations, numbers and dates, and the longest-string check","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fux-copy\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7CSV6H0J38659NDXHJQ8396","screen-mockup-html","Use when you draw screens as the design task's HTML mockup - ONE canvas document holding every screen and every variant side by side, the sanitizer-safe recipe, phone and wide frames, the states grid, static control states, and the loopback self-check with screenshots at 375, 768 and 1440 attached to the task","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fscreen-mockup-html\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7CSV3JFRF3BM3XK52M7YEYR","performance-awareness","How the performance score moves for your role. Use when the score context shows a declining trend, or before handing off work you have not self-checked against every criterion.","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fperformance-awareness\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7CSTZDH00YRF5SCT7BRT9QD","design-variants","Use when a screen design needs variants - how many, variants as side-by-side rows on the one canvas, what makes two variants genuinely different, recommending one, how the human's choice is read, and narrowing to the chosen one in revision","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-variants\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7CSTV6P3SM3PAE28DB0RF77","design-system-authoring","Use when you derive, change or extend a design system - where tokens live per stack, the DTCG token tree, role-based names for both themes, base vs layer vs drift, the DESIGN.md section order, the inventory format, the contrast check and the lint every proposal returns","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-system-authoring\u002FSKILL.md",[],[]]