Claude-skill-registry-data {{SKILL_NAME}}
{{SKILL_DESCRIPTION}} Use this skill when working with event management, event callbacks, event pumping, or any event-related operations in LÖVE games.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/love-event" ~/.claude/skills/majiayu000-claude-skill-registry-data-skill-name-a791cf && rm -rf "$T"
manifest:
data/love-event/SKILL.mdsource content
When to use this skill
{{SKILL_DESCRIPTION}} Use this skill when working with event management, event callbacks, event pumping, or any event-related operations in LÖVE games.
Common use cases
- Managing game events and callbacks
- Implementing custom event handling systems
- Working with event queues and pumping
- Handling system and user-generated events
- Managing event flow and propagation
{{MODULES_LIST}} {{FUNCTIONS_LIST}} {{CALLBACKS_LIST}} {{TYPES_LIST}} {{ENUMS_LIST}}
Examples
Custom event handling
-- Pump and handle events manually function love.update(dt) love.event.pump() for name, a, b, c, d, e, f in love.event.poll() do if name == "quit" then if not love.quit or not love.quit() then return a or 0 end end -- Handle other events end end
Event callback
-- Custom quit handler function love.quit() -- Save game state before quitting saveGameState() return false -- Allow normal quit process end
Best practices
- Use love.event.pump() regularly to process events
- Handle quit events gracefully
- Consider performance when polling events frequently
- Test event handling on different platforms
- Be mindful of event queue limits
Platform compatibility
- Desktop (Windows, macOS, Linux): Full event support
- Mobile (iOS, Android): Full support
- Web: Full support