feat: 🎸 渐变过渡的相册

一个借助shader渐变的相册demo
This commit is contained in:
ifengzp
2020-06-06 23:54:55 +08:00
parent 16946d2d06
commit ca81a027d3
24 changed files with 1659 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@@ -0,0 +1,36 @@
{
"ver": "2.3.4",
"uuid": "ee9b221f-8ed3-4418-8cbf-b987bbb772ca",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": false,
"width": 1024,
"height": 445,
"platformSettings": {},
"subMetas": {
"bg1": {
"ver": "1.0.4",
"uuid": "d61bb924-4a50-4487-90ce-e35d82c2e7a9",
"rawTextureUuid": "ee9b221f-8ed3-4418-8cbf-b987bbb772ca",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1024,
"height": 445,
"rawWidth": 1024,
"rawHeight": 445,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

View File

@@ -0,0 +1,36 @@
{
"ver": "2.3.4",
"uuid": "19c794aa-df1e-41ca-95f1-6cb3e1697ae4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": false,
"width": 1335,
"height": 864,
"platformSettings": {},
"subMetas": {
"bg2": {
"ver": "1.0.4",
"uuid": "897869c8-2252-4cdc-8590-a4cd75951029",
"rawTextureUuid": "19c794aa-df1e-41ca-95f1-6cb3e1697ae4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1335,
"height": 864,
"rawWidth": 1335,
"rawHeight": 864,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@@ -0,0 +1,36 @@
{
"ver": "2.3.4",
"uuid": "574b895a-3021-49b2-8e07-0c6f94fa77a1",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 445,
"platformSettings": {},
"subMetas": {
"bg3": {
"ver": "1.0.4",
"uuid": "1d7fee62-0711-4d91-97a8-e6126253d95e",
"rawTextureUuid": "574b895a-3021-49b2-8e07-0c6f94fa77a1",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1024,
"height": 445,
"rawWidth": 1024,
"rawHeight": 445,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@@ -0,0 +1,36 @@
{
"ver": "2.3.4",
"uuid": "2737adaa-2eba-48cf-ab02-0ebdbac933d6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 800,
"height": 445,
"platformSettings": {},
"subMetas": {
"bg4": {
"ver": "1.0.4",
"uuid": "a4b26052-bda2-4bec-ba05-adf268ff62f3",
"rawTextureUuid": "2737adaa-2eba-48cf-ab02-0ebdbac933d6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 800,
"height": 445,
"rawWidth": 800,
"rawHeight": 445,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View File

@@ -0,0 +1,36 @@
{
"ver": "2.3.4",
"uuid": "a7d2fa64-184c-4a57-b5f7-0bc703fcb9b8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 800,
"height": 445,
"platformSettings": {},
"subMetas": {
"bg5": {
"ver": "1.0.4",
"uuid": "18a56f47-1625-4ab1-a7e9-5754637c0d57",
"rawTextureUuid": "a7d2fa64-184c-4a57-b5f7-0bc703fcb9b8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 800,
"height": 445,
"rawWidth": 800,
"rawHeight": 445,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -0,0 +1,36 @@
{
"ver": "2.3.4",
"uuid": "ef40a864-df76-464a-9525-358aab5d4919",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 124,
"height": 48,
"platformSettings": {},
"subMetas": {
"next": {
"ver": "1.0.4",
"uuid": "1969f470-bc7b-4feb-9dbe-2aee4f26556a",
"rawTextureUuid": "ef40a864-df76-464a-9525-358aab5d4919",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 124,
"height": 48,
"rawWidth": 124,
"rawHeight": 48,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}