LÖVE (Love2D) Core
/love2d-core
Structure and debug a LÖVE (Love2D) game in Lua: the love.load/update/draw loop, delta-time movement, input, and screen states.
- License
- Apache-2.0
- By
- By GameSkill
Part of
Awesome Gamedev Agent Skills
77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.
Tested by GameSkill
31/31 checks passed on LÖVE 11.5 (2026-10-30): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.
Test reportWhat this skill does
When it triggers
Structure and debug a LÖVE (Love2D) game in Lua: the love.load/update/draw loop, delta-time movement, input, and screen states. Use when building a LÖVE 11.x game (main.lua, conf.lua, .love).
GameSkill's tested copy
GameSkill's tuned build of this skill: the skill files from commit 19d93f97c9c1, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.
License: based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills, under Apache-2.0. The ZIP keeps the license files (LICENSE, NOTICE) and lists everything GameSkill added in CHANGES.md.

Self-check
- 所有移动都乘 dt,速度按像素每秒算 / Scale every movement by dt; speed is in pixels per second
- `love.conf` 必须放在 `conf.lua`,放 `main.lua` 里不会生效 / Put love.conf in conf.lua; in main.lua it never runs
- 11.x 颜色是 0–1,旧代码的 0–255 要用 `love.math.colorFromBytes` / Colors are 0–1 in 11.x; use `love.math.colorFromBytes` for byte values
- `setColor` 是全局的,画文字和图片前重置成 `(1,1,1)` / Color state is global: reset setColor to (1,1,1) before text and images
- 按住键只触发一次 `love.keypressed`,需要重复就调 `setKeyRepeat(true)` / Held keys fire `love.keypressed` once; call `setKeyRepeat(true)` if you need repeats
Pairs well with
Install
Tell your AI
Install the skill from https://gameskill.dev/skills/love2d-core/install.md
GameSkill's tested copy
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/love2d-core.zip -o /tmp/gameskill-love2d-core.zip
unzip -oq /tmp/gameskill-love2d-core.zip -d .claude/skills
rm /tmp/gameskill-love2d-core.zipWhat you get
- Worked steps: main.lua skeleton; Frame-rate independence; conf.lua; Color is 0–1 in LÖVE 11.x
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
- Written for LÖVE 11.x
Good fit
- Building a LÖVE 11.x game (main.lua, conf.lua, .love)
Try this prompt
Structure my LÖVE game with screen states and frame-rate-independent movement.About this skill
Structure and debug a LÖVE (Love2D) game in Lua: the love.load/update/draw loop, delta-time movement, input, and screen states. Use when building a LÖVE 11.x game (main.lua, conf.lua, .love).
From the love2d-core SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- main.lua skeleton (the callback loop + input)
- Frame-rate independence (the single most common bug)
- conf.lua (window + version; runs before main.lua)
- Color is 0–1 in LÖVE 11.x (not 0–255)
- Screen states (brief — full manager in references)
Requirements
- LÖVE 11.x
FAQ
AI 2D Asset & Sprite Pipeline Kit
Turn raw AI-generated video clips into crisp transparent 2D sprite sheets: chroma-key + despill commands, 0px foot-root anchor locking, non-linear hit-stop action pacing (4.33s -> 1.88s), and Phaser 3 / Godot 4 SpriteFrames exporters.
- FFmpeg colorkey + despill frame extraction builder
- 0px foot-root anchor packer (zero character float or jitter)
Based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills (Apache-2.0). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.
Works well with
Skills the author points to as related or as the better fit for neighbouring tasks.
Game Save Systems
Design save/load for game state — choosing what to serialize, file formats, save slots, atomic crash-safe writes, schema versioning and migration, and autosave.
Game Input Systems
Game input architecture: action mapping, rebinding with conflict checks, keyboard, gamepad and touch, deadzones, buffering and coyote time.
Pygame Core
Structure a pygame-ce game: the game loop, delta-time movement, blitting, keyboard and mouse input, and sprite groups with collision.
More from Awesome Gamedev Agent Skills
See all 452D Platformer
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards.
Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
Similar skills
Game Decompilation Skill For Claude
Seven Claude Code skills for byte-matching decompilation of retro games: rebuild readable C/C++ function by function, diagnose why a function won't match, and run parallel matcher workers. No license is published, so see the repository for use.
pyxel-skill
The official agent skill for building and verifying Pyxel retro games, by Pyxel's creator kitao. Bundles the pyxel-mcp server so the agent can run, screenshot and check its own game.
FunPlay Skill
14 MIT agent skills for game development with scripts and tests: sprite-sheet slicing, normal maps, audio conversion, game concept briefs, browser game slices, Unity MCP workflow and Cocos/WeChat minigame rules.
Ludra
A 2D game engine built for AI agents: games are JSON, every error comes with a machine-readable fix, and the agent plays and tests its own game headlessly. Ships a Claude Code plugin and skill.