Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skyfallwastaken/loop-holes
https://github.com/skyfallwastaken/loop-holes
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skyfallwastaken/loop-holes
- Owner: SkyfallWasTaken
- Created: 2024-08-10T13:40:35.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-10T21:29:57.000Z (5 months ago)
- Last Synced: 2024-10-15T03:28:24.179Z (3 months ago)
- Language: TypeScript
- Size: 1.37 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Folder structure
- `src` - source code for your kaplay project
- `www` - distribution folder, contains your index.html, built js bundle and static assets
- `src-tauri` - tauri project folder, contains tauri config file, icons, rust source if you need native code## Development
```sh
$ npm run dev
```will start a dev server at http://localhost:8000
## Distribution
```sh
$ npm run build
```will build your js files into `www/main.js`
```sh
$ npm run bundle
```will build your game and package into a .zip file, you can upload to your server or itch.io / newground etc.
## Desktop
This project uses tauri for desktop builds, you have to have `rust` installed on your system for desktop to work, check out [tauri setup guide](https://tauri.app/v1/guides/getting-started/prerequisites/)
For tauri native APIs look [here](https://tauri.app/v1/api/js/)
```sh
$ npm run dev:desktop
```will start the dev server and a native window that servers content from that dev server
```sh
$ npm run build:desktop
```will create distributable native app package