ebitengine-game
यह क्या करती है
यह स्किल Go में Ebitengine लाइब्रेरी से पूरा 2D गेम बनाने में मार्गदर्शन देती है। यह उन डेवलपर्स के लिए है जिन्हें साफ़ नियमों, इनपुट, रेंडरिंग, ध्वनि और कई प्लेटफ़ॉर्म के लिए बिल्ड वाला खेलने लायक गेम चाहिए।
कब इस्तेमाल करें
- ✓जब आप Go में Ebitengine लाइब्रेरी से 2D गेम बनाना चाहें।
- ✓जब मौजूदा Ebitengine गेम में इनपुट, रेंडरिंग, टेक्स्ट या ऑडियो की कोई बग हो।
- ✓जब आपको Ebitengine गेम को डेस्कटॉप, ब्राउज़र या मोबाइल के लिए पैकेज करना हो।
Skill का लिंक
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/ebitengine/ebitengine-game/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप Go और Ebitengine में एक छोटा 2D गेम बनाने में मदद कर सकते हैं, जहाँ खिलाड़ी सिक्के इकट्ठा करे और दुश्मनों से बचे?”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
router
6.6kयह आपके एजेंट को इंजन और काम के प्रकार को पहचानकर किसी अनुरोध के लिए सही गेम डेवलपमेंट स्किल चुनने में मदद करती है।
ai-behavior-trees-utility-ai
6.6kयह आपके एजेंट को दुश्मनों और किरदारों के लिए बिहेवियर ट्री और यूटिलिटी AI सिस्टम बनाने में मदद करती है, जो प्राथमिकता और स्कोर से कार्रवाई चुनें।
audio-design
6.6kआपके एजेंट को गेम ऑडियो मिक्सिंग सिखाती है: बस, डेसिबल में वॉल्यूम, डायलॉग में म्यूज़िक धीमा करना और साउंड इफ़ेक्ट की विविधता।
camera-systems
6.6kयह आपके एजेंट को ऐसे गेम कैमरा बनाने में मदद करती है जो सहजता से पीछा करें, लेवल के भीतर रहें, और 3D में घूम या देख सकें।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।