ebitengine-game
하는 일
Go 언어와 Ebitengine 라이브러리로 완전한 2D 게임을 만드는 과정을 안내합니다. 명확한 규칙, 입력, 렌더링, 사운드, 여러 플랫폼용 빌드를 갖춘 플레이 가능한 게임을 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓Ebitengine 라이브러리로 Go에서 2D 게임을 만들고 싶을 때.
- ✓기존 Ebitengine 게임에 입력, 렌더링, 텍스트, 오디오 버그가 있을 때.
- ✓Ebitengine 게임을 데스크톱, 브라우저, 모바일용으로 패키징해야 할 때.
스킬 링크
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/ebitengine/ebitengine-game/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Go와 Ebitengine으로 작은 2D 게임을 만들고 싶어요. 플레이어가 동전을 모으고 적을 피하는 게임입니다. 도와주시겠어요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 플레이어의 목표와 핵심 결정을 정한 뒤, 입력, 그리기, 텍스트, 사운드, 장면을 갖춘 플레이 가능한 조각을 만듭니다. 게임플레이를 시험하고 다듬으며, 프로젝트에 고정된 Ebitengine 버전을 대상으로 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Ebitengine game
Deliver a game that is understandable, responsive and complete at the requested scope. One request can include several internal build/play/refine passes. A scaffold, successful build or attractive screenshot alone is not a finished game. For a focused fix, preserve the project's design and limit the workflow to the affected behavior.
The bundled starter targets Ebitengine v2.10.5 / Go 1.25+. This is a pinned baseline, not a claim about the latest release. Keep an existing project's versions unless an upgrade is needed and authorized. Check the pinned version's public API before using newer or experimental APIs. References contain patterns to adapt; only the bundled scripts and starter are executable deliverables. Their checks do not validate every reference snippet.
Delivery workflow
- Inspect and decide. Read repository instructions,
go.mod, theRunGameentrypoint and existing tests/assets. For new games, read Design and quality. Establish the player's goal, repeated decision, consequence, end/retry path, intended look, platform and supported input. Infer reasonable defaults; ask only for missing choices that materially change the product. Record a short brief and observable acceptance criteria in the project. - Build a representative playable slice. Make the central interaction and its feedback work with the intended controls and visual direction. Check the feel before expanding content. Keep scope small enough to finish; choose authored or procedural content based on the game, not the template. Calibrate content against actual player capabilities before multiplying levels. For an art set, establish shared perspective, scale, anchors and palette roles using Assets and animation.
- Complete and refine. Implement the promised start → play → outcome → retry/continue loop (or the appropriate persistent/sandbox loop). Refine hierarchy, animation, sound, difficulty and transitions in context. Read only the technical references needed for the selected systems. Fix discovered defects within this delivery rather than asking the user to iterate for you.
- Verify the product. Test rules and important transitions, exercise real input, inspect representative rendered states, and build/run requested targets. Include failure/retry and boundary cases. A scripted demo cannot establish control feel; a silent audio sink cannot establish sound quality. For automated multi-step interactions, pair observed images with actual state at the same tick; see Playtest diagnostics.
- Hand off. Supply launch/build instructions, actual artifact paths and asset licences. State what was run and observed, what remains unverified, and any material limitations. Publishing, purchases and external uploads are separate actions within the user's requested scope.
Starting a project
Resolve commands relative to this skill's directory, not the game's working
directory. Set skill_dir to the actual installed location, then for example:
python3 "$skill_dir/scripts/new_game.py" --out mygame \
--module example.com/mygame --title "My Game"
cd mygame
go mod tidy
go test ./world/...
The starter demonstrates scenes, action input, text, sound, a camera, pause and
scripted capture using a small platformer. It is an integration example,
not a genre or architecture requirement. Replace its rules, controls, level,
presentation and scene flow to fit the brief; a puzzle or card game should not
inherit gravity, jumping, camera scrolling or a platformer HUD. Existing projects
rarely need a scaffold. --ci adds a workflow and tools; inspect its triggers,
targets and release behavior before enabling it.
Loop and resource contracts
| Method | Responsibility | Important distinction |
|---|---|---|
Update() error |
Sample actions, advance simulation, apply scene changes and trigger event audio | Default target is 60 fixed ticks/s. Catch-up updates, focus pauses and slow machines affect actual scheduling. |
Draw(screen *ebiten.Image) |
Render the state produced by updates | Calls are not one-to-one with ticks. Do not advance gameplay, consume input edges or start sounds here. Renderer-owned caches are separate from simulation state. |
Layout(outsideW, outsideH int) (int, int) |
Choose logical dim |
자주 묻는 질문
어떤 Ebitengine 버전을 대상으로 하나요?
기본 시작 템플릿은 Go 1.25 이상의 Ebitengine v2.10.5를 대상으로 하며, 기존 프로젝트는 자신의 버전을 유지합니다.
스캐폴드만으로 게임이 완성되었다고 할 수 있나요?
아니요. 스킬은 스캐폴드, 성공한 빌드, 스크린샷만으로는 완성된 게임이 아니라고 설명합니다.
내 게임의 작은 문제도 고칠 수 있나요?
네. 집중된 수정이라면 작업을 영향받는 동작으로 제한하고, 설계는 그대로 유지합니다.
상세 정보
작성자의 원본 설명
Create, improve, debug and package playable 2D games in Go with Ebitengine (github.com/hajimehoshi/ebiten/v2). Use for Ebitengine game requests: game design translated into a complete loop, input, rendering, text, audio, scenes, gameplay tests and desktop, browser or mobile builds. Also use when fixing these systems in an existing Ebitengine game. Do not apply to unrelated Go software or engine-internal patches merely because they depend on Ebitengine.
인기도
- GitHub 스타
- 6.6k
- 순위
- #13806
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 28.
댓글
- …
이 저장소의 다른 스킬
router
6.6k에이전트가 엔진과 작업 종류를 파악해, 요청에 맞는 게임 개발 스킬을 골라 주도록 돕습니다.
ai-behavior-trees-utility-ai
6.6k에이전트가 적이나 캐릭터가 우선순위와 점수로 행동을 고르는 행동 트리와 유틸리티 AI 시스템을 만들도록 돕습니다.
audio-design
6.6k에이전트에게 게임 오디오 믹싱을 가르칩니다. 버스, 데시벨 음량, 대사 아래에서의 덕킹, 적응형 음악, 효과음 변주를 다룹니다.
camera-systems
6.6k에이전트가 부드럽게 따라가고, 레벨 안에 머물고, 3D에서 회전하거나 둘러볼 수 있는 게임 카메라를 만들도록 돕습니다.