@waica/archetype-isometric 0.10.0 → 0.11.0
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/assets/ATTRIBUTION.md +13 -0
- package/assets/waica-iso-click-marker.png +0 -0
- package/dist/art.js +1 -0
- package/dist/prefabs.js +8 -0
- package/dist/registry-data.js +2 -1
- package/dist/registry.js +1 -0
- package/package.json +3 -3
package/assets/ATTRIBUTION.md
CHANGED
|
@@ -92,3 +92,16 @@ remain at the human-approved 16 texels per render unit.
|
|
|
92
92
|
| `waica-iso-tree.png` | `(768,208,832,304)`, transparent bottom trimmed | 64×94 |
|
|
93
93
|
| `waica-iso-rock.png` | `(784,868,814,890)`, padded at `(1,10)` | 32×32 |
|
|
94
94
|
| `waica-iso-crate.png` | `(896,832,960,896)`, nearest-resized | 32×32 |
|
|
95
|
+
|
|
96
|
+
## Click-to-move destination marker
|
|
97
|
+
|
|
98
|
+
- **Original**, not sourced from Puny Characters or the hawkbirdtree tileset:
|
|
99
|
+
a flat gold rhombus (translucent fill, brighter outline), generated
|
|
100
|
+
programmatically at 2026-08-30 for the point-and-click feature (CA-8/CA-9
|
|
101
|
+
of `.sdd/specs/point-and-click-grid-role.md`) — CC0, same terms as the
|
|
102
|
+
rest of this archetype's own art.
|
|
103
|
+
- `waica-iso-click-marker.png`: 32×16 (matches the 2:1 diamond aspect of the
|
|
104
|
+
ground tileset, halved), transparent background.
|
|
105
|
+
- Placeholder-quality by design: exact visual polish is out of scope for
|
|
106
|
+
this run and is the human-verified part of CA-8/CA-12 — a human is free
|
|
107
|
+
to swap this file for a nicer diamond later without touching any code.
|
|
Binary file
|
package/dist/art.js
CHANGED
|
@@ -7,4 +7,5 @@ export const ISOMETRIC_ART = [
|
|
|
7
7
|
{ file: 'waica-iso-tree.png', uri: 'waica:iso-tree' },
|
|
8
8
|
{ file: 'waica-iso-rock.png', uri: 'waica:iso-rock' },
|
|
9
9
|
{ file: 'waica-iso-crate.png', uri: 'waica:iso-crate' },
|
|
10
|
+
{ file: 'waica-iso-click-marker.png', uri: 'waica:iso-click-marker' },
|
|
10
11
|
];
|
package/dist/prefabs.js
CHANGED
|
@@ -86,6 +86,14 @@ export const ISOMETRIC_PREFABS = {
|
|
|
86
86
|
{ type: 'MeleeAttack' },
|
|
87
87
|
{ type: 'Respawnable' },
|
|
88
88
|
{ type: 'Health', props: { max: 3, invulnerability: 1, stat: 'health' } },
|
|
89
|
+
{
|
|
90
|
+
type: 'ClickToMove',
|
|
91
|
+
props: {
|
|
92
|
+
markerTexture: 'waica:iso-click-marker',
|
|
93
|
+
markerWidth: 1,
|
|
94
|
+
markerHeight: 0.5,
|
|
95
|
+
},
|
|
96
|
+
},
|
|
89
97
|
],
|
|
90
98
|
},
|
|
91
99
|
'characters/villager': {
|
package/dist/registry-data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnimatedSprite, Hitbox, Solid, Sprite, StateMachine, Tilemap, } from '@waica/engine';
|
|
2
|
-
import { Chaser, Collectible, Hazard, Health, Interactable, IsoMotor, Lifetime, MeleeAttack, Patrol, Respawnable, } from '@waica/behaviors';
|
|
2
|
+
import { Chaser, ClickToMove, Collectible, Hazard, Health, Interactable, IsoMotor, Lifetime, MeleeAttack, Patrol, Respawnable, } from '@waica/behaviors';
|
|
3
3
|
import { ISOMETRIC_ART } from './art.js';
|
|
4
4
|
import { ISOMETRIC_PREFABS } from './prefabs.js';
|
|
5
5
|
import { ISOMETRIC_UI } from './ui.js';
|
|
@@ -22,6 +22,7 @@ export const ISOMETRIC_REGISTRY_DATA = {
|
|
|
22
22
|
Health,
|
|
23
23
|
Respawnable,
|
|
24
24
|
Lifetime,
|
|
25
|
+
ClickToMove,
|
|
25
26
|
},
|
|
26
27
|
resolveAsset: (uri) => PACKAGE_ASSETS[uri] ?? uri,
|
|
27
28
|
prefabs: ISOMETRIC_PREFABS,
|
package/dist/registry.js
CHANGED
|
@@ -9,6 +9,7 @@ export const ISOMETRIC_ART_URLS = {
|
|
|
9
9
|
'waica-iso-tree.png': new URL('../assets/waica-iso-tree.png', import.meta.url).href,
|
|
10
10
|
'waica-iso-rock.png': new URL('../assets/waica-iso-rock.png', import.meta.url).href,
|
|
11
11
|
'waica-iso-crate.png': new URL('../assets/waica-iso-crate.png', import.meta.url).href,
|
|
12
|
+
'waica-iso-click-marker.png': new URL('../assets/waica-iso-click-marker.png', import.meta.url).href,
|
|
12
13
|
};
|
|
13
14
|
const BUILTIN_ASSETS = Object.fromEntries(ISOMETRIC_ART.map((art) => [art.uri, ISOMETRIC_ART_URLS[art.file] ?? art.uri]));
|
|
14
15
|
export const ISOMETRIC_REGISTRY = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waica/archetype-isometric",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Waica isometric archetype — logical-grid action adventures with screen-relative movement",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@waica/behaviors": "^0.
|
|
28
|
-
"@waica/engine": "^0.
|
|
27
|
+
"@waica/behaviors": "^0.11.0",
|
|
28
|
+
"@waica/engine": "^0.11.0"
|
|
29
29
|
}
|
|
30
30
|
}
|