본문으로 건너뛰기
Skillpedia
일반 코딩6.4k · #14218

melonjs

하는 일

melonJS 게임 개발의 출발점이며, 각 주제의 자세한 가이드를 안내합니다. melonJS 엔진으로 브라우저 게임을 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓개발자가 melonJS 작업을 시작하면서 먼저 읽어야 할 가이드를 알고 싶을 때.
  • ✓개발자가 3D 콘텐츠를 작업하며 코드를 쓰기 전에 좌표 규칙이 필요할 때.
  • ✓개발자가 기억에 의존해 melonJS 코드를 쓰고 있어 오래된 메서드를 사용할 수 있을 때.

스킬 링크

https://github.com/melonjs/melonJS/blob/master/packages/melonjs/skills/melonjs/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/melonjs/melonJS/blob/master/packages/melonjs/skills/melonjs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“melonJS로 2D 플랫포머를 만들고 싶습니다. 어떤 가이드를 읽어야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 라우터 역할을 합니다. 주제별 가이드 목록을 제시하고, 오래된 코드가 관련되면 새 마이그레이션 가이드를 읽으라고 권장하며, 목록에 없는 API를 추측하지 말라고 AI에게 안내합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

melonJS

Entry point for the melonJS skill collection. melonJS is an open-source HTML5 game engine for indie developers, covering 2D, 2.5D and 3D — perspective and orthogonal cameras, GPU-accelerated tilemap rendering, post-processing effects, custom shaders, 3D meshes, polygon-accurate physics and modern Tiled workflows. It runs on WebGPU, WebGL 2 or Canvas with automatic fallback, and has no runtime dependencies.

How to use this skill

  1. Find the specialised skill below that matches the task and follow it.
  2. If the task involves anything 3D, read melonjs-3d first — melonJS's coordinate conventions are the inverse of OpenGL's, so untutored 3D instincts are backwards.
  3. If you are writing melonJS from prior knowledge rather than from the current docs, read melonjs-20-migration — most published melonJS material predates 20.0 and its bootstrap no longer exists.
  4. If none of them covers the task, use the escape hatch below rather than guessing at an API.

Skill router

Skill Load when…
melonjs-getting-started Bootstrapping a game, new Application, await app.init(), choosing a renderer, preloading assets.
melonjs-20-migration Code based on melonJS 19.x or earlier, or an API that "should exist" but doesn't — video.init, Entity, renderable.shader =.
melonjs-scenes-and-state Stage subclasses, the state manager, transitions, pausing, the update loop, timers, tweens, saved data.
melonjs-renderables Subclassing Renderable, custom draw(), draw order, anchors, floating, post effects on an object.
melonjs-sprites-and-animation Sprite, frame animation, texture atlases (TexturePacker / Aseprite / ShoeBox), tint, flip, pooling.
melonjs-input Keyboard actions, pointer and touch handling, drag, gamepad, virtual controls (fixed or floating sticks and buttons, tap to act).
melonjs-physics Collision, bodies, movement, spatial queries, and the planck / matter adapters.
melonjs-math Vectors and matrices: what mutates, what allocates, and interpolating with lerp, slerp, damp or moveTowards.
melonjs-tilemaps Tiled maps — TMX/TSX loading, spawning entities from objects, collision layers, isometric maps, reading and changing tiles at run time (a tile layer as the game board).
melonjs-audio Sound effects, music, audio sprites, spatial audio, procedural tone and noise.
melonjs-effects-and-shaders Post effects, custom GLSL/WGSL shaders, blend modes, colour grading, screen capture.
melonjs-3d Anything 3D or 2.5D — Camera3d, meshes, instancing, Sprite3d billboards, Light3d, distance fog, glTF scenes.
melonjs-3d-assets Loading glTF/GLB or OBJ models — materials, imported lights, instancing, and what is not supported.
melonjs-camera-and-drawing Camera follow, bounds, shake and fade, coordinate conversion, and immediate-mode shape drawing.
melonjs-ui-and-text HUDs, buttons, menus, drag-and-drop, Text and BitmapText, web fonts, panels.
melonjs-particles-and-trails ParticleEmitter, burst versus stream, referenceSpace, and the Trail renderable.
melonjs-lighting 2D dynamic lighting — Light2d, stage ambient, normal-mapped sprites.
melonjs-deployment Scaffolding a project, building, browser support and transpiling, native and mini-game platforms.
melonjs-loading-assets Resource descriptors, the asset type list, base URLs, cross-origin, progress events, unloading.
melonjs-renderer-backends A feature works on one machine but not another; choosing or pinning a backend; degrading gracefully.
melonjs-display-and-scaling Blurry, soft or cropped output; the design resolution, how the canvas fills its page, and pix
자주 묻는 질문

독립된 튜토리얼인가요?

아니요. 각 melonJS 주제에 대한 더 자세한 가이드를 가리킵니다.

3D는 어떤 가이드를 읽어야 하나요?

3D 가이드를 먼저 읽으라고 스킬은 말합니다. 3D 좌표 규칙은 OpenGL과 반대이기 때문입니다.

목록에 없는 주제라면 어떻게 하나요?

API를 추측하지 말고, 스킬의 대체 경로를 사용하라고 말합니다.

상세 정보

작성자의 원본 설명

Use this skill FIRST for any melonJS task; it routes to the right specialised skill and lists the companion packages. melonJS is an open-source 2D, 2.5D and 3D HTML5 game engine running on WebGPU, WebGL 2 or Canvas. Covers Application setup, the scene graph, renderables, sprites, tilemaps, physics, audio, particles, shaders, and the 3D tier — perspective cameras, meshes and glTF scenes. Triggers on: melonjs, melonJS, me.game, Application, app.init, app.world, Renderable, Sprite, Stage, state.change, Camera2d, Camera3d, Mesh, tilemap, Tiled, TMX, ParticleEmitter, ShaderEffect, how do I make a g

repo: melonjs/melonJS

인기도

GitHub 스타
6.4k
순위
#14218
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬