Skip to content

Commit 30cb308

Browse files
committed
upload some more assets
1 parent cb566aa commit 30cb308

File tree

7 files changed

+141
-3
lines changed

7 files changed

+141
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
{"frames": {
2+
3+
"fire0":
4+
{
5+
"frame": {"x":193,"y":164,"w":52,"h":45},
6+
"rotated": false,
7+
"trimmed": false,
8+
"spriteSourceSize": {"x":0,"y":0,"w":52,"h":45},
9+
"sourceSize": {"w":52,"h":45}
10+
},
11+
"fire1":
12+
{
13+
"frame": {"x":4,"y":101,"w":66,"h":50},
14+
"rotated": false,
15+
"trimmed": false,
16+
"spriteSourceSize": {"x":0,"y":0,"w":66,"h":50},
17+
"sourceSize": {"w":66,"h":50}
18+
},
19+
"fire2":
20+
{
21+
"frame": {"x":4,"y":4,"w":124,"h":89},
22+
"rotated": false,
23+
"trimmed": false,
24+
"spriteSourceSize": {"x":0,"y":0,"w":124,"h":89},
25+
"sourceSize": {"w":124,"h":89}
26+
},
27+
"fire3":
28+
{
29+
"frame": {"x":65,"y":159,"w":57,"h":49},
30+
"rotated": false,
31+
"trimmed": false,
32+
"spriteSourceSize": {"x":0,"y":0,"w":57,"h":49},
33+
"sourceSize": {"w":57,"h":49}
34+
},
35+
"fire4":
36+
{
37+
"frame": {"x":4,"y":159,"w":53,"h":51},
38+
"rotated": false,
39+
"trimmed": false,
40+
"spriteSourceSize": {"x":0,"y":0,"w":53,"h":51},
41+
"sourceSize": {"w":53,"h":51}
42+
},
43+
"fire5":
44+
{
45+
"frame": {"x":193,"y":108,"w":52,"h":48},
46+
"rotated": false,
47+
"trimmed": false,
48+
"spriteSourceSize": {"x":0,"y":0,"w":52,"h":48},
49+
"sourceSize": {"w":52,"h":48}
50+
},
51+
"fire6":
52+
{
53+
"frame": {"x":130,"y":108,"w":55,"h":49},
54+
"rotated": false,
55+
"trimmed": false,
56+
"spriteSourceSize": {"x":0,"y":0,"w":55,"h":49},
57+
"sourceSize": {"w":55,"h":49}
58+
},
59+
"fire7":
60+
{
61+
"frame": {"x":78,"y":101,"w":41,"h":42},
62+
"rotated": false,
63+
"trimmed": false,
64+
"spriteSourceSize": {"x":0,"y":0,"w":41,"h":42},
65+
"sourceSize": {"w":41,"h":42}
66+
},
67+
"fire8":
68+
{
69+
"frame": {"x":65,"y":216,"w":40,"h":36},
70+
"rotated": false,
71+
"trimmed": false,
72+
"spriteSourceSize": {"x":0,"y":0,"w":40,"h":36},
73+
"sourceSize": {"w":40,"h":36}
74+
},
75+
"fire9":
76+
{
77+
"frame": {"x":136,"y":4,"w":74,"h":96},
78+
"rotated": false,
79+
"trimmed": false,
80+
"spriteSourceSize": {"x":0,"y":0,"w":74,"h":96},
81+
"sourceSize": {"w":74,"h":96}
82+
}},
83+
"meta": {
84+
"app": "https://www.codeandweb.com/texturepacker",
85+
"version": "1.0",
86+
"image": "fire-particles.png",
87+
"format": "RGBA8888",
88+
"size": {"w":256,"h":256},
89+
"scale": "1",
90+
"smartupdate": "$TexturePacker:SmartUpdate:9ed67d32a3a6bac6db412a4766b4c7fc:bc1d0bd9f15ae569400efc5458ffb3db:324cc069c0254edb65d22818e8b7c8f4$"
91+
}
92+
}
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{"frames": {
2+
3+
"glaskugel-256x-0":
4+
{
5+
"frame": {"x":0,"y":0,"w":256,"h":256},
6+
"rotated": false,
7+
"trimmed": false,
8+
"spriteSourceSize": {"x":0,"y":0,"w":256,"h":256},
9+
"sourceSize": {"w":256,"h":256}
10+
},
11+
"glaskugel-256x-1":
12+
{
13+
"frame": {"x":256,"y":0,"w":256,"h":256},
14+
"rotated": false,
15+
"trimmed": false,
16+
"spriteSourceSize": {"x":0,"y":0,"w":256,"h":256},
17+
"sourceSize": {"w":256,"h":256}
18+
},
19+
"glaskugel-256x-2":
20+
{
21+
"frame": {"x":512,"y":0,"w":256,"h":256},
22+
"rotated": false,
23+
"trimmed": false,
24+
"spriteSourceSize": {"x":0,"y":0,"w":256,"h":256},
25+
"sourceSize": {"w":256,"h":256}
26+
},
27+
"glaskugel-256x-3":
28+
{
29+
"frame": {"x":768,"y":0,"w":256,"h":256},
30+
"rotated": false,
31+
"trimmed": false,
32+
"spriteSourceSize": {"x":0,"y":0,"w":256,"h":256},
33+
"sourceSize": {"w":256,"h":256}
34+
}},
35+
"meta": {
36+
"app": "https://www.codeandweb.com/texturepacker",
37+
"version": "1.0",
38+
"image": "glaskugeln-2-256x.png",
39+
"format": "RGBA8888",
40+
"size": {"w":1024,"h":256},
41+
"scale": "1",
42+
"smartupdate": "$TexturePacker:SmartUpdate:50d91f814e56d0ec11117db5d7770e04:801c510215c36a1eac2762becfede9bd:5c430ced45f39aa626d5587c6d3bdbff$"
43+
}
44+
}
Loading
Loading

apps/lookbook/src/pages/demos/display-minimal.astro

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import {title} from './_display-minimal.json';
1515
const canvas = document.getElementById('twopoint5d')!;
1616
const display = new Display(canvas);
1717

18-
const width = 197;
19-
const height = 205;
18+
const width = 2288;
19+
const height = 3264;
2020

2121
const stage = new Stage2D(
2222
new ParallaxProjection('xy|bottom-left', {
@@ -25,13 +25,15 @@ import {title} from './_display-minimal.json';
2525
fit: 'contain',
2626
}),
2727
);
28+
29+
stage.scene.background = new Color('#272727');
2830

2931
(window as any).display = display;
3032
(window as any).stage = stage;
3133

3234
const textureFactory = new TextureFactory(display.renderer, ['nearest', 'flipy', 'srgb']);
3335

34-
const textureImage = textureFactory.load(assetsUrl('ball-pattern-rot--not-power-of-2.png'));
36+
const textureImage = textureFactory.load(assetsUrl('xtc_design_spw96.png'));
3537

3638
const material = new SpriteMaterial({map: textureImage});
3739
const sprite = new Sprite(material);

0 commit comments

Comments
 (0)