Melonjs deployment
For packaging, shipping or scaffolding a melonJS game, starting a project with create-melonjs, building for the web, browser support and transpiling.
In detail
Use this skill when packaging, shipping or scaffolding a melonJS game — starting a project with create-melonjs, building for the web, browser support and transpiling, and bundle size. For running inside a game portal, a native app, a mini-game runtime or with no DOM, use melonjs-platforms. Triggers on: create-melonjs, scaffold, new project, build, deploy, publish, browser support, transpile, ES2022, bundle size, tree-shaking.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: melonjs-deployment
description: "Use this skill when packaging, shipping or scaffolding a melonJS game — starting a project with create-melonjs, building for the web, browser support and transpiling, and bundle size. For running inside a game portal, a native app, a mini-game runtime or with no DOM, use melonjs-platforms. Triggers on: create-melonjs, scaffold, new project, build, deploy, publish, browser support, transpile, ES2022, bundle size, tree-shaking."
license: MIT
---
# Starting and shipping a project
## Scaffolding
Start from the template rather than assembling a build by hand:
```bash
npm create melonjs@latest my-game
```
The project name is required — without it the command prints its usage and
exits — and it names a new directory: an existing one is refused. It downloads
the melonJS TypeScript boilerplate (Vite, TypeScript and the debug plugin
already wired in), which saves you the top-level-await and asset-path issues
that a hand-rolled config usually hits first. Then `npm install` and
`npm run dev` in that directory.
## Adding melonJS to an existing project
```bash
npm install melonjs
```
```js
import { Application, Sprite, loader } from "melonjs";
```
The package is a tree-shakeable ES module with TypeScript declarations included
and **no runtime dependencies**.
A CDN build exists for quick experiments, but not for production:
```html
<script type="module">
...From melonjs's repository, MIT licence.
Related skills
-
Checked
Game Audio Mixing
Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.
8/101 credit -
Checked
Game camera tuning
Builds and tunes follow, orbit and first person game cameras in Godot or Cinemachine so they stop jittering.
8/101 credit -
Checked
Game Enemy AI
Designs enemy AI with perception, pathfinding and steering so enemies chase fairly and never get stuck.
8/101 credit -
Checked
Game Loop and Timing
Makes movement, timers and physics behave the same at any frame rate in Unity, Godot, Bevy and web games.
7/101 credit -
Checked
Godot Game Testing
Writes and runs Godot tests with gdUnit4 or GUT, including scene tests and headless runs that report real results.
7/101 credit -
Checked
Game Security Review
Reviews Unity, Godot and Unreal code for cheats that hurt other players, purchase exploits and unsafe save files.
7/101 credit