A simple TypeScript Vite based boilerplate to create games with melonJS, built with :
Ensure you have Node.js installed, then install all the build dependencies in the folder where you cloned the repository :
npm run dev
to start the dev server on watch mode at localhost:5173
.npm run build
to generate a minified, production-ready build, in the public
folderif everything goes well, on running the dev server for the first time you should see this :
src
└── data
│ ├── bgm
│ ├── fnt
| ├── img
| ├── map
| └── sfx
└── scripts
| ├── renderables
| └── stage
├── index.ts
├── index.css
├── index.html
├── manifest.ts
public
├── data
│ ├── bgm
│ ├── fnt
| ├── img
| ├── map
| └── sfx
├── build
| └── index-xxxxx.js
└── index.html
src
src/scripts
src/data
public
npm run build
The boilerplate include the melonJS plugin, and will automatically import and instantiate it when running under a development environement.
the Debug Panel is hidden by default and can be displayed using the "S" key, see here for more details about the plugin.
If you need technical support, you can contact us through the following channels :
@ts-ignore
to ignore the error message for a specific line, please then please report it hereRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4