Screen fader

This commit is contained in:
Martin
2022-12-31 13:32:40 +01:00
parent 50c44b7d64
commit 756e9db049
10 changed files with 494 additions and 91 deletions

View File

@@ -11,7 +11,7 @@
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.3333333333333333,
"_duration": 1,
"_hash": 500763545,
"_tracks": [
{
@@ -68,7 +68,7 @@
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
1
],
"_values": [
{
@@ -113,7 +113,7 @@
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
1
],
"_values": [
{
@@ -158,7 +158,7 @@
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
1
],
"_values": [
{
@@ -203,7 +203,7 @@
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
1
],
"_values": [
{

View File

@@ -11,7 +11,7 @@
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.3333333333333333,
"_duration": 1,
"_hash": 500763545,
"_tracks": [
{
@@ -68,7 +68,7 @@
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
1
],
"_values": [
{
@@ -80,10 +80,7 @@
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
"easingMethod": 0
},
{
"__type__": "cc.RealKeyframeValue",
@@ -94,10 +91,7 @@
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
"easingMethod": 0
}
],
"preExtrapolation": 1,
@@ -113,7 +107,7 @@
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
1
],
"_values": [
{
@@ -125,10 +119,7 @@
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
"easingMethod": 0
},
{
"__type__": "cc.RealKeyframeValue",
@@ -139,10 +130,7 @@
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
"easingMethod": 0
}
],
"preExtrapolation": 1,
@@ -158,7 +146,7 @@
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
1
],
"_values": [
{
@@ -170,10 +158,7 @@
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
"easingMethod": 0
},
{
"__type__": "cc.RealKeyframeValue",
@@ -184,10 +169,7 @@
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
"easingMethod": 0
}
],
"preExtrapolation": 1,
@@ -203,7 +185,7 @@
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
1
],
"_values": [
{
@@ -215,10 +197,7 @@
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
"easingMethod": 0
},
{
"__type__": "cc.RealKeyframeValue",
@@ -229,10 +208,7 @@
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
"easingMethod": 0
}
],
"preExtrapolation": 1,

View File

@@ -0,0 +1,200 @@
[
{
"__type__": "cc.Prefab",
"_name": "ScreenFader",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false,
"asyncLoadAssets": false
},
{
"__type__": "cc.Node",
"_name": "ScreenFader",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [],
"_active": false,
"_components": [
{
"__id__": 2
},
{
"__id__": 4
},
{
"__id__": 6
},
{
"__id__": 8
}
],
"_prefab": {
"__id__": 10
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 8388608,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 3
},
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 960
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6enxQ1KzBEvqOWCGMWj4kp"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 5
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_spriteFrame": {
"__uuid__": "0a917d5c-2810-46e1-8332-63f00395d63a@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "c4872559-07b2-44e5-9613-5f22506b1989",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ecD8Nkb9dPaJ9N91FsykR9"
},
{
"__type__": "f9bdcLpmMdIgqWNOgetdMv1",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 7
},
"animation": {
"__id__": 8
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "83zvKO0AFLuLrQVHfpw7yG"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 9
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "62a2bbe7-81e3-4f5d-85a7-e6ed018e783a",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "03c7a83d-bc15-48b9-b343-7c930ab88d2c",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b0C4L0T+pGSYu09o8CU1xS"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "94InV0g5lPEL9T8UP6gS83"
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.40",
"importer": "prefab",
"imported": true,
"uuid": "7d9555ec-6f1b-492e-96e2-574becb17c9d",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "ScreenFader"
}
}