excalibur 0.32.0-alpha.1592 → 0.32.0-alpha.1594
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/build/dist/Timer.d.ts +27 -0
- package/build/dist/excalibur.development.js +28 -3
- package/build/dist/excalibur.js +28 -3
- package/build/dist/excalibur.min.development.js +4 -4
- package/build/dist/excalibur.min.js +4 -4
- package/build/esm/excalibur.development.js +28 -3
- package/build/esm/excalibur.js +28 -3
- package/build/esm/excalibur.min.development.js +172 -162
- package/build/esm/excalibur.min.js +172 -162
- package/eslint.config.mjs +1 -0
- package/package.json +1 -1
- package/playground/README.md +71 -0
- package/playground/index.html +72 -0
- package/playground/package-lock.json +1954 -0
- package/playground/package.json +27 -0
- package/playground/public/favicon.ico +0 -0
- package/playground/public/icon.png +0 -0
- package/playground/public/logo-white@2x.png +0 -0
- package/playground/public/logo@2x.png +0 -0
- package/playground/public/player-run.png +0 -0
- package/playground/public/rpg-audio/License.txt +21 -0
- package/playground/public/rpg-audio/audio/handleCoins.ogg +0 -0
- package/playground/public/social.jpg +0 -0
- package/playground/public/social.png +0 -0
- package/playground/public/tiny-town/License.txt +22 -0
- package/playground/public/tiny-town/tilemap/tilemap.png +0 -0
- package/playground/tsconfig.json +26 -0
- package/playground/tsdown.config.ts +13 -0
- package/playground/vite.config.ts +5 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "excalibur-playground",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Excalibur Playground and Editor",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "vite",
|
|
8
|
+
"build": "vite build",
|
|
9
|
+
"build:dev": "vite build --outDir dist/playground",
|
|
10
|
+
"build:types": "npx tsdown",
|
|
11
|
+
"preview": "vite preview"
|
|
12
|
+
},
|
|
13
|
+
"author": "Erik Onarheim",
|
|
14
|
+
"license": "BSD-2-Clause",
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@types/node": "24.0.10",
|
|
17
|
+
"tsdown": "0.17.0",
|
|
18
|
+
"typescript": "5.9.3",
|
|
19
|
+
"unplugin-raw": "0.6.3",
|
|
20
|
+
"vite": "7.2.4"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"excalibur": "0.30.3",
|
|
24
|
+
"lz-string": "1.5.0",
|
|
25
|
+
"monaco-editor": "0.52.2"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
RPG Audio
|
|
4
|
+
|
|
5
|
+
by Kenney Vleugels (Kenney.nl)
|
|
6
|
+
|
|
7
|
+
------------------------------
|
|
8
|
+
|
|
9
|
+
License (Creative Commons Zero, CC0)
|
|
10
|
+
http://creativecommons.org/publicdomain/zero/1.0/
|
|
11
|
+
|
|
12
|
+
You may use these assets in personal and commercial projects.
|
|
13
|
+
Credit (Kenney or www.kenney.nl) would be nice but is not mandatory.
|
|
14
|
+
|
|
15
|
+
------------------------------
|
|
16
|
+
|
|
17
|
+
Donate: http://support.kenney.nl
|
|
18
|
+
Request: http://request.kenney.nl
|
|
19
|
+
|
|
20
|
+
Follow on Twitter for updates:
|
|
21
|
+
@KenneyNL
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
Tiny Town (1.1)
|
|
4
|
+
|
|
5
|
+
Created/distributed by Kenney (www.kenney.nl)
|
|
6
|
+
Creation date: 11-01-2023
|
|
7
|
+
|
|
8
|
+
------------------------------
|
|
9
|
+
|
|
10
|
+
License: (Creative Commons Zero, CC0)
|
|
11
|
+
http://creativecommons.org/publicdomain/zero/1.0/
|
|
12
|
+
|
|
13
|
+
This content is free to use in personal, educational and commercial projects.
|
|
14
|
+
Support us by crediting Kenney or www.kenney.nl (this is not mandatory)
|
|
15
|
+
|
|
16
|
+
------------------------------
|
|
17
|
+
|
|
18
|
+
Donate: http://support.kenney.nl
|
|
19
|
+
Patreon: http://patreon.com/kenney/
|
|
20
|
+
|
|
21
|
+
Follow on Twitter for updates:
|
|
22
|
+
http://twitter.com/KenneyNL
|
|
Binary file
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"useDefineForClassFields": true,
|
|
5
|
+
"module": "ESNext",
|
|
6
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
7
|
+
"types": ["vite/client"],
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"verbatimModuleSyntax": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
|
|
17
|
+
/* Linting */
|
|
18
|
+
"strict": true,
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true,
|
|
21
|
+
"erasableSyntaxOnly": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"noUncheckedSideEffectImports": true
|
|
24
|
+
},
|
|
25
|
+
"include": ["src"]
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineConfig } from 'tsdown';
|
|
2
|
+
import Raw from 'unplugin-raw/rolldown';
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
entry: '../src/engine/index.ts',
|
|
6
|
+
dts: true,
|
|
7
|
+
tsconfig: '../src/engine/tsconfig.json',
|
|
8
|
+
outDir: './types',
|
|
9
|
+
// See: https://github.com/rolldown/tsdown/discussions/631
|
|
10
|
+
loader: { '.glsl': 'text', '.png': 'asset' },
|
|
11
|
+
external: [/\.css\?inline$/, /\.css$/],
|
|
12
|
+
plugins: [Raw()]
|
|
13
|
+
});
|