web-games
Build Browser Games with WebGPU
Creating browser-based games requires understanding unique platform constraints. This skill provides framework selection guidance, WebGPU adoption strategies, and performance optimization techniques for building high-quality web games.
์คํฌ ZIP ๋ค์ด๋ก๋
Claude์์ ์ ๋ก๋
์ค์ โ ๊ธฐ๋ฅ โ ์คํฌ โ ์คํฌ ์ ๋ก๋๋ก ์ด๋
ํ ๊ธ์ ์ผ๊ณ ์ฌ์ฉ ์์
ํ ์คํธํด ๋ณด๊ธฐ
"web-games" ์ฌ์ฉ ์ค์ ๋๋ค. What framework should I use for a 2D platformer?
์์ ๊ฒฐ๊ณผ:
For a 2D platformer with full game features (physics, collisions, animations), use **Phaser 4**. It provides comprehensive game systems out of the box. If you need raw rendering performance without game logic, consider **PixiJS 8**.
"web-games" ์ฌ์ฉ ์ค์ ๋๋ค. How do I handle audio in browser games?
์์ ๊ฒฐ๊ณผ:
Browser audio requires user interaction. Create AudioContext on first click/tap, not on page load. Use Web Audio API with pooled audio sources for performance. Compress audio with WebM/Opus format.
๋ณด์ ๊ฐ์ฌ
์์ Static analysis flagged 6 potential issues including external_commands, weak crypto, and system reconnaissance. Manual review confirms all findings are FALSE POSITIVES. The skill is pure markdown documentation providing browser game development guidance. Line 19/32 show ASCII decision trees (not shell backticks), lines 3/155 are description text (not crypto), and lines 30/80 are game dev terms (not reconnaissance). No dangerous patterns detected.
์ค๊ฐ ์ํ ๋ฌธ์ (1)
๋ฎ์ ์ํ ๋ฌธ์ (2)
ํ์ง ์ ์
๋ง๋ค ์ ์๋ ๊ฒ
Choose Framework for 2D Game
A developer starting a 2D browser game needs to select between Phaser (full features) or PixiJS (rendering performance). The decision tree helps identify the right choice based on project requirements.
Enable WebGPU Support
A team building a graphics-intensive game wants to use WebGPU for better performance. The skill provides browser support matrix and fallback strategy for older browsers.
Optimize Game Load Time
A developer notices their web game loads slowly on mobile. The skill guides asset compression (KTX2, Draco, WebP) and lazy loading strategies to reduce initial load.
์ด ํ๋กฌํํธ๋ฅผ ์ฌ์ฉํด ๋ณด์ธ์
I want to build a [2D/3D] browser game with [specific features]. Which framework should I use?
How do I implement WebGPU with WebGL fallback for my browser game?
What are the requirements to make my browser game a Progressive Web App with offline support?
What compression formats should I use for textures, audio, and 3D models in my web game?
๋ชจ๋ฒ ์ฌ๋ก
- Start with WebGPU but always provide WebGL fallback for broader browser support (~73% WebGPU coverage)
- Compress all assets using KTX2 for textures, WebM/Opus for audio, and glTF with Draco for 3D models
- Implement tab visibility handling - pause game loop when browser tab is hidden to prevent resource waste
ํผํ๊ธฐ
- Loading all game assets at startup instead of progressive loading
- Ignoring audio autoplay restrictions by not requiring user interaction
- Assuming all users have fast connections - always handle slow network conditions
์์ฃผ ๋ฌป๋ ์ง๋ฌธ
What is the best framework for 2D browser games?
Should I use WebGPU or WebGL?
How do I make my game installable?
What asset formats should I use?
Why does audio not play automatically?
How do I optimize for mobile?
๊ฐ๋ฐ์ ์ธ๋ถ ์ ๋ณด
์์ฑ์
sickn33๋ผ์ด์ ์ค
MIT
๋ฆฌํฌ์งํ ๋ฆฌ
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/game-development/web-games์ฐธ์กฐ
main
ํ์ผ ๊ตฌ์กฐ
๐ SKILL.md