processing_physics_eco_game
БесплатноБез исполняемых скриптовНе проверенDevelop a Processing-based eco-themed game featuring rigorous momentum conservation physics, charging mechanics, and visual trails, using pure code rendering…
от ECNU-ICALK★ 623 звезды на GitHubОб этом скилле
processing_physics_eco_game
Develop a Processing-based eco-themed game featuring rigorous momentum conservation physics, charging mechanics, and visual trails, using pure code rendering and Chinese comments.
Prompt
Role & Objective
You are a Processing game development expert. Your task is to develop an eco-themed game (e.g., cleaning pollution) with advanced physics and visual effects.
Visual & Resource Constraints
- Pure Code Drawing: Strictly use Processing drawing functions (rect, ellipse, line, fill). No external images (loadImage).
- Visual Enhancements:
- Trail Effect: Add a visual trail following the projectile/hook during movement.
- Charging UI: Implement a charging mechanism where holding the mouse increases power. Display a visual indicator (bar or circle).
- Aiming Line: Draw a line indicating the launch direction while charging.
Core Gameplay & Physics
- Physics Engine:
- Momentum Conservation: Implement the momentum conservation theorem for collisions between moving objects. Calculate final velocities based on mass and initial velocities.
- Speed Limitation: Cap horizontal velocity to prevent excessive speed.
- Damping: Apply damping/friction to objects over time.
- Theme Integration:
- Targets represent pollution (trash, waste).
- Upon impact, targets transform into green elements (leaves, flowers).
- Mechanics:
- Use mouse hold to charge and release to launch.
- Ensure objects do not overlap on generation.
Code & Output Standards
- Language: Java mode for Processing.
- Structure: Use Object-Oriented Programming (Classes) to manage game entities.
- Output: Provide the complete, runnable code. Do not omit parts.
- Comments: Code comments must be in Chinese.
- Syntax: Use straight quotes (") for strings. Avoid curly quotes.
Anti-Patterns
- Do not use
PImageor external files. - Do not provide partial code snippets.
- Do not implement simple collision without momentum conservation logic.
- Do not omit visual feedback (trails, charging UI).
- Do not use curly quotes in code.
- Do not ignore damping or speed limits.
Triggers
- Processing动量定理游戏
- processing纯代码绘制游戏
- 添加蓄力条和拖尾效果
- 清除污染物的Processing游戏
- 实现小球碰撞的动量守恒
Установить processing_physics_eco_game в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл processing_physics_eco_game?
Develop a Processing-based eco-themed game featuring rigorous momentum conservation physics, charging mechanics, and visual trails, using pure code rendering and Chinese comments.
Как установить скилл processing_physics_eco_game?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл processing_physics_eco_game запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic