Compare commits
46 Commits
SP3-1-Rend
...
main
Author | SHA1 | Date |
---|---|---|
Sri Sham Haran | 0f7d86543f | |
Glence | 8ffca03f16 | |
XiaoQiDigipen | 724f8ae2cf | |
maverickdgg | f495dfe4fd | |
Glence | e5c8f4c380 | |
Glence | f114a7f59a | |
XiaoQiDigipen | 273bdfcdcc | |
Glence | 9b55d69f9a | |
Glence | 716087d15c | |
Xiao Qi | 5c79bb7f9f | |
XiaoQiDigipen | f54448b5eb | |
Glence | 51f426868e | |
Glence | 51867f0c5e | |
Glence | 96fd8295aa | |
XiaoQiDigipen | a3c1993576 | |
maverickdgg | 483d8c7066 | |
maverickdgg | c643bd64f3 | |
maverickdgg | d5240b420d | |
Glence | cc9b7c20c4 | |
Glence | ce6288880a | |
Glence | b2e38df969 | |
XiaoQiDigipen | 0dad2e9e9f | |
XiaoQiDigipen | e9d0b01972 | |
Glence | f70a41a9dc | |
maverickdgg | 43c6a62186 | |
maverickdgg | 2e20b295b5 | |
Glence | 3e4794cebc | |
Glence | 191ed7de43 | |
XiaoQiDigipen | fada41174d | |
Glence | a76f2eca87 | |
Glence | 5ed0219a0b | |
XiaoQiDigipen | 1c6def8e70 | |
maverickdgg | 9d8b94a5ab | |
XiaoQiDigipen | 1838209ec2 | |
maverickdgg | c335f58702 | |
maverickdgg | af9e523da9 | |
maverickdgg | 6ee619d26e | |
maverickdgg | b123cd83f8 | |
maverickdgg | fdc261749e | |
XiaoQiDigipen | 125f88bcac | |
maverickdgg | c2a8c86483 | |
maverickdgg | 12bbce33e8 | |
maverickdgg | 3fef57f88a | |
maverickdgg | 3f7522d76f | |
maverickdgg | c6faeeb282 | |
maverickdgg | 8c5bf82aa5 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,8 @@
|
|||
- VertexShader: 46580970
|
||||
FragmentShader: 35983630
|
||||
SubPass: UI
|
||||
Properties:
|
||||
data.color: {x: 1, y: 1, z: 1, w: 1}
|
||||
data.textureIndex: 64816540
|
||||
data.alpha: 1
|
||||
data.beta: {x: 1, y: 1, z: 1}
|
|
@ -0,0 +1,3 @@
|
|||
Name: UIMat_SliderBG
|
||||
ID: 117587364
|
||||
Type: 7
|
|
@ -0,0 +1,11 @@
|
|||
- VertexShader: 46580970
|
||||
FragmentShader: 43211183
|
||||
SubPass: UI
|
||||
Properties:
|
||||
data.color: {x: 1, y: 1, z: 1, w: 1}
|
||||
data.textureIndex: 50370514
|
||||
data.alpha: 1
|
||||
data.beta: {x: 1, y: 1, z: 1}
|
||||
data.sliderThreshold: 1
|
||||
data.sliderStartColor: {x: 0.36500001, y: 0.783999979, z: 0.878000021, w: 1}
|
||||
data.sliderBarColor: {x: 1, y: 1, z: 1, w: 1}
|
|
@ -0,0 +1,3 @@
|
|||
Name: UIMat_Slider_BGM
|
||||
ID: 129354037
|
||||
Type: 7
|
|
@ -0,0 +1,11 @@
|
|||
- VertexShader: 46580970
|
||||
FragmentShader: 43211183
|
||||
SubPass: UI
|
||||
Properties:
|
||||
data.color: {x: 1, y: 1, z: 1, w: 1}
|
||||
data.textureIndex: 50370514
|
||||
data.alpha: 1
|
||||
data.beta: {x: 1, y: 1, z: 1}
|
||||
data.sliderThreshold: 1
|
||||
data.sliderStartColor: {x: 0.624000013, y: 0.211999997, z: 0.949000001, w: 1}
|
||||
data.sliderBarColor: {x: 1, y: 1, z: 1, w: 1}
|
|
@ -0,0 +1,3 @@
|
|||
Name: UIMat_Slider_FOV
|
||||
ID: 117651669
|
||||
Type: 7
|
|
@ -0,0 +1,11 @@
|
|||
- VertexShader: 46580970
|
||||
FragmentShader: 43211183
|
||||
SubPass: UI
|
||||
Properties:
|
||||
data.color: {x: 1, y: 1, z: 1, w: 1}
|
||||
data.textureIndex: 50370514
|
||||
data.alpha: 1
|
||||
data.beta: {x: 1, y: 1, z: 1}
|
||||
data.sliderThreshold: 1
|
||||
data.sliderStartColor: {x: 0.949000001, y: 0.689999998, z: 0.211999997, w: 1}
|
||||
data.sliderBarColor: {x: 1, y: 1, z: 1, w: 1}
|
|
@ -0,0 +1,3 @@
|
|||
Name: UIMat_Slider_SFX
|
||||
ID: 122820018
|
||||
Type: 7
|
|
@ -3,7 +3,9 @@
|
|||
SubPass: UI
|
||||
Properties:
|
||||
data.color: {x: 1, y: 1, z: 1, w: 1}
|
||||
data.textureIndex: 51995224
|
||||
data.textureIndex: 50370514
|
||||
data.alpha: 1
|
||||
data.beta: {x: 1, y: 1, z: 1}
|
||||
data.sliderThreshold: 1
|
||||
data.sliderThreshold: 1
|
||||
data.sliderStartColor: {x: 0.254901886, y: 0.321500003, z: 0.909799993, w: 1}
|
||||
data.sliderBarColor: {x: 1, y: 1, z: 1, w: 1}
|
|
@ -0,0 +1,8 @@
|
|||
- VertexShader: 46580970
|
||||
FragmentShader: 40208610
|
||||
SubPass: UI
|
||||
Properties:
|
||||
data.color: {x: 1, y: 1, z: 1, w: 1}
|
||||
data.textureIndex: 50770098
|
||||
data.alpha: 1
|
||||
data.beta: {x: 1, y: 1, z: 1}
|
|
@ -0,0 +1,3 @@
|
|||
Name: UIMat_Transistion
|
||||
ID: 132131066
|
||||
Type: 7
|
|
@ -0,0 +1,8 @@
|
|||
- VertexShader: 46580970
|
||||
FragmentShader: 35983630
|
||||
SubPass: UI
|
||||
Properties:
|
||||
data.color: {x: 1, y: 1, z: 1, w: 1}
|
||||
data.textureIndex: 55490391
|
||||
data.alpha: 1
|
||||
data.beta: {x: 1, y: 1, z: 1}
|
|
@ -0,0 +1,3 @@
|
|||
Name: UI_Result
|
||||
ID: 130179375
|
||||
Type: 7
|
Binary file not shown.
|
@ -1,3 +1,3 @@
|
|||
Name: Level3_NavData
|
||||
ID: 263362242
|
||||
ID: 252819653
|
||||
Type: 15
|
||||
|
|
|
@ -0,0 +1,174 @@
|
|||
- NavData: 0
|
||||
- EID: 0
|
||||
Name: Camera
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Camera Component:
|
||||
Position: {x: 0, y: 0, z: 0}
|
||||
Pitch: 0
|
||||
Yaw: 0
|
||||
Roll: 0
|
||||
Width: 1920
|
||||
Near: 0.00999999978
|
||||
Far: 10000
|
||||
Perspective: true
|
||||
FOV: 90
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 46
|
||||
Name: Credits Canvas
|
||||
IsActive: true
|
||||
NumberOfChildren: 3
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 47
|
||||
Name: Scrolling Credits
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -3800, z: 1.5}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1920, y: 8026, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 120332672
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 46
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.ScrollingCredits
|
||||
Enabled: true
|
||||
endY: 4300
|
||||
duration: 27
|
||||
levelTransition: 619
|
||||
- Type: SHADE_Scripting.UI.TransitToMainMenu
|
||||
Enabled: true
|
||||
timeToTransit: 27
|
||||
sceneToChange: 97158628
|
||||
- EID: 49
|
||||
Name: Credits Title Text
|
||||
IsActive: false
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -150, y: 400, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 100, y: 100, z: 1}
|
||||
IsActive: false
|
||||
Text Renderer Component:
|
||||
Text: Credits
|
||||
Font: 174412429
|
||||
Color: {x: 0, y: 0, z: 0, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
IsActive: false
|
||||
UI Component:
|
||||
Canvas ID: 46
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: false
|
||||
Scripts: ~
|
||||
- EID: 55
|
||||
Name: BackGround
|
||||
IsActive: false
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 1.5}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1920, y: 1080, z: 1}
|
||||
IsActive: false
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 121834459
|
||||
IsActive: false
|
||||
UI Component:
|
||||
Canvas ID: 46
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: false
|
||||
Scripts: ~
|
||||
- EID: 54
|
||||
Name: TweenManager
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components: ~
|
||||
Scripts:
|
||||
- Type: TweenManager
|
||||
Enabled: true
|
||||
- EID: 619
|
||||
Name: LevelTransistionCanvas
|
||||
IsActive: true
|
||||
NumberOfChildren: 2
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: LevelTransistion
|
||||
Enabled: true
|
||||
logo: 618
|
||||
bg: 617
|
||||
duration: 0.5
|
||||
bgEndPositionX: 3000
|
||||
logoEndPositionX: 3000
|
||||
rotAndScale: false
|
||||
rotationAmt: 360
|
||||
scaleAmt: 631
|
||||
- EID: 618
|
||||
Name: LevelTransistionLogo
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 631, y: 631, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 126117259
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 619
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 617
|
||||
Name: LevelTransistionBG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.200000003}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 4000, y: 4000, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 132131066
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 619
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
|
@ -0,0 +1,3 @@
|
|||
Name: CreditsScene
|
||||
ID: 97376761
|
||||
Type: 5
|
|
@ -1,3 +1,4 @@
|
|||
- NavData: 0
|
||||
- EID: 1
|
||||
Name: Canvas4
|
||||
IsActive: true
|
||||
|
@ -152,7 +153,7 @@
|
|||
Scripts:
|
||||
- Type: CutsceneEnd
|
||||
Enabled: true
|
||||
nextScene: 92009475
|
||||
nextScene: 97376761
|
||||
duration: 1
|
||||
skipDuration: 0.100000001
|
||||
cutscene4Points: 4
|
||||
|
@ -161,6 +162,7 @@
|
|||
cutscene5Pics: 15
|
||||
canvas4: 1
|
||||
canvas5: 14
|
||||
levelTransition: 619
|
||||
- EID: 4
|
||||
Name: CutScene4Points
|
||||
IsActive: true
|
||||
|
@ -288,7 +290,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 250, y: -500, z: 0.100000001}
|
||||
Translate: {x: 250, y: -500, z: 0.300000012}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 50, y: 50, z: 50}
|
||||
IsActive: true
|
||||
|
@ -331,4 +333,73 @@
|
|||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
Scripts: ~
|
||||
- EID: 619
|
||||
Name: LevelTransistionCanvas
|
||||
IsActive: true
|
||||
NumberOfChildren: 2
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: LevelTransistion
|
||||
Enabled: true
|
||||
logo: 618
|
||||
bg: 617
|
||||
duration: 0.5
|
||||
bgEndPositionX: 3000
|
||||
logoEndPositionX: 3000
|
||||
rotAndScale: false
|
||||
rotationAmt: 360
|
||||
scaleAmt: 631
|
||||
- EID: 618
|
||||
Name: LevelTransistionLogo
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 631, y: 631, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 126117259
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 619
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 617
|
||||
Name: LevelTransistionBG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.200000003}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 4000, y: 4000, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 132131066
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 619
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 616
|
||||
Name: TweenManager
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components: ~
|
||||
Scripts:
|
||||
- Type: TweenManager
|
||||
Enabled: true
|
|
@ -1,3 +1,4 @@
|
|||
- NavData: 0
|
||||
- EID: 1
|
||||
Name: Canvas1
|
||||
IsActive: true
|
||||
|
@ -164,6 +165,7 @@
|
|||
canvas1: 1
|
||||
canvas2: 13
|
||||
canvas3: 24
|
||||
levelTransition: 619
|
||||
- EID: 4
|
||||
Name: CutScene1Points
|
||||
IsActive: true
|
||||
|
@ -177,7 +179,7 @@
|
|||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -550, y: 0, z: 0.5}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Rotate: {x: 500.5, y: -274.5, z: 0.600000024}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -394,7 +396,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -1375, y: 250, z: 0.5}
|
||||
Translate: {x: -1375, y: 250, z: 0.899999976}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 982, y: 527, z: 1}
|
||||
IsActive: true
|
||||
|
@ -414,7 +416,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 200, y: 1200, z: 0.400000006}
|
||||
Translate: {x: 200, y: 1200, z: 0.800000012}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 625, y: 579, z: 1}
|
||||
IsActive: true
|
||||
|
@ -434,7 +436,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 1700, y: 200, z: 0.300000012}
|
||||
Translate: {x: 1700, y: 200, z: 0.699999988}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 529, y: 670, z: 1}
|
||||
IsActive: true
|
||||
|
@ -454,7 +456,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -1600, y: -200, z: 0.5}
|
||||
Translate: {x: -1600, y: -200, z: 0.899999976}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1299, y: 575, z: 1}
|
||||
IsActive: true
|
||||
|
@ -474,7 +476,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 500, y: -1275, z: 0.5}
|
||||
Translate: {x: 500, y: -1275, z: 0.899999976}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 866, y: 483, z: 1}
|
||||
IsActive: true
|
||||
|
@ -494,7 +496,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.699999988}
|
||||
Translate: {x: 0, y: 0, z: 0.99000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1920, y: 1080, z: 1}
|
||||
IsActive: true
|
||||
|
@ -514,7 +516,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 250, y: -500, z: 0.100000001}
|
||||
Translate: {x: 250, y: -500, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 50, y: 50, z: 50}
|
||||
IsActive: true
|
||||
|
@ -542,7 +544,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -375, y: 250, z: 0.5}
|
||||
Translate: {x: -375, y: 250, z: 0.899999976}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
|
@ -553,7 +555,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 200, y: 200, z: 0.400000006}
|
||||
Translate: {x: 200, y: 200, z: 0.800000012}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
|
@ -564,7 +566,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 700, y: 200, z: 0.300000012}
|
||||
Translate: {x: 700, y: 200, z: 0.699999988}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
|
@ -575,7 +577,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -225, y: -200, z: 0.200000003}
|
||||
Translate: {x: -225, y: -200, z: 0.600000024}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
|
@ -586,8 +588,77 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 500, y: -275, z: 0.100000001}
|
||||
Translate: {x: 500, y: -275, z: 0.5}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
Scripts: ~
|
||||
- EID: 619
|
||||
Name: LevelTransistionCanvas
|
||||
IsActive: true
|
||||
NumberOfChildren: 2
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: LevelTransistion
|
||||
Enabled: true
|
||||
logo: 618
|
||||
bg: 617
|
||||
duration: 0.5
|
||||
bgEndPositionX: 3000
|
||||
logoEndPositionX: 3000
|
||||
rotAndScale: false
|
||||
rotationAmt: 360
|
||||
scaleAmt: 631
|
||||
- EID: 618
|
||||
Name: LevelTransistionLogo
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 631, y: 631, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 126117259
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 619
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 617
|
||||
Name: LevelTransistionBG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.200000003}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 4000, y: 4000, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 132131066
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 619
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 616
|
||||
Name: TweenManager
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components: ~
|
||||
Scripts:
|
||||
- Type: TweenManager
|
||||
Enabled: true
|
|
@ -2420,7 +2420,7 @@
|
|||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0}
|
||||
Rotate: {x: -0.0818509459, y: 0.5, z: -11.5662012}
|
||||
Rotate: {x: 50.5, y: 175.5, z: 0.899999976}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
|
@ -6864,7 +6864,7 @@
|
|||
Half Extents: {x: 0.200000003, y: 0.200000003, z: 0.200000003}
|
||||
Friction: 0.400000006
|
||||
Bounciness: 0
|
||||
Density: 1
|
||||
Density: 2
|
||||
Position Offset: {x: 0, y: 0.100000001, z: 0}
|
||||
Rotation Offset: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
|
@ -6906,7 +6906,7 @@
|
|||
Half Extents: {x: 0.200000003, y: 0.200000003, z: 0.200000003}
|
||||
Friction: 0.400000006
|
||||
Bounciness: 0
|
||||
Density: 1
|
||||
Density: 2
|
||||
Position Offset: {x: 0, y: 0.100000001, z: 0}
|
||||
Rotation Offset: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
|
@ -6948,7 +6948,7 @@
|
|||
Half Extents: {x: 0.200000003, y: 0.200000003, z: 0.200000003}
|
||||
Friction: 0.400000006
|
||||
Bounciness: 0
|
||||
Density: 1
|
||||
Density: 2
|
||||
Position Offset: {x: 0, y: 0.100000001, z: 0}
|
||||
Rotation Offset: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
|
@ -6990,7 +6990,7 @@
|
|||
Half Extents: {x: 0.200000003, y: 0.200000003, z: 0.200000003}
|
||||
Friction: 0.400000006
|
||||
Bounciness: 0
|
||||
Density: 1
|
||||
Density: 2
|
||||
Position Offset: {x: 0, y: 0.100000001, z: 0}
|
||||
Rotation Offset: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
|
@ -7594,15 +7594,16 @@
|
|||
- Type: GameManager
|
||||
Enabled: true
|
||||
winScene: 86098106
|
||||
loseScene: 91685359
|
||||
currGameState: 0
|
||||
totalItemCount: 4
|
||||
Score: 0
|
||||
timer: 200
|
||||
scoreText: 237
|
||||
timeText: 525
|
||||
minusTimerText: 65735
|
||||
multiplierText: 524
|
||||
scoreTextBG: 568
|
||||
timeText: 131278
|
||||
minusTimerText: 131211
|
||||
Results: 626
|
||||
multiplierText: 66055
|
||||
maxMultiplierDuration: 5
|
||||
maxMultiplierCombo: 10
|
||||
multiplierFont: 60
|
||||
|
@ -7724,8 +7725,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.876652002, y: 0.485357881, z: 0.166061834, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -7795,8 +7800,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.977993011, y: 1, z: 0.286343634, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -7866,8 +7875,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -7937,8 +7950,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -8047,8 +8064,12 @@
|
|||
Rotation Speed: 0.0500000007
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 37407233
|
||||
Color Tint: {x: 0, y: 0, z: 0, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0299999993, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -8141,8 +8162,12 @@
|
|||
Rotation Speed: 0.0500000007
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 37407233
|
||||
Color Tint: {x: 0, y: 0, z: 0, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0299999993, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -8235,8 +8260,12 @@
|
|||
Rotation Speed: 0.0500000007
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 37407233
|
||||
Color Tint: {x: 0, y: 0, z: 0, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0299999993, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -8329,8 +8358,12 @@
|
|||
Rotation Speed: 0.0500000007
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 37407233
|
||||
Color Tint: {x: 0, y: 0, z: 0, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0299999993, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -8423,8 +8456,12 @@
|
|||
Rotation Speed: 0.0500000007
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 37407233
|
||||
Color Tint: {x: 0, y: 0, z: 0, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0299999993, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -8685,8 +8722,12 @@
|
|||
Rotation Speed: 0.805999994
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 56224060
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 42141152
|
||||
Color Tint: {x: 1, y: 1, z: 1, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0.0500000007, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -8715,8 +8756,12 @@
|
|||
Rotation Speed: 0.805999994
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 56224060
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 42141152
|
||||
Color Tint: {x: 1, y: 1, z: 1, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0.0500000007, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -8767,7 +8812,7 @@
|
|||
popInDuration: 0.5
|
||||
popOutDuration: 0.075000003
|
||||
stayDuration: 1
|
||||
rotationAmt: 1800
|
||||
rotationAmt: 360
|
||||
scaleAmtX: 538
|
||||
scaleAmtY: 377
|
||||
- EID: 463
|
||||
|
@ -8786,11 +8831,12 @@
|
|||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.PreviewLevel
|
||||
Enabled: true
|
||||
endPoint1: [-5.5, 1.5, -2]
|
||||
levelTransistion: 619
|
||||
endPoint1: [-5.5, 1.20000005, -2]
|
||||
endPoint2: [1, 1.5, -7.5]
|
||||
endPoint3: [2.5, 1.5, -3]
|
||||
playerCamera: 65730
|
||||
gameplayCanvas: 459
|
||||
gameplayCanvas: 131271
|
||||
duration: 3
|
||||
- EID: 453
|
||||
Name: PreviewLevel1
|
||||
|
@ -8798,7 +8844,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -7.5, y: 1.5, z: -2}
|
||||
Translate: {x: -7.5, y: 1.20000005, z: -2}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
|
@ -9046,183 +9092,6 @@
|
|||
Casting Shadows: true
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 526
|
||||
Name: Gameplay Canvas
|
||||
IsActive: true
|
||||
NumberOfChildren: 4
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 237
|
||||
Name: Score Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -800, y: 365, z: 0.600000024}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 100, y: 100, z: 60}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: My name is Brandon.
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 526
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.ScoreTextDigitPositioning
|
||||
Enabled: true
|
||||
offsetPerDigit: 25
|
||||
- Type: SHADE_Scripting.UI.SingleScaleBounce
|
||||
Enabled: true
|
||||
durationUp: 0.150000006
|
||||
durationDown: 0.300000012
|
||||
scaleSize: 1.20000005
|
||||
- EID: 525
|
||||
Name: Timer Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 2
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 700, y: 400, z: 0.600000024}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 60, y: 60, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: My name is Brandon.
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 526
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 520
|
||||
Name: Timer BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0.5, y: 0.300000012, z: 0.98999995}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 5, y: 2, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 126220632
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 526
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 65735
|
||||
Name: Minus Timer Text
|
||||
IsActive: false
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -0.800000012, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: false
|
||||
Text Renderer Component:
|
||||
Text: -10
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 0, z: 0, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
IsActive: false
|
||||
UI Component:
|
||||
Canvas ID: 526
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: false
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.MinusTimerText
|
||||
Enabled: true
|
||||
duration: 2
|
||||
- EID: 524
|
||||
Name: Multiplier Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 1
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -800, y: 250, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 50, y: 50, z: 60}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: X2
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 526
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.MultiplierTextFx
|
||||
Enabled: true
|
||||
maxSize: 1
|
||||
minSize: 0.300000012
|
||||
minAlpha: 0.300000012
|
||||
- EID: 519
|
||||
Name: Multiplier BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0.400000006, y: 0.400000006, z: 0.98999995}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 4.26499987, y: 2, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 133784677
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 526
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: FixRotation
|
||||
Enabled: true
|
||||
- EID: 521
|
||||
Name: Score BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -770, y: 425, z: 59.9999962}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 345.600006, y: 200, z: 60}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 127527215
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 526
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 66150
|
||||
Name: ParticlesDeco
|
||||
IsActive: true
|
||||
|
@ -9254,8 +9123,12 @@
|
|||
Rotation Speed: 0
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.0187467411, y: 0.627120614, z: 0.709251106, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.899999976, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -9284,8 +9157,12 @@
|
|||
Rotation Speed: 0
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.0187467411, y: 0.627120614, z: 0.709251106, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0.100000001, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -9314,8 +9191,12 @@
|
|||
Rotation Speed: 0
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.0187467411, y: 0.627120614, z: 0.709251106, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.100000001, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -9377,7 +9258,7 @@
|
|||
Enabled: true
|
||||
player: 65775
|
||||
range: 5
|
||||
angle: 30
|
||||
angle: 45
|
||||
angleBetween: 0
|
||||
distance: 0
|
||||
heightLimit: 1
|
||||
|
@ -9395,6 +9276,7 @@
|
|||
- Type: SHADE_Scripting.Gameplay.AIBehaviour.AIRework.HomeOwnerAI
|
||||
Enabled: true
|
||||
idleDuration: 1
|
||||
caughtDuration: 2
|
||||
timeoutDuration: 2
|
||||
patrolPointParent: 234
|
||||
patrolSpeed: 1
|
||||
|
@ -9418,7 +9300,7 @@
|
|||
- EID: 627
|
||||
Name: AttackHitbox
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
NumberOfChildren: 1
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -0.10252738, z: -2.20271254}
|
||||
|
@ -9440,4 +9322,430 @@
|
|||
Scripts:
|
||||
- Type: SHADE_Scripting.Gameplay.AIBehaviour.AIRework.HomeOwnerAttackHitbox
|
||||
Enabled: true
|
||||
aiGO: 65771
|
||||
aiGO: 65771
|
||||
raccoonFound: false
|
||||
- EID: 609
|
||||
Name: NetPosition
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: -0.329473495}
|
||||
Rotate: {x: -0, y: 0, z: -0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 131271
|
||||
Name: Gameplay Canvas
|
||||
IsActive: true
|
||||
NumberOfChildren: 4
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 237
|
||||
Name: Score Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -800, y: 365, z: 0.600000024}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 100, y: 100, z: 60}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: My name is Brandon.
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 131271
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.ScoreTextDigitPositioning
|
||||
Enabled: true
|
||||
offsetPerDigit: 25
|
||||
- Type: SHADE_Scripting.UI.SingleScaleBounce
|
||||
Enabled: true
|
||||
durationUp: 0.150000006
|
||||
durationDown: 0.300000012
|
||||
scaleSize: 1.20000005
|
||||
- EID: 131278
|
||||
Name: Timer Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 2
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 700, y: 400, z: 0.600000024}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 60, y: 60, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: My name is Brandon.
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 131271
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.GameTimer
|
||||
Enabled: true
|
||||
criticalTime: 30
|
||||
timer: 0
|
||||
- Type: SHADE_Scripting.UI.ScaleBounce
|
||||
Enabled: true
|
||||
minScale: 1
|
||||
maxScale: 1.20000005
|
||||
duration: 1
|
||||
isActive: false
|
||||
- EID: 520
|
||||
Name: Timer BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0.300000012, z: 0.699999988}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 5, y: 2, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 126220632
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 131271
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 131211
|
||||
Name: Minus Timer Text
|
||||
IsActive: false
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -0.800000012, z: 0.600000024}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: false
|
||||
Text Renderer Component:
|
||||
Text: -10
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 0, z: 0, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
IsActive: false
|
||||
UI Component:
|
||||
Canvas ID: 131271
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: false
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.MinusTimerText
|
||||
Enabled: true
|
||||
duration: 2
|
||||
- EID: 66055
|
||||
Name: Multiplier Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 1
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -800, y: 200, z: 0.600000024}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 50, y: 50, z: 60}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: X0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 131271
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.MultiplierTextFx
|
||||
Enabled: true
|
||||
maxSize: 1.5
|
||||
minSize: 1
|
||||
- EID: 131593
|
||||
Name: Multiplier BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0.800000012, y: 0.400000006, z: 0.699999988}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 4.26499987, y: 2, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 133784677
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 131271
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: FixRotation
|
||||
Enabled: true
|
||||
- EID: 568
|
||||
Name: Score BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -770, y: 425, z: 0.699999988}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 345.600006, y: 200, z: 60}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 127527215
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 131271
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.SingleScaleBounce
|
||||
Enabled: true
|
||||
durationUp: 0.150000006
|
||||
durationDown: 0.300000012
|
||||
scaleSize: 1.20000005
|
||||
- EID: 626
|
||||
Name: Result Canvas
|
||||
IsActive: false
|
||||
NumberOfChildren: 6
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: false
|
||||
Scripts:
|
||||
- Type: Results
|
||||
Enabled: true
|
||||
score: 623
|
||||
timeLeft: 622
|
||||
maxCombo: 621
|
||||
finalScore: 620
|
||||
contiuneBtn: 624
|
||||
levelTransition: 619
|
||||
nextScene: 86098106
|
||||
scoreTweenDur: 2
|
||||
- EID: 624
|
||||
Name: Contiune_BTN
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 300, y: -400, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 344, y: 166, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 129340704
|
||||
IsActive: true
|
||||
Button Component:
|
||||
Default Texture: 59330417
|
||||
Hovered Texture: 55195346
|
||||
Clicked Texture: 56163414
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 626
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.ButtonFX
|
||||
Enabled: true
|
||||
onHoverEnterSound: event:/UI/botton_hover
|
||||
onHoverExitSound: Empty
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
hoverScale: 1.10000002
|
||||
clickScale: 0.899999976
|
||||
- EID: 625
|
||||
Name: Result_BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.5}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1024, y: 1024, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 130179375
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 626
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 623
|
||||
Name: Score_text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 50, y: 175, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: 0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 80, y: 80, z: 80}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 626
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 622
|
||||
Name: TimeLeft_Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 50, y: 45, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: 0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 80, y: 80, z: 80}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 626
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 621
|
||||
Name: MaxCombo_Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 50, y: -80, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: 0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 80, y: 80, z: 80}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 626
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 620
|
||||
Name: FinalScore_Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -285, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: 0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 160, y: 160, z: 160}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 626
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 619
|
||||
Name: LevelTransistionCanvas
|
||||
IsActive: true
|
||||
NumberOfChildren: 2
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: LevelTransistion
|
||||
Enabled: true
|
||||
logo: 618
|
||||
bg: 617
|
||||
duration: 0.5
|
||||
bgEndPositionX: 3000
|
||||
logoEndPositionX: 3000
|
||||
rotAndScale: false
|
||||
rotationAmt: 360
|
||||
scaleAmt: 631
|
||||
- EID: 618
|
||||
Name: LevelTransistionLogo
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 631, y: 631, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 126117259
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 619
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 617
|
||||
Name: LevelTransistionBG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.200000003}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 4000, y: 4000, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 132131066
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 619
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
|
@ -122,8 +122,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.876652002, y: 0.485357881, z: 0.166061834, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -193,8 +197,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.876652002, y: 0.485357881, z: 0.166061834, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -264,8 +272,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.977993011, y: 1, z: 0.286343634, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -335,8 +347,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.977993011, y: 1, z: 0.286343634, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -406,8 +422,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -477,8 +497,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -548,8 +572,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -619,8 +647,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 1, y: 1, z: 1, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.00999999978, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -863,8 +895,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.876652002, y: 0.485357881, z: 0.166061834, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -934,8 +970,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1005,8 +1045,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1076,8 +1120,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1147,8 +1195,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.977993011, y: 1, z: 0.286343634, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1218,8 +1270,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.876652002, y: 0.485357881, z: 0.166061834, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1289,8 +1345,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.876652002, y: 0.485357881, z: 0.166061834, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1360,8 +1420,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.876652002, y: 0.485357881, z: 0.166061834, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1431,8 +1495,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1502,8 +1570,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1573,8 +1645,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1644,8 +1720,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1715,8 +1795,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1786,8 +1870,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1857,8 +1945,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.876652002, y: 0.485357881, z: 0.166061834, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1928,8 +2020,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.977993011, y: 1, z: 0.286343634, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -1999,8 +2095,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2070,8 +2170,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2141,8 +2245,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.279913902, y: 0.845814943, z: 0.0856993049, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0199999996, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2212,8 +2320,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2288,8 +2400,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2359,8 +2475,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2430,8 +2550,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2501,8 +2625,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2572,8 +2700,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2643,8 +2775,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2719,8 +2855,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2790,8 +2930,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2861,8 +3005,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -2932,8 +3080,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -3003,8 +3155,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.290321946, y: 0.823788524, z: 0.323222876, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -3074,8 +3230,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 1, y: 1, z: 1, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.00999999978, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -3318,8 +3478,12 @@
|
|||
Rotation Speed: 0.100000001
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 1, y: 1, z: 1, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.00999999978, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
|
@ -3601,8 +3765,12 @@
|
|||
Rotation Speed: 0.0500000007
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 37407233
|
||||
Color Tint: {x: 0, y: 0, z: 0, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0299999993, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -3695,8 +3863,12 @@
|
|||
Rotation Speed: 0.0500000007
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 37407233
|
||||
Color Tint: {x: 0, y: 0, z: 0, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.0299999993, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -3709,14 +3881,15 @@
|
|||
- Type: GameManager
|
||||
Enabled: true
|
||||
winScene: 88928066
|
||||
loseScene: 91685359
|
||||
currGameState: 0
|
||||
totalItemCount: 0
|
||||
Score: 0
|
||||
timer: 200
|
||||
scoreText: 237
|
||||
scoreTextBG: 568
|
||||
timeText: 131278
|
||||
minusTimerText: 131211
|
||||
Results: 624
|
||||
multiplierText: 66055
|
||||
maxMultiplierDuration: 5
|
||||
maxMultiplierCombo: 10
|
||||
|
@ -3980,8 +4153,12 @@
|
|||
Rotation Speed: 0.805999994
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 56224060
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 42141152
|
||||
Color Tint: {x: 1, y: 1, z: 1, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0.0500000007, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -4010,8 +4187,12 @@
|
|||
Rotation Speed: 0.805999994
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 56224060
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 42141152
|
||||
Color Tint: {x: 1, y: 1, z: 1, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0.0500000007, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -5893,7 +6074,7 @@
|
|||
Enabled: true
|
||||
player: 2
|
||||
range: 5
|
||||
angle: 30
|
||||
angle: 45
|
||||
angleBetween: 0
|
||||
distance: 0
|
||||
heightLimit: 1
|
||||
|
@ -5911,6 +6092,7 @@
|
|||
- Type: SHADE_Scripting.Gameplay.AIBehaviour.AIRework.HomeOwnerAI
|
||||
Enabled: true
|
||||
idleDuration: 1
|
||||
caughtDuration: 2
|
||||
timeoutDuration: 2
|
||||
patrolPointParent: 166
|
||||
patrolSpeed: 1
|
||||
|
@ -15775,7 +15957,7 @@
|
|||
Half Extents: {x: 0.200000003, y: 0.200000003, z: 0.200000003}
|
||||
Friction: 0.400000006
|
||||
Bounciness: 0
|
||||
Density: 1
|
||||
Density: 2
|
||||
Position Offset: {x: 0, y: 0.100000001, z: 0}
|
||||
Rotation Offset: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
|
@ -15943,7 +16125,7 @@
|
|||
Half Extents: {x: 0.200000003, y: 0.200000003, z: 0.200000003}
|
||||
Friction: 0.400000006
|
||||
Bounciness: 0
|
||||
Density: 1
|
||||
Density: 2
|
||||
Position Offset: {x: 0, y: 0.100000001, z: 0}
|
||||
Rotation Offset: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
|
@ -16845,7 +17027,7 @@
|
|||
popInDuration: 0.5
|
||||
popOutDuration: 0.075000003
|
||||
stayDuration: 1
|
||||
rotationAmt: 1800
|
||||
rotationAmt: 360
|
||||
scaleAmtX: 538
|
||||
scaleAmtY: 377
|
||||
- EID: 551
|
||||
|
@ -16900,11 +17082,12 @@
|
|||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.PreviewLevel
|
||||
Enabled: true
|
||||
levelTransistion: 608
|
||||
endPoint1: [-3.5, 1.5, -4.5]
|
||||
endPoint2: [0, 2, 4.5]
|
||||
endPoint3: [1.14999998, 2.20000005, 2]
|
||||
playerCamera: 4
|
||||
gameplayCanvas: 199
|
||||
gameplayCanvas: 131271
|
||||
duration: 3
|
||||
- EID: 555
|
||||
Name: PreviewLevel1
|
||||
|
@ -16912,7 +17095,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -5, y: 1.5, z: -3}
|
||||
Translate: {x: -4.5, y: 1.5, z: -3.5}
|
||||
Rotate: {x: 0, y: -2.3561945, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
|
@ -17034,14 +17217,24 @@
|
|||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.GameTimer
|
||||
Enabled: true
|
||||
criticalTime: 30
|
||||
timer: 0
|
||||
- Type: SHADE_Scripting.UI.ScaleBounce
|
||||
Enabled: true
|
||||
minScale: 1
|
||||
maxScale: 1.20000005
|
||||
duration: 1
|
||||
isActive: false
|
||||
- EID: 520
|
||||
Name: Timer BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0.5, y: 0.300000012, z: 0.98999995}
|
||||
Translate: {x: 0, y: 0.300000012, z: 0.699999988}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 5, y: 2, z: 1}
|
||||
IsActive: true
|
||||
|
@ -17061,7 +17254,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -0.800000012, z: 0.100000001}
|
||||
Translate: {x: 0, y: -0.800000012, z: 0.600000024}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: false
|
||||
|
@ -17086,12 +17279,12 @@
|
|||
NumberOfChildren: 1
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -800, y: 250, z: 0.100000001}
|
||||
Translate: {x: -800, y: 200, z: 0.600000024}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 50, y: 50, z: 60}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: X2
|
||||
Text: X0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
|
@ -17104,16 +17297,15 @@
|
|||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.MultiplierTextFx
|
||||
Enabled: true
|
||||
maxSize: 1
|
||||
minSize: 0.300000012
|
||||
minAlpha: 0.300000012
|
||||
maxSize: 1.5
|
||||
minSize: 1
|
||||
- EID: 131593
|
||||
Name: Multiplier BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0.400000006, y: 0.400000006, z: 0.98999995}
|
||||
Translate: {x: 0.800000012, y: 0.400000006, z: 0.699999988}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 4.26499987, y: 2, z: 1}
|
||||
IsActive: true
|
||||
|
@ -17135,7 +17327,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -770, y: 425, z: 59.9999962}
|
||||
Translate: {x: -770, y: 425, z: 0.699999988}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 345.600006, y: 200, z: 60}
|
||||
IsActive: true
|
||||
|
@ -17148,7 +17340,12 @@
|
|||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.SingleScaleBounce
|
||||
Enabled: true
|
||||
durationUp: 0.150000006
|
||||
durationDown: 0.300000012
|
||||
scaleSize: 1.20000005
|
||||
- EID: 66150
|
||||
Name: ParticlesDeco
|
||||
IsActive: true
|
||||
|
@ -17180,8 +17377,12 @@
|
|||
Rotation Speed: 0
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.0187467411, y: 0.627120614, z: 0.709251106, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.899999976, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -17210,8 +17411,12 @@
|
|||
Rotation Speed: 0
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.0187467411, y: 0.627120614, z: 0.709251106, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: 0.100000001, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
|
@ -17240,19 +17445,23 @@
|
|||
Rotation Speed: 0
|
||||
Rotation Decay: 0
|
||||
Texture Asset ID: 0
|
||||
Custom Vertex Shader Asset ID: 0
|
||||
Custom Fragment Shader Asset ID: 0
|
||||
Custom Update Shader Asset ID: 0
|
||||
Color Tint: {x: 0.0187467411, y: 0.627120614, z: 0.709251106, w: 1}
|
||||
Color Tint Range: {x: 0, y: 0, z: 0, w: 0}
|
||||
Color Decay: {x: 0, y: 0, z: 0, w: 0}
|
||||
Acceleration: {x: 0, y: -0.100000001, z: 0}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 627
|
||||
Name: AttackHitbox
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
NumberOfChildren: 1
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -0.10252738, z: -2.20271254}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Translate: {x: 0, y: -0.10252738, z: -2.20000005}
|
||||
Rotate: {x: -0, y: 0, z: -0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Collider Component:
|
||||
|
@ -17270,4 +17479,239 @@
|
|||
Scripts:
|
||||
- Type: SHADE_Scripting.Gameplay.AIBehaviour.AIRework.HomeOwnerAttackHitbox
|
||||
Enabled: true
|
||||
aiGO: 158
|
||||
aiGO: 158
|
||||
raccoonFound: false
|
||||
- EID: 609
|
||||
Name: NetPosition
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 624
|
||||
Name: Result Canvas
|
||||
IsActive: false
|
||||
NumberOfChildren: 6
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: false
|
||||
Scripts:
|
||||
- Type: Results
|
||||
Enabled: true
|
||||
score: 621
|
||||
timeLeft: 620
|
||||
maxCombo: 612
|
||||
finalScore: 610
|
||||
contiuneBtn: 623
|
||||
levelTransition: 608
|
||||
nextScene: 88928066
|
||||
scoreTweenDur: 2
|
||||
- EID: 623
|
||||
Name: Contiune_BTN
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 300, y: -400, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 344, y: 166, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 129340704
|
||||
IsActive: true
|
||||
Button Component:
|
||||
Default Texture: 59330417
|
||||
Hovered Texture: 55195346
|
||||
Clicked Texture: 56163414
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 624
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.ButtonFX
|
||||
Enabled: true
|
||||
onHoverEnterSound: event:/UI/botton_hover
|
||||
onHoverExitSound: Empty
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
hoverScale: 1.10000002
|
||||
clickScale: 0.899999976
|
||||
- EID: 622
|
||||
Name: Result_BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.5}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1024, y: 1024, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 130179375
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 624
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 621
|
||||
Name: Score_text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 50, y: 175, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: 0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 80, y: 80, z: 80}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 624
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 620
|
||||
Name: TimeLeft_Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 50, y: 45, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: 0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 80, y: 80, z: 80}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 624
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 612
|
||||
Name: MaxCombo_Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 50, y: -80, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: 0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 80, y: 80, z: 80}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 624
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 610
|
||||
Name: FinalScore_Text
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -285, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1, y: 1, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: 0
|
||||
Font: 174412429
|
||||
Color: {x: 1, y: 1, z: 1, w: 1}
|
||||
Text Size: {x: 160, y: 160, z: 160}
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 624
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 608
|
||||
Name: LevelTransistionCanvas
|
||||
IsActive: true
|
||||
NumberOfChildren: 2
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: LevelTransistion
|
||||
Enabled: true
|
||||
logo: 607
|
||||
bg: 606
|
||||
duration: 0.5
|
||||
bgEndPositionX: 3000
|
||||
logoEndPositionX: 3000
|
||||
rotAndScale: false
|
||||
rotationAmt: 360
|
||||
scaleAmt: 631
|
||||
- EID: 607
|
||||
Name: LevelTransistionLogo
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 631, y: 631, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 126117259
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 608
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 606
|
||||
Name: LevelTransistionBG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.200000003}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 4000, y: 4000, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 132131066
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 608
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
File diff suppressed because it is too large
Load Diff
|
@ -38,7 +38,7 @@
|
|||
Transform Component:
|
||||
Translate: {x: 0, y: 100, z: 0.300000012}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 600, y: 600, z: 1.18585491}
|
||||
Scale: {x: 631.577454, y: 631.577454, z: 1.24826539}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
|
@ -55,6 +55,7 @@
|
|||
minScale: 1
|
||||
maxScale: 1.20000005
|
||||
duration: 1.5
|
||||
isActive: true
|
||||
- EID: 54
|
||||
Name: Main Menu Button Group
|
||||
IsActive: true
|
||||
|
@ -258,7 +259,7 @@
|
|||
Transform Component:
|
||||
Translate: {x: 450, y: 0, z: 0.400000006}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 400, y: 100, z: 1}
|
||||
Scale: {x: 389.627228, y: 97.4068069, z: 0.974068105}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
|
@ -749,16 +750,16 @@
|
|||
- EID: 29
|
||||
Name: Master Volume Slider
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
NumberOfChildren: 1
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1000, y: 75, z: 1}
|
||||
Scale: {x: 1004, y: 46, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 128676209
|
||||
Material: 127128823
|
||||
IsActive: true
|
||||
Slider Component:
|
||||
Slider Value: 1
|
||||
|
@ -770,20 +771,44 @@
|
|||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.SliderFX
|
||||
Enabled: true
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
- EID: 437
|
||||
Name: Slider BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1.01992035, y: 1.39130437, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 117587364
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 19
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 30
|
||||
Name: SFX Volume Slider
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
NumberOfChildren: 1
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -100, z: 0}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1000, y: 75, z: 1}
|
||||
Scale: {x: 1004, y: 46, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 128676209
|
||||
Material: 122820018
|
||||
IsActive: true
|
||||
Slider Component:
|
||||
Slider Value: 1
|
||||
|
@ -795,20 +820,44 @@
|
|||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 31
|
||||
Name: BGM Volume Slider
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.SliderFX
|
||||
Enabled: true
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
- EID: 436
|
||||
Name: Slider BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -200, z: 0}
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1000, y: 75, z: 1}
|
||||
Scale: {x: 1.01992035, y: 1.39130437, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 128676209
|
||||
Material: 117587364
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 19
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 31
|
||||
Name: BGM Volume Slider
|
||||
IsActive: true
|
||||
NumberOfChildren: 1
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: -200, z: 0}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1004, y: 46, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 129354037
|
||||
IsActive: true
|
||||
Slider Component:
|
||||
Slider Value: 1
|
||||
|
@ -820,6 +869,30 @@
|
|||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.SliderFX
|
||||
Enabled: true
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
- EID: 435
|
||||
Name: Slider BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1.01992035, y: 1.39130437, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 117587364
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 19
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 32
|
||||
Name: Camera Title Text
|
||||
|
@ -944,19 +1017,19 @@
|
|||
- EID: 37
|
||||
Name: FOV Slider
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
NumberOfChildren: 1
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1000, y: 75, z: 1}
|
||||
Scale: {x: 1004, y: 46, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 128676209
|
||||
Material: 117651669
|
||||
IsActive: true
|
||||
Slider Component:
|
||||
Slider Value: 1
|
||||
Slider Value: 0.889483869
|
||||
Min Value: 30
|
||||
Max Value: 120
|
||||
IsActive: true
|
||||
|
@ -965,6 +1038,30 @@
|
|||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.SliderFX
|
||||
Enabled: true
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
- EID: 434
|
||||
Name: Slider BG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 1.01992035, y: 1.39130437, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 117587364
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 19
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 448
|
||||
Name: Invert X Toggle Button
|
||||
|
@ -995,6 +1092,14 @@
|
|||
Enabled: true
|
||||
inverseX: true
|
||||
inverseY: false
|
||||
- Type: SHADE_Scripting.UI.ButtonFX
|
||||
Enabled: true
|
||||
onHoverEnterSound: event:/UI/botton_hover
|
||||
onHoverExitSound: Empty
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
hoverScale: 1.25
|
||||
clickScale: 0.899999976
|
||||
- EID: 445
|
||||
Name: Invert Y Toggle Button
|
||||
IsActive: true
|
||||
|
@ -1024,6 +1129,14 @@
|
|||
Enabled: true
|
||||
inverseX: false
|
||||
inverseY: true
|
||||
- Type: SHADE_Scripting.UI.ButtonFX
|
||||
Enabled: true
|
||||
onHoverEnterSound: event:/UI/botton_hover
|
||||
onHoverExitSound: Empty
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
hoverScale: 1.25
|
||||
clickScale: 0.899999976
|
||||
- EID: 39
|
||||
Name: Audio Slider Text Group
|
||||
IsActive: true
|
||||
|
@ -1142,7 +1255,7 @@
|
|||
Scale: {x: 75, y: 75, z: 1}
|
||||
IsActive: true
|
||||
Text Renderer Component:
|
||||
Text: 100
|
||||
Text: 60
|
||||
Font: 174412429
|
||||
Color: {x: 0, y: 0, z: 0, w: 1}
|
||||
Text Size: {x: 1, y: 1, z: 1}
|
||||
|
@ -1328,7 +1441,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -800, y: 450, z: 0}
|
||||
Translate: {x: -800, y: 450, z: 0.300000012}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 273, y: 100, z: 1}
|
||||
IsActive: true
|
||||
|
@ -1364,7 +1477,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -250, y: 400, z: 0.100000001}
|
||||
Translate: {x: -250, y: 400, z: 0.300000012}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 100, y: 100, z: 1}
|
||||
IsActive: true
|
||||
|
@ -1424,7 +1537,7 @@
|
|||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -600, y: 0, z: 0}
|
||||
Translate: {x: -600, y: 0, z: 0.300000012}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 345, y: 800, z: 1}
|
||||
IsActive: true
|
||||
|
@ -1446,13 +1559,22 @@
|
|||
- Type: ChangeSceneButton
|
||||
Enabled: true
|
||||
sceneID: 91947920
|
||||
levelTransistion: 433
|
||||
- Type: SHADE_Scripting.UI.ButtonFX
|
||||
Enabled: true
|
||||
onHoverEnterSound: event:/UI/botton_hover
|
||||
onHoverExitSound: Empty
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
hoverScale: 1.10000002
|
||||
clickScale: 0.899999976
|
||||
- EID: 439
|
||||
Name: Level 2 Button
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0}
|
||||
Translate: {x: 0, y: 0, z: 0.300000012}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 345, y: 800, z: 1}
|
||||
IsActive: true
|
||||
|
@ -1474,13 +1596,22 @@
|
|||
- Type: ChangeSceneButton
|
||||
Enabled: true
|
||||
sceneID: 86098106
|
||||
levelTransistion: 433
|
||||
- Type: SHADE_Scripting.UI.ButtonFX
|
||||
Enabled: true
|
||||
onHoverEnterSound: event:/UI/botton_hover
|
||||
onHoverExitSound: Empty
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
hoverScale: 1.10000002
|
||||
clickScale: 0.899999976
|
||||
- EID: 438
|
||||
Name: Level 3 Button
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 600, y: 0, z: 0}
|
||||
Translate: {x: 600, y: 0, z: 0.300000012}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 345, y: 800, z: 1}
|
||||
IsActive: true
|
||||
|
@ -1502,6 +1633,15 @@
|
|||
- Type: ChangeSceneButton
|
||||
Enabled: true
|
||||
sceneID: 88928066
|
||||
levelTransistion: 433
|
||||
- Type: SHADE_Scripting.UI.ButtonFX
|
||||
Enabled: true
|
||||
onHoverEnterSound: event:/UI/botton_hover
|
||||
onHoverExitSound: Empty
|
||||
onClickSound: event:/UI/button_success
|
||||
onReleaseSound: event:/UI/button_fail
|
||||
hoverScale: 1.10000002
|
||||
clickScale: 0.899999976
|
||||
- EID: 450
|
||||
Name: TransitionCanvas
|
||||
IsActive: true
|
||||
|
@ -1535,6 +1675,67 @@
|
|||
Scripts:
|
||||
- Type: SHADE_Scripting.UI.SceneFadeInOut
|
||||
Enabled: true
|
||||
alphaValue: 1
|
||||
alphaValue: 0
|
||||
fadeInTime: 0.5
|
||||
fadeOutTime: 0.5
|
||||
fadeOutTime: 0.5
|
||||
- EID: 433
|
||||
Name: LevelTransistionCanvas
|
||||
IsActive: false
|
||||
NumberOfChildren: 2
|
||||
Components:
|
||||
Canvas Component:
|
||||
Canvas Width: 1920
|
||||
Canvas Height: 1080
|
||||
Scale by canvas width: false
|
||||
IsActive: false
|
||||
Scripts:
|
||||
- Type: LevelTransistion
|
||||
Enabled: true
|
||||
logo: 431
|
||||
bg: 432
|
||||
duration: 0.800000012
|
||||
bgEndPositionX: 0
|
||||
logoEndPositionX: 0
|
||||
rotAndScale: true
|
||||
rotationAmt: 360
|
||||
scaleAmt: 631
|
||||
- EID: 431
|
||||
Name: LevelTransistionLogo
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: 0, y: 0, z: 0.100000001}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 0, y: 0, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 126117259
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 433
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
||||
- EID: 432
|
||||
Name: LevelTransistionBG
|
||||
IsActive: true
|
||||
NumberOfChildren: 0
|
||||
Components:
|
||||
Transform Component:
|
||||
Translate: {x: -2500, y: 0, z: 0.200000003}
|
||||
Rotate: {x: 0, y: 0, z: 0}
|
||||
Scale: {x: 4000, y: 4000, z: 1}
|
||||
IsActive: true
|
||||
Renderable Component:
|
||||
Mesh: 141771688
|
||||
Material: 132131066
|
||||
IsActive: true
|
||||
UI Component:
|
||||
Canvas ID: 433
|
||||
Hovered: false
|
||||
Clicked: false
|
||||
IsActive: true
|
||||
Scripts: ~
|
|
@ -10,6 +10,7 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework
|
|||
public class HomeOwnerAI : Script
|
||||
{
|
||||
public float idleDuration = 1.0f;
|
||||
public float caughtDuration = 2.0f;
|
||||
public float timeoutDuration = 2.0f;
|
||||
public GameObject patrolPointParent;
|
||||
|
||||
|
@ -31,6 +32,9 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework
|
|||
public AnimationClipAsset atkHoldAnim;
|
||||
public AnimationClipAsset atkSeqAnim;
|
||||
|
||||
|
||||
|
||||
|
||||
private Vector3 startPos;
|
||||
public bool atk { get; set; }
|
||||
|
||||
|
@ -41,6 +45,9 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework
|
|||
|
||||
private Transform transform;
|
||||
|
||||
[NonSerialized]
|
||||
public HomeOwnerAttackHitbox hitboxScript;
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
StateMachine machine = GetScript<StateMachine>();
|
||||
|
@ -65,13 +72,21 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework
|
|||
dictionary.Add(typeof(ChaseState), new ChaseState(machine));
|
||||
dictionary.Add(typeof(AlertState), new AlertState(machine));
|
||||
dictionary.Add(typeof(AttackState), new AttackState(machine));
|
||||
dictionary.Add(typeof(CaughtRaccoonState), new CaughtRaccoonState(machine));
|
||||
|
||||
machine.InitStateMachine(dictionary);
|
||||
}
|
||||
|
||||
AudioHandler.audioClipHandlers["HO_footsteps"] = SHADE.Audio.CreateAudioClip("event:/Homeowner/homeowner_footsteps");
|
||||
SHADE.Audio.AttachAudioClipToObject(AudioHandler.audioClipHandlers["HO_footsteps"], GameObject.EntityId);
|
||||
|
||||
patrolPointPool = patrolPointParent.GetComponentsInChildren<Transform>();
|
||||
AudioHandler.audioClipHandlers["HO_bark"] = SHADE.Audio.CreateAudioClip("event:/Homeowner/homeowner_bark");
|
||||
SHADE.Audio.AttachAudioClipToObject(AudioHandler.audioClipHandlers["HO_bark"], GameObject.EntityId);
|
||||
|
||||
AudioHandler.audioClipHandlers["HO_humming"] = SHADE.Audio.CreateAudioClip("event:/Homeowner/homeowner_humming");
|
||||
SHADE.Audio.AttachAudioClipToObject(AudioHandler.audioClipHandlers["HO_humming"], GameObject.EntityId);
|
||||
|
||||
patrolPointPool = patrolPointParent.GetComponentsInChildren<Transform>();
|
||||
pppList = patrolPointPool.ToList<Transform>();
|
||||
transform = GetComponent<Transform>();
|
||||
|
||||
|
@ -84,6 +99,11 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework
|
|||
//attackHitbox.SetActive(false);
|
||||
if (pppList != null)
|
||||
startPos = pppList[0].LocalPosition;
|
||||
|
||||
if (attackHitbox)
|
||||
hitboxScript = attackHitbox.GetScript<HomeOwnerAttackHitbox>();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -13,11 +13,12 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework
|
|||
{
|
||||
public GameObject aiGO;
|
||||
|
||||
private bool raccoonFound = false;
|
||||
public bool raccoonFound = false;
|
||||
Transform transform;
|
||||
Transform aiTransform;
|
||||
|
||||
private PlayerController pc;
|
||||
[NonSerialized]
|
||||
public PlayerController pc;
|
||||
private HomeOwnerAI ai;
|
||||
|
||||
protected override void start()
|
||||
|
@ -39,23 +40,23 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework
|
|||
|
||||
if (raccoonFound && pc && ai)
|
||||
{
|
||||
pc.currentState = RaccoonStates.CAUGHT;
|
||||
if (pc.stateMachine && !pc.stateMachine.IsState(typeof(PlayerCaughtState)))
|
||||
pc.stateMachine.SetState(typeof(PlayerCaughtState));
|
||||
if (!ai.atk)
|
||||
raccoonFound = false;
|
||||
|
||||
pc.GotCaught();
|
||||
ai.Reset();
|
||||
raccoonFound = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
protected override void onTriggerStay(CollisionInfo info)
|
||||
{
|
||||
pc = info.GameObject.GetScript<PlayerController>();
|
||||
if (ai && ai.atk && pc)
|
||||
{
|
||||
raccoonFound = true;
|
||||
if (info.GameObject.GetScript<PlayerController>())
|
||||
{
|
||||
pc = info.GameObject.GetScript<PlayerController>();
|
||||
if (ai && ai.atk && pc)
|
||||
{
|
||||
raccoonFound = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -37,23 +37,23 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework
|
|||
{
|
||||
lookOffset = 0.0f;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(left )
|
||||
{
|
||||
if (lookOffset > -lookAroundAngle)
|
||||
lookOffset -= rotationPerSecond * Time.DeltaTimeF;
|
||||
else
|
||||
left = false;
|
||||
}
|
||||
if (!left)
|
||||
{
|
||||
if (lookOffset < lookAroundAngle)
|
||||
lookOffset += rotationPerSecond * Time.DeltaTimeF;
|
||||
else
|
||||
left = false;
|
||||
}
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// if(left )
|
||||
// {
|
||||
// if (lookOffset > -lookAroundAngle)
|
||||
// lookOffset -= rotationPerSecond * Time.DeltaTimeF;
|
||||
// else
|
||||
// left = false;
|
||||
// }
|
||||
// if (!left)
|
||||
// {
|
||||
// if (lookOffset < lookAroundAngle)
|
||||
// lookOffset += rotationPerSecond * Time.DeltaTimeF;
|
||||
// else
|
||||
// left = false;
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
|
||||
|
@ -75,7 +75,7 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework
|
|||
if(vel.GetMagnitude() > 0.01f)
|
||||
{
|
||||
Quaternion currentRotation = transform.LocalRotation;
|
||||
Quaternion targetRotation = Quaternion.Euler(0.0f, MathF.Atan2(vel.x, vel.z) + lookOffset, 0.0f);
|
||||
Quaternion targetRotation = Quaternion.Euler(0.0f, MathF.Atan2(vel.x, vel.z) + lookOffset, 0.0f);
|
||||
transform.LocalRotation = Quaternion.Slerp(currentRotation, targetRotation, rotationPerSecond * (float)Time.DeltaTimeF);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,12 +12,12 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
{
|
||||
const float alertDuration = 16.0f / 30.0f + 1.0f;
|
||||
float alertTimer = alertDuration;
|
||||
|
||||
bool firstDetection;
|
||||
public AlertState(StateMachine machine) : base(machine)
|
||||
{
|
||||
stateName = "Alert";
|
||||
AudioHandler.audioClipHandlers["raccoondetected"] = SHADE.Audio.CreateAudioClip("event:/Raccoon/raccoon_detected");
|
||||
|
||||
firstDetection = true;
|
||||
}
|
||||
|
||||
public override void OnEnter()
|
||||
|
@ -28,9 +28,33 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
animator.PlayOneShot(ai.alertAnim);
|
||||
|
||||
}
|
||||
|
||||
if(firstDetection)
|
||||
{
|
||||
SHADE.Audio.SetParameterWithLabel("HomeownerBark", "DetectFirst");
|
||||
AudioHandler.audioClipHandlers["HO_bark"].Play();
|
||||
firstDetection = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
PlayerController pc = ai.player.GetScript<PlayerController>();
|
||||
|
||||
if (pc && pc.holdItem)
|
||||
{
|
||||
SHADE.Audio.SetParameterWithLabel("HomeownerBark", "DetectFood");
|
||||
AudioHandler.audioClipHandlers["HO_bark"].Play();
|
||||
}
|
||||
else
|
||||
{
|
||||
SHADE.Audio.SetParameterWithLabel("HomeownerBark", "DetectAgain");
|
||||
AudioHandler.audioClipHandlers["HO_bark"].Play();
|
||||
}
|
||||
|
||||
}
|
||||
SHADE.Audio.SetParameterWithLabel("PlayerDetection", "Detected");
|
||||
AudioHandler.audioClipHandlers["raccoondetected"].Play();
|
||||
}
|
||||
|
||||
}
|
||||
public override void OnExit()
|
||||
{
|
||||
animator.Stop();
|
||||
|
|
|
@ -23,10 +23,12 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
bool seq = false;
|
||||
bool end = false;
|
||||
|
||||
bool raccoonCaught = true;
|
||||
|
||||
|
||||
public AttackState(StateMachine machine) : base(machine)
|
||||
{
|
||||
|
||||
stateName = "Attack";
|
||||
}
|
||||
|
||||
|
||||
|
@ -40,6 +42,8 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
end = false;
|
||||
timer = windupTime;
|
||||
|
||||
raccoonCaught = false;
|
||||
|
||||
RotateToVelocity rotate = machine.GetScript<RotateToVelocity>();
|
||||
if (rotate)
|
||||
rotate.active = false;
|
||||
|
@ -68,7 +72,7 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
|
||||
public override void OnExit()
|
||||
{
|
||||
animator.Stop();
|
||||
|
||||
RotateToVelocity rotate = ai.GetScript<RotateToVelocity>();
|
||||
if (rotate)
|
||||
{
|
||||
|
@ -84,7 +88,21 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
|
||||
public override void update()
|
||||
{
|
||||
timer -= Time.DeltaTimeF;
|
||||
if (ai.hitboxScript.raccoonFound && machine.GetScript<HomeOwnerAI>().atk)
|
||||
{
|
||||
raccoonCaught = true;
|
||||
Transform pcTransform = ai.player.GetComponent<Transform>();
|
||||
ai.player.GetScript<PlayerController>().Caught();
|
||||
Transform netTransform = ai.attackHitbox.GetComponentInChildren<Transform>();
|
||||
if (pcTransform && netTransform)
|
||||
{
|
||||
pcTransform.GlobalPosition = netTransform.GlobalPosition;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
timer -= Time.DeltaTimeF;
|
||||
if (windUp)
|
||||
{
|
||||
if (timer <= 0.0f)
|
||||
|
@ -110,7 +128,7 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
else if (seq)
|
||||
{
|
||||
|
||||
if (timer <= 1.0f / 30.0f)
|
||||
if (timer <= seqTime * 0.5f)
|
||||
{
|
||||
//ai.attackHitbox.SetActive(true);
|
||||
machine.GetScript<HomeOwnerAI>().atk = true;
|
||||
|
@ -131,19 +149,32 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
if (timer <= 0.0f)
|
||||
{
|
||||
end = false;
|
||||
AILineOfSight los = ai.GetScript<AILineOfSight>();
|
||||
if (los && los.withinSight)
|
||||
|
||||
if(raccoonCaught)
|
||||
{
|
||||
machine.SetState(typeof(ChaseState));
|
||||
machine.SetState(typeof(CaughtRaccoonState));
|
||||
}
|
||||
else
|
||||
{
|
||||
machine.SetState(typeof(TimeoutState));
|
||||
}
|
||||
AILineOfSight los = ai.GetScript<AILineOfSight>();
|
||||
if (los && los.withinSight)
|
||||
{
|
||||
machine.SetState(typeof(ChaseState));
|
||||
}
|
||||
else
|
||||
{
|
||||
machine.SetState(typeof(TimeoutState));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void fixedUpdate()
|
||||
|
|
|
@ -0,0 +1,72 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SHADE;
|
||||
using static PlayerController;
|
||||
|
||||
namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
||||
{
|
||||
public class CaughtRaccoonState: AIBaseState
|
||||
{
|
||||
|
||||
private float timer = 0.0f;
|
||||
private PlayerController pc;
|
||||
|
||||
public CaughtRaccoonState(StateMachine machine):base(machine)
|
||||
{
|
||||
stateName = "Caught Raccoon";
|
||||
}
|
||||
|
||||
public override void OnEnter()
|
||||
{
|
||||
if(ai.hitboxScript)
|
||||
pc = ai.hitboxScript.pc;
|
||||
|
||||
timer = ai.caughtDuration;
|
||||
if (pc)
|
||||
pc.Caught();
|
||||
}
|
||||
|
||||
|
||||
public override void OnExit()
|
||||
{
|
||||
animator.Stop();
|
||||
}
|
||||
|
||||
public override void update()
|
||||
{
|
||||
timer -= Time.DeltaTimeF;
|
||||
if(timer <= 0.0f)
|
||||
{
|
||||
if (pc)
|
||||
{
|
||||
|
||||
pc.Reset();
|
||||
}
|
||||
ai.Reset();
|
||||
}
|
||||
else
|
||||
{
|
||||
Transform pcTransform = pc.GetComponent<Transform>();
|
||||
Transform netTransform = ai.attackHitbox.GetComponentInChildren<Transform>();
|
||||
if (pcTransform && netTransform)
|
||||
{
|
||||
pcTransform.GlobalPosition = netTransform.GlobalPosition;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void fixedUpdate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
Name: CaughtRaccoonState
|
||||
ID: 153010954
|
||||
Type: 9
|
|
@ -14,7 +14,7 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
|
||||
float giveUpDuration = 10.0f;
|
||||
float giveUpTimer = 0.0f;
|
||||
float atkDistance = 2.0f;
|
||||
float atkDistance = 1.0f;
|
||||
|
||||
|
||||
bool run = true;
|
||||
|
@ -22,10 +22,16 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
float footStepInterval = 12.0f / 30.0f;
|
||||
float footStepTimer = 0.0f;
|
||||
|
||||
float barkTimer = 0.0f;
|
||||
|
||||
Random rand;
|
||||
|
||||
|
||||
|
||||
public ChaseState(StateMachine machine): base(machine)
|
||||
{
|
||||
stateName = "Chase";
|
||||
rand = new Random();
|
||||
}
|
||||
|
||||
public override void OnEnter()
|
||||
|
@ -42,6 +48,9 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
|
||||
|
||||
footStepTimer = footStepInterval * 0.5f;
|
||||
|
||||
|
||||
barkTimer = (float)rand.Next(0, 2) + (float)rand.NextDouble();
|
||||
}
|
||||
|
||||
public override void OnExit()
|
||||
|
@ -57,11 +66,25 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
{
|
||||
rotate.lookAround = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void update()
|
||||
{
|
||||
Navigation nav = machine.GetComponent<Navigation>();
|
||||
barkTimer -= Time.DeltaTimeF;
|
||||
if(barkTimer <= 0.0f)
|
||||
{
|
||||
barkTimer = (float)rand.Next(4, 6) + (float)rand.NextDouble();
|
||||
|
||||
SHADE.Audio.SetParameterWithLabel("HomeownerBark", "Chase");
|
||||
AudioHandler.audioClipHandlers["HO_bark"].Play();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Navigation nav = machine.GetComponent<Navigation>();
|
||||
AILineOfSight los = ai.GetScript<AILineOfSight>();
|
||||
RigidBody rigid = machine.GetComponent<RigidBody>();
|
||||
if (los && nav)
|
||||
|
|
|
@ -50,6 +50,7 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
|
||||
animator.Play(ai.walkingAnim);
|
||||
AudioHandler.audioClipHandlers["HO_footsteps"].Play();
|
||||
AudioHandler.audioClipHandlers["HO_humming"].Play();
|
||||
footStepTimer = footStepInterval;
|
||||
|
||||
|
||||
|
@ -64,7 +65,8 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
public override void OnExit()
|
||||
{
|
||||
animator.Stop();
|
||||
}
|
||||
AudioHandler.audioClipHandlers["HO_humming"].Stop(false);
|
||||
}
|
||||
|
||||
public override void update()
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SHADE;
|
||||
using SHADE_Scripting.Audio;
|
||||
|
||||
namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
||||
{
|
||||
|
@ -23,7 +24,10 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
|
|||
timer = 0.0f;
|
||||
animator.Play(ai.idleAnim);
|
||||
|
||||
}
|
||||
SHADE.Audio.SetParameterWithLabel("HomeownerBark", "DetectLost");
|
||||
AudioHandler.audioClipHandlers["HO_bark"].Play();
|
||||
|
||||
}
|
||||
|
||||
public override void update()
|
||||
{
|
||||
|
|
|
@ -22,7 +22,10 @@ public class PlayerController : Script
|
|||
public Transform tranform { get; set; }
|
||||
public Camera cam { get; set; }
|
||||
public CameraArm camArm { get; set; }
|
||||
private PickAndThrow pat;
|
||||
public Collider collider { get; set; }
|
||||
|
||||
[NonSerialized]
|
||||
public PickAndThrow pat;
|
||||
public StateMachine stateMachine { get; set; }
|
||||
public ParticleEmitter Leftsmoke { get; set; }
|
||||
public ParticleEmitter Rightsmoke { get; set; }
|
||||
|
@ -122,6 +125,10 @@ public class PlayerController : Script
|
|||
if(!tranform)
|
||||
Debug.LogError("tranform is MISSING!");
|
||||
|
||||
collider = GetComponent<Collider>();
|
||||
if (!collider)
|
||||
Debug.LogError("collider is MISSING!");
|
||||
|
||||
stateMachine = AddScript<StateMachine>();
|
||||
Dictionary<Type, BaseState> dictionary = new Dictionary<Type, BaseState>();
|
||||
dictionary.Add(typeof(PlayerIdleState), new PlayerIdleState(stateMachine));
|
||||
|
@ -227,7 +234,7 @@ public class PlayerController : Script
|
|||
}
|
||||
}
|
||||
|
||||
GotCaught();
|
||||
|
||||
Rotation();
|
||||
MoveKey();
|
||||
Sprint();
|
||||
|
@ -254,6 +261,10 @@ public class PlayerController : Script
|
|||
|
||||
private void MoveKey()
|
||||
{
|
||||
|
||||
if (currentState == RaccoonStates.CAUGHT)
|
||||
return;
|
||||
|
||||
axisMove = Vector2.Zero;
|
||||
if (Input.GetKey(Input.KeyCode.W))
|
||||
{
|
||||
|
@ -290,7 +301,7 @@ public class PlayerController : Script
|
|||
axisMove.Normalise();
|
||||
isMoveKeyPress = axisMove.x != 0 || axisMove.y != 0;
|
||||
|
||||
if (isMoveKeyPress && isGrounded && !Input.GetKey(Input.KeyCode.LeftShift))
|
||||
if (isMoveKeyPress && isGrounded && !Input.GetKey(Input.KeyCode.LeftShift) && currentState != RaccoonStates.CAUGHT)
|
||||
{
|
||||
currentState = RaccoonStates.WALKING;
|
||||
|
||||
|
@ -334,6 +345,9 @@ public class PlayerController : Script
|
|||
|
||||
private void Sprint()
|
||||
{
|
||||
if (currentState == RaccoonStates.CAUGHT)
|
||||
return;
|
||||
|
||||
if (Input.GetKey(Input.KeyCode.LeftShift) && isMoveKeyPress && isGrounded)
|
||||
{
|
||||
currentState = RaccoonStates.RUNNING;
|
||||
|
@ -426,10 +440,13 @@ public class PlayerController : Script
|
|||
}
|
||||
|
||||
if (!isGrounded && rb != null && (rb.LinearVelocity.y < 0.0f || Input.GetKeyUp(Input.KeyCode.Space)))
|
||||
{
|
||||
currentState = RaccoonStates.FALLING;
|
||||
if (stateMachine && !stateMachine.IsState(typeof(PlayerFallState)))
|
||||
stateMachine.SetState(typeof(PlayerFallState));
|
||||
{
|
||||
if (currentState != RaccoonStates.CAUGHT)
|
||||
{
|
||||
currentState = RaccoonStates.FALLING;
|
||||
if (stateMachine && !stateMachine.IsState(typeof(PlayerFallState)))
|
||||
stateMachine.SetState(typeof(PlayerFallState));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -454,6 +471,9 @@ public class PlayerController : Script
|
|||
|
||||
private void Gravity()
|
||||
{
|
||||
if (currentState == RaccoonStates.CAUGHT)
|
||||
return;
|
||||
|
||||
if (rb != null)
|
||||
{
|
||||
//check player vel.y if its close to zero its on the ground
|
||||
|
@ -505,36 +525,54 @@ public class PlayerController : Script
|
|||
}
|
||||
}
|
||||
|
||||
public void GotCaught()
|
||||
|
||||
public void Caught()
|
||||
{
|
||||
if (currentState == RaccoonStates.CAUGHT && tranform && respawnPoint)
|
||||
currentState = RaccoonStates.CAUGHT;
|
||||
if (stateMachine && !stateMachine.IsState(typeof(PlayerCaughtState)))
|
||||
stateMachine.SetState(typeof(PlayerCaughtState));
|
||||
|
||||
AudioHandler.audioClipHandlers["RaccoonCaught"].Play();
|
||||
if (pat && pat.item)
|
||||
{
|
||||
AudioHandler.audioClipHandlers["RaccoonCaught"].Play();
|
||||
if (holdItem)
|
||||
{
|
||||
holdItem = false;
|
||||
pat.item.GetScript<Item>().returnBack = true;
|
||||
pat.SetItemGravityBack();
|
||||
pat.ResetItemObject();
|
||||
}
|
||||
if (isAiming)
|
||||
{
|
||||
isAiming = false;
|
||||
cam.FOV = Settings.cameraFOV;
|
||||
camArm.TargetOffset = pat.prevTargetOffSet;
|
||||
camArm.ArmLength = pat.tpc.armLength;
|
||||
}
|
||||
}
|
||||
|
||||
landedOnJumpPad = false;
|
||||
jumpPadDrop = false;
|
||||
rb.ClearForces();
|
||||
rb.ClearTorque();
|
||||
rb.LinearVelocity = Vector3.Zero;
|
||||
rb.AngularVelocity = Vector3.Zero;
|
||||
collider.GetCollisionShape(0).IsTrigger = true;
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
if (tranform && respawnPoint)
|
||||
{
|
||||
|
||||
currentState = RaccoonStates.IDLE;
|
||||
if (stateMachine && !stateMachine.IsState(typeof(PlayerIdleState)))
|
||||
stateMachine.SetState(typeof(PlayerIdleState));
|
||||
|
||||
collider.GetCollisionShape(0).IsTrigger = false;
|
||||
tranform.GlobalPosition = respawnPoint.GetComponent<Transform>().GlobalPosition;
|
||||
|
||||
GameManager.Instance.RacoonCaught();
|
||||
|
||||
if (pat && pat.item)
|
||||
{
|
||||
if (holdItem)
|
||||
{
|
||||
holdItem = false;
|
||||
pat.item.GetScript<Item>().returnBack = true;
|
||||
pat.SetItemGravityBack();
|
||||
pat.ResetItemObject();
|
||||
}
|
||||
if (isAiming)
|
||||
{
|
||||
isAiming = false;
|
||||
cam.FOV = Settings.cameraFOV;
|
||||
camArm.TargetOffset = pat.prevTargetOffSet;
|
||||
camArm.ArmLength = pat.tpc.armLength;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
using SHADE;
|
||||
using SHADE_Scripting.Audio;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
public class DecorationAudio : Script
|
||||
{
|
||||
public string name = "REPLACETHIS";
|
||||
public string audio = "event:/UI/botton_hover";
|
||||
public bool loop = true;
|
||||
public float timeDruation = 0.5f;
|
||||
private float timer = 0.0f;
|
||||
|
||||
protected override void awake()
|
||||
{
|
||||
if (audio != "Empty")
|
||||
{
|
||||
AudioHandler.audioClipHandlers[name] = Audio.CreateAudioClip(audio);
|
||||
Audio.AttachAudioClipToObject(AudioHandler.audioClipHandlers[name], GameObject.EntityId);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
if (loop)
|
||||
AudioHandler.audioClipHandlers[name].Play();
|
||||
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
if (!loop)
|
||||
{
|
||||
timer += Time.DeltaTimeF;
|
||||
if (timer > timeDruation)
|
||||
{
|
||||
timer = 0.0f;
|
||||
AudioHandler.audioClipHandlers[name].Play();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Name: SC_DecorationAudio
|
||||
ID: 166447267
|
||||
Type: 9
|
|
@ -10,12 +10,10 @@ public class GameManager : Script
|
|||
public enum GameState
|
||||
{
|
||||
START,
|
||||
WIN,
|
||||
LOSE
|
||||
OVER
|
||||
}
|
||||
|
||||
public uint winScene = 92009475;
|
||||
public uint loseScene = 91685359;
|
||||
|
||||
[NonSerialized]
|
||||
public GameState currGameState;
|
||||
|
@ -27,9 +25,16 @@ public class GameManager : Script
|
|||
public float timer;
|
||||
|
||||
public GameObject scoreText;
|
||||
public GameObject scoreTextBG;
|
||||
public GameObject timeText;
|
||||
public GameObject minusTimerText;
|
||||
|
||||
public GameObject Results;
|
||||
public int MaxComboAccquired { get; set; }
|
||||
public int finalTime { get; set; }
|
||||
public int finalScore { get; set; }
|
||||
|
||||
|
||||
//mulitpler info
|
||||
public GameObject multiplierText;
|
||||
public float maxMultiplierDuration = 5.0f;
|
||||
|
@ -48,8 +53,7 @@ public class GameManager : Script
|
|||
public bool itemShatter { get; set; }
|
||||
|
||||
//For scene transitions
|
||||
private bool goingToWin;
|
||||
private bool goingToLose;
|
||||
private bool waitForTransition;
|
||||
|
||||
private bool playSpeedUp = false;
|
||||
|
||||
|
@ -64,7 +68,7 @@ public class GameManager : Script
|
|||
Score = 0;
|
||||
currGameState = GameState.START;
|
||||
itemScored = false;
|
||||
currMultiplierCombo = 1;
|
||||
currMultiplierCombo = 0;
|
||||
currMultiplierDuration = 0;
|
||||
itemShatter = false;
|
||||
GamePause = false;
|
||||
|
@ -79,8 +83,7 @@ public class GameManager : Script
|
|||
loseAudio.DestroyOnSceneExit = false;
|
||||
AudioHandler.audioClipHandlers["BGMLose"] = loseAudio;
|
||||
|
||||
goingToWin = false;
|
||||
goingToLose = false;
|
||||
waitForTransition = false;
|
||||
|
||||
if (scoreText)
|
||||
scoreText.GetComponent<TextRenderable>().Text = $"{Score}";
|
||||
|
@ -106,16 +109,11 @@ public class GameManager : Script
|
|||
AudioHandler.audioClipHandlers["KitchenAmbience"] = Audio.CreateAudioClip("event:/Ambience/roomtone_kitchen");
|
||||
AudioHandler.audioClipHandlers["KitchenAmbience"].Play();
|
||||
|
||||
if (SceneFadeInOut.Instance != null)
|
||||
SceneFadeInOut.Instance.CallFadeOut();
|
||||
|
||||
GamePause = false;
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
|
||||
|
||||
if (GamePause || !stealFoodPopUpDone)
|
||||
{
|
||||
return;
|
||||
|
@ -124,7 +122,7 @@ public class GameManager : Script
|
|||
Cheat();
|
||||
|
||||
if (currGameState == GameState.START)
|
||||
{
|
||||
{
|
||||
timer -= Time.DeltaTimeF;
|
||||
|
||||
if (timer < 30.0f && !playSpeedUp)
|
||||
|
@ -133,102 +131,71 @@ public class GameManager : Script
|
|||
playSpeedUp = true;
|
||||
}
|
||||
|
||||
if(scoreText)
|
||||
if (scoreText)
|
||||
scoreText.GetComponent<TextRenderable>().Text = $"{Score}";
|
||||
if(timeText)
|
||||
timeText.GetComponent<TextRenderable>().Text = $"{timer.ToString("0.00")}";
|
||||
if (timeText)
|
||||
timeText.GetComponent<TextRenderable>().Text = $"{timer.ToString("0")}";
|
||||
|
||||
if (itemScored)
|
||||
{
|
||||
currMultiplierDuration += Time.DeltaTimeF;
|
||||
|
||||
if (currMultiplierDuration >= maxMultiplierDuration)
|
||||
{
|
||||
{
|
||||
itemScored = false;
|
||||
currMultiplierCombo = 1;
|
||||
currMultiplierCombo = 0;
|
||||
currMultiplierDuration = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!goingToLose && ((timer > 0 && totalItemCount <= 0 && !itemShatter)))
|
||||
if (timer <= 0 || (totalItemCount <= 0 && !itemShatter))
|
||||
{
|
||||
currGameState = GameState.WIN;
|
||||
AudioHandler.StopAllSounds(false);
|
||||
AudioHandler.audioClipHandlers["BGMWin"].Play();
|
||||
goingToWin = true;
|
||||
if (SceneFadeInOut.Instance != null)
|
||||
SceneFadeInOut.Instance.CallFadeIn();
|
||||
}
|
||||
else if(!goingToWin && (timer < 0))
|
||||
{
|
||||
currGameState = GameState.LOSE;
|
||||
AudioHandler.StopAllSounds(false);
|
||||
AudioHandler.audioClipHandlers["BGMLose"].Play();
|
||||
goingToLose = true;
|
||||
if (SceneFadeInOut.Instance != null)
|
||||
SceneFadeInOut.Instance.CallFadeIn();
|
||||
|
||||
if (timer <= 0)
|
||||
AudioHandler.audioClipHandlers["BGMLose"].Play();
|
||||
else if (totalItemCount <= 0)
|
||||
AudioHandler.audioClipHandlers["BGMWin"].Play();
|
||||
|
||||
currGameState = GameState.OVER;
|
||||
finalTime = (int)timer;
|
||||
Results.SetActive(true);
|
||||
|
||||
Input.SetMouseCentering(false);
|
||||
Application.IsCursorVisible = true;
|
||||
GamePause = true;
|
||||
Application.FixDeltaTime = 0;
|
||||
AnimationSystem.TimeScale = 0;
|
||||
}
|
||||
}
|
||||
|
||||
//Handling transitions
|
||||
if (SceneFadeInOut.Instance != null)
|
||||
{
|
||||
if (SceneFadeInOut.Instance.FadeInFinished())
|
||||
{
|
||||
if (goingToWin)
|
||||
{
|
||||
SceneManager.ChangeScene(winScene);
|
||||
}
|
||||
if (goingToLose)
|
||||
{
|
||||
SceneManager.ChangeScene(loseScene);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (goingToWin)
|
||||
{
|
||||
SceneManager.ChangeScene(winScene);
|
||||
}
|
||||
if (goingToLose)
|
||||
{
|
||||
SceneManager.ChangeScene(loseScene);
|
||||
}
|
||||
}
|
||||
|
||||
if (SceneFadeInOut.Instance && SceneFadeInOut.Instance.FadeInFinished() && waitForTransition)
|
||||
SceneManager.ChangeScene(winScene);
|
||||
|
||||
}
|
||||
|
||||
public void RacoonCaught()
|
||||
{
|
||||
timer -= 10.0f;
|
||||
if (minusTimerText != GameObject.Null)
|
||||
{
|
||||
timer -= 10.0f;
|
||||
if(minusTimerText != GameObject.Null)
|
||||
{
|
||||
MinusTimerText text =minusTimerText.GetScript<MinusTimerText>();
|
||||
if(text)
|
||||
{
|
||||
text.Reset();
|
||||
}
|
||||
}
|
||||
MinusTimerText text = minusTimerText.GetScript<MinusTimerText>();
|
||||
if (text)
|
||||
{
|
||||
text.Reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Cheat()
|
||||
{
|
||||
if (Input.GetKeyUp(Input.KeyCode.F1))
|
||||
{
|
||||
currGameState = GameState.WIN;
|
||||
currGameState = GameState.OVER;
|
||||
AudioHandler.audioClipHandlers["BGMWin"].Play();
|
||||
AudioHandler.StopAllSounds(false);
|
||||
goingToWin = true;
|
||||
if (SceneFadeInOut.Instance != null)
|
||||
SceneFadeInOut.Instance.CallFadeIn();
|
||||
}
|
||||
else if (Input.GetKeyUp(Input.KeyCode.F2))
|
||||
{
|
||||
currGameState = GameState.LOSE;
|
||||
AudioHandler.audioClipHandlers["BGMLose"].Play();
|
||||
AudioHandler.StopAllSounds(false);
|
||||
goingToLose = true;
|
||||
waitForTransition = true;
|
||||
if (SceneFadeInOut.Instance != null)
|
||||
SceneFadeInOut.Instance.CallFadeIn();
|
||||
}
|
||||
|
@ -255,23 +222,35 @@ public class GameManager : Script
|
|||
currMultiplierDuration = 0;
|
||||
|
||||
if (currMultiplierCombo < maxMultiplierCombo)
|
||||
{
|
||||
currMultiplierCombo += 1;
|
||||
if (currMultiplierCombo > MaxComboAccquired)
|
||||
MaxComboAccquired = currMultiplierCombo;
|
||||
}
|
||||
|
||||
Audio.SetParameter("Multiplier", currMultiplierCombo);
|
||||
AudioHandler.audioClipHandlers["SFXItemScore"].Play();
|
||||
AudioHandler.audioClipHandlers["RaccoonScored"].Play();
|
||||
|
||||
MultiplierTextFx fx = multiplierText.GetScript<MultiplierTextFx>();
|
||||
SingleScaleBounce textBounce = scoreText.GetScript<SingleScaleBounce>();
|
||||
SingleScaleBounce textBGBounce = scoreTextBG.GetScript<SingleScaleBounce>();
|
||||
|
||||
|
||||
|
||||
/*
|
||||
if (textBounce)
|
||||
textBounce.ScaleBounceOnce();*/
|
||||
|
||||
if (textBGBounce)
|
||||
textBGBounce.ScaleBounceOnce();
|
||||
|
||||
|
||||
MultiplierTextFx fx = multiplierText.GetScript<MultiplierTextFx>();
|
||||
if (fx)
|
||||
{
|
||||
fx.ShowMultiplier(currMultiplierCombo, maxMultiplierDuration);
|
||||
}
|
||||
|
||||
SingleScaleBounce sb = scoreText.GetScript<SingleScaleBounce>();
|
||||
if(sb)
|
||||
{
|
||||
sb.ScaleBounceOnce();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@ namespace SHADE_Scripting.UI
|
|||
public class PreviewLevel : Script
|
||||
{
|
||||
private List<Camera> listOfCamera;
|
||||
public GameObject levelTransistion;
|
||||
|
||||
public Vector3 endPoint1;
|
||||
public Vector3 endPoint2;
|
||||
|
@ -56,7 +57,7 @@ namespace SHADE_Scripting.UI
|
|||
|
||||
protected override void update()
|
||||
{
|
||||
if (SceneFadeInOut.Instance && !SceneFadeInOut.Instance.FadeOutFinished() && !point1Done)
|
||||
if (SceneFadeInOut.Instance && !levelTransistion.GetScript<LevelTransistion>().complete && !point1Done)
|
||||
{
|
||||
moveToEndPoint1.Reset();
|
||||
return;
|
||||
|
|
|
@ -22,7 +22,11 @@ public class ScoringZone : Script
|
|||
{
|
||||
if (GameManager.Instance && info.GameObject.GetScript<Item>() && info.GameObject.IsActiveSelf && !info.GameObject.GetComponent<Collider>().GetCollisionShape(0).IsTrigger )
|
||||
{
|
||||
GameManager.Instance.Score += info.GameObject.GetScript<Item>().Score * GameManager.Instance.currMultiplierCombo;
|
||||
if (GameManager.Instance.currMultiplierCombo > 1)
|
||||
GameManager.Instance.Score += info.GameObject.GetScript<Item>().Score * GameManager.Instance.currMultiplierCombo;
|
||||
else
|
||||
GameManager.Instance.Score += info.GameObject.GetScript<Item>().Score;
|
||||
|
||||
GameManager.Instance.ItemScored();
|
||||
particle.EmissionCount = startingParticleCount * GameManager.Instance.currMultiplierCombo;
|
||||
particle.Emit();
|
||||
|
|
|
@ -1,18 +1,20 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
public enum EASING_METHOD
|
||||
{
|
||||
EASE_IN_SINE,
|
||||
EASE_OUT_SINE,
|
||||
EASE_OUT_BOUNCE,
|
||||
EASE_IN_BOUNCE,
|
||||
EASE_INOUT_BOUNCE,
|
||||
LINEAR
|
||||
}
|
||||
public enum EASING_METHOD
|
||||
{
|
||||
EASE_IN_SINE,
|
||||
EASE_OUT_SINE,
|
||||
EASE_OUT_BOUNCE,
|
||||
EASE_IN_BOUNCE,
|
||||
EASE_INOUT_BOUNCE,
|
||||
EASE_OUT_CIRCLE,
|
||||
EASE_OUT_BACK,
|
||||
LINEAR
|
||||
}
|
||||
|
||||
public static class EasingHelper
|
||||
{
|
||||
|
@ -25,33 +27,41 @@ public static class EasingHelper
|
|||
{
|
||||
return EaseInSine(value);
|
||||
}
|
||||
|
||||
|
||||
case EASING_METHOD.EASE_OUT_SINE:
|
||||
{
|
||||
return EaseOutSine(value);
|
||||
}
|
||||
|
||||
|
||||
case EASING_METHOD.EASE_OUT_BOUNCE:
|
||||
{
|
||||
return EaseOutBounce(value);
|
||||
}
|
||||
|
||||
|
||||
case EASING_METHOD.EASE_IN_BOUNCE:
|
||||
{
|
||||
return EaseInBounce(value);
|
||||
}
|
||||
|
||||
|
||||
case EASING_METHOD.EASE_INOUT_BOUNCE:
|
||||
{
|
||||
return EaseInOutBounce(value);
|
||||
}
|
||||
|
||||
|
||||
case EASING_METHOD.LINEAR:
|
||||
{
|
||||
return value;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
return value;
|
||||
}
|
||||
case EASING_METHOD.EASE_OUT_CIRCLE:
|
||||
{
|
||||
return EaseOutCircle(value);
|
||||
}
|
||||
case EASING_METHOD.EASE_OUT_BACK:
|
||||
{
|
||||
return EaseOutBack(value);
|
||||
}
|
||||
|
||||
default:
|
||||
return 0.0f;
|
||||
}
|
||||
}
|
||||
|
@ -102,5 +112,18 @@ public static class EasingHelper
|
|||
: (1.0f + EaseOutBounce(2.0f * value - 1.0f)) / 2.0f;
|
||||
}
|
||||
|
||||
|
||||
private static float EaseOutCircle(float value)
|
||||
{
|
||||
return (float)Math.Sqrt(1.0f - (float)Math.Pow(value - 1.0f, 2.0f));
|
||||
}
|
||||
|
||||
private static float EaseOutBack(float value)
|
||||
{
|
||||
const float c1 = 1.70158f;
|
||||
const float c3 = c1 + 1.0f;
|
||||
return 1.0f + c3 * (float)Math.Pow(value - 1.0f, 3.0f) + c1 * (float)Math.Pow(value - 1.0f, 2.0f);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ namespace SHADE_Scripting.UI
|
|||
|
||||
protected override void start()
|
||||
{
|
||||
thread = TweenManager.CreateTweenThread(0.1f, 0.9f, 1.0f, EASING_METHOD.EASE_IN_SINE);
|
||||
thread = TweenManager.CreateTweenThread(0.1f, 0.9f, 1.0f, EASING_METHOD.EASE_OUT_BACK);
|
||||
|
||||
|
||||
Transform transform = GetComponent<Transform>();
|
||||
|
|
|
@ -5,43 +5,43 @@ using SHADE_Scripting.UI;
|
|||
|
||||
public class ChangeSceneButton : Script
|
||||
{
|
||||
public uint sceneID = 0;
|
||||
public uint sceneID = 0;
|
||||
|
||||
//Whether the scene changing button has been clicked
|
||||
private bool clickedFlag;
|
||||
public GameObject levelTransistion;
|
||||
|
||||
protected override void awake()
|
||||
{
|
||||
clickedFlag = false;
|
||||
}
|
||||
private bool clickedFlag;
|
||||
|
||||
protected override void start()
|
||||
protected override void awake()
|
||||
{
|
||||
clickedFlag = false;
|
||||
}
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
UIElement ui = GetComponent<UIElement>();
|
||||
if (ui != null)
|
||||
{
|
||||
UIElement ui = GetComponent<UIElement>();
|
||||
if (ui != null)
|
||||
ui.OnRelease.RegisterAction(() =>
|
||||
{
|
||||
if (sceneID != 0)
|
||||
{
|
||||
ui.OnRelease.RegisterAction(() =>
|
||||
{
|
||||
if (sceneID != 0)
|
||||
{
|
||||
Audio.PlaySFXOnce2D("event:/UI/success");
|
||||
Audio.StopAllSounds();
|
||||
if (SceneFadeInOut.Instance != null)
|
||||
SceneFadeInOut.Instance.CallFadeIn();
|
||||
clickedFlag = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("Failed to register button action for ChangeSceneButton.");
|
||||
Audio.PlaySFXOnce2D("event:/UI/success");
|
||||
Audio.StopAllSounds();
|
||||
clickedFlag = true;
|
||||
levelTransistion.SetActive(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
protected override void update()
|
||||
else
|
||||
{
|
||||
if (clickedFlag && sceneID != 0 && SceneFadeInOut.Instance.FadeInFinished())
|
||||
{
|
||||
SceneManager.ChangeScene(sceneID);
|
||||
}
|
||||
Debug.LogError("Failed to register button action for ChangeSceneButton.");
|
||||
}
|
||||
}
|
||||
protected override void update()
|
||||
{
|
||||
if (levelTransistion.GetScript<LevelTransistion>().complete && clickedFlag)
|
||||
{
|
||||
SceneManager.ChangeScene(sceneID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,6 +54,9 @@ public class CutsceneEnd : Script
|
|||
private bool cutscene4Done = false;
|
||||
private bool cutscene5Done = false;
|
||||
|
||||
public GameObject levelTransition;
|
||||
private bool waiting = false;
|
||||
|
||||
protected override void awake()
|
||||
{
|
||||
initCutscene4();
|
||||
|
@ -73,6 +76,9 @@ public class CutsceneEnd : Script
|
|||
|
||||
protected override void update()
|
||||
{
|
||||
if (!levelTransition.GetScript<LevelTransistion>().complete)
|
||||
return;
|
||||
|
||||
Canvas4();
|
||||
Canvas5();
|
||||
|
||||
|
@ -98,8 +104,12 @@ public class CutsceneEnd : Script
|
|||
|
||||
if (Input.GetKeyUp(Input.KeyCode.Space) && cutscene5Done && canvas5.IsActiveSelf)
|
||||
{
|
||||
SceneManager.ChangeScene(nextScene);
|
||||
levelTransition.GetScript<LevelTransistion>().resetToLeft();
|
||||
waiting = true;
|
||||
}
|
||||
|
||||
if (levelTransition.GetScript<LevelTransistion>().complete && waiting)
|
||||
SceneManager.ChangeScene(nextScene);
|
||||
}
|
||||
|
||||
private void Canvas4()
|
||||
|
|
|
@ -82,6 +82,9 @@ public class CutsceneIntro : Script
|
|||
private bool cutscene2Done = false;
|
||||
private bool cutscene3Done = false;
|
||||
|
||||
public GameObject levelTransition;
|
||||
private bool waiting = false;
|
||||
|
||||
protected override void awake()
|
||||
{
|
||||
initCutscene1();
|
||||
|
@ -109,6 +112,9 @@ public class CutsceneIntro : Script
|
|||
|
||||
protected override void update()
|
||||
{
|
||||
if (!levelTransition.GetScript<LevelTransistion>().complete)
|
||||
return;
|
||||
|
||||
Canvas1();
|
||||
Canvas2();
|
||||
Canvas3();
|
||||
|
@ -148,8 +154,12 @@ public class CutsceneIntro : Script
|
|||
|
||||
if (Input.GetKeyUp(Input.KeyCode.Space) && cutscene3Done && canvas3.IsActiveSelf)
|
||||
{
|
||||
SceneManager.ChangeScene(nextScene);
|
||||
levelTransition.GetScript<LevelTransistion>().resetToLeft();
|
||||
waiting = true;
|
||||
}
|
||||
|
||||
if (levelTransition.GetScript<LevelTransistion>().complete && waiting)
|
||||
SceneManager.ChangeScene(nextScene);
|
||||
}
|
||||
|
||||
private void Canvas1()
|
||||
|
|
|
@ -0,0 +1,57 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SHADE;
|
||||
|
||||
namespace SHADE_Scripting.UI
|
||||
{
|
||||
public class GameTimer: Script
|
||||
{
|
||||
private ScaleBounce scaleBounce;
|
||||
private TextRenderable text;
|
||||
public float criticalTime = 30;
|
||||
|
||||
public float timer;
|
||||
|
||||
|
||||
protected override void awake()
|
||||
{
|
||||
text = GetComponent<TextRenderable>();
|
||||
if(!text)
|
||||
{
|
||||
Debug.Log("GameTimer: No text renderable found");
|
||||
}
|
||||
|
||||
scaleBounce = GetScript<ScaleBounce>();
|
||||
if(!scaleBounce)
|
||||
{
|
||||
Debug.Log("GameTimer: No Scalebounce found in children");
|
||||
}
|
||||
else
|
||||
{
|
||||
scaleBounce.isActive = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
timer = GameManager.Instance.timer;
|
||||
|
||||
if (timer <= criticalTime)
|
||||
{
|
||||
scaleBounce.isActive = true;
|
||||
text.TextColor = new Color(1.0f, 0.0f, 0.0f, 1.0f);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
Name: SC_GameTimer
|
||||
ID: 158823052
|
||||
Type: 9
|
|
@ -0,0 +1,91 @@
|
|||
using SHADE;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
public class LevelTransistion : Script
|
||||
{
|
||||
|
||||
public GameObject logo;
|
||||
public GameObject bg;
|
||||
public float duration = 2.0f;
|
||||
public float bgEndPositionX = 2500;
|
||||
public float logoEndPositionX = 2500;
|
||||
|
||||
public bool rotAndScale = true;
|
||||
public float rotationAmt = 360;
|
||||
public float scaleAmt = 631;
|
||||
|
||||
public bool complete { get; set; }
|
||||
|
||||
private Transform logoTran;
|
||||
private Transform bgTran;
|
||||
|
||||
private TweenThread bgTween;
|
||||
private TweenThread logoTween;
|
||||
private TweenThread rot;
|
||||
private TweenThread scale;
|
||||
|
||||
protected override void awake()
|
||||
{
|
||||
logoTran = logo.GetComponent<Transform>();
|
||||
if (!logoTran)
|
||||
Debug.LogError("MISSING LOGO TRAN");
|
||||
|
||||
bgTran = bg.GetComponent<Transform>();
|
||||
if (!bgTran)
|
||||
Debug.LogError("MISSING BG TRAN");
|
||||
|
||||
complete = false;
|
||||
}
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
bgTween = TweenManager.CreateTweenThread(duration, bgTran.LocalPosition.x, bgEndPositionX, EASING_METHOD.EASE_OUT_CIRCLE);
|
||||
logoTween = TweenManager.CreateTweenThread(duration , logoTran.LocalPosition.x, logoEndPositionX, EASING_METHOD.EASE_OUT_CIRCLE);
|
||||
rot = TweenManager.CreateTweenThread(duration , 0, rotationAmt, EASING_METHOD.EASE_OUT_BACK);
|
||||
scale = TweenManager.CreateTweenThread(duration, 0, scaleAmt, EASING_METHOD.EASE_OUT_BACK);
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
if (bgTween != null)
|
||||
bgTran.LocalPosition = new Vector3(bgTween.GetValue(), 0, bgTran.LocalPosition.z);
|
||||
|
||||
if (rotAndScale)
|
||||
{
|
||||
logoTran.LocalScale = new Vector3(scale.GetValue(), scale.GetValue(), 1);
|
||||
logoTran.LocalEulerAngles = new Vector3(0, 0, SHADE.Math.DegreesToRadians(rot.GetValue()));
|
||||
}
|
||||
else
|
||||
{
|
||||
logoTran.LocalPosition = new Vector3(logoTween.GetValue(), 0, logoTran.LocalPosition.z);
|
||||
}
|
||||
|
||||
if (bgTween.IsCompleted() && logoTween.IsCompleted())
|
||||
complete = true;
|
||||
}
|
||||
|
||||
public void resetToLeft()
|
||||
{
|
||||
logoTran.LocalEulerAngles = Vector3.Zero;
|
||||
logoTran.LocalPosition = Vector3.Zero;
|
||||
logoTran.LocalScale = Vector3.Zero;
|
||||
bgTween.duration = 0.8f;
|
||||
bgTween.Reset(-3000.0f,0.0f);
|
||||
logoTween.duration = 0.8f;
|
||||
logoTween.Reset();
|
||||
rot.duration = 0.8f;
|
||||
rot.Reset();
|
||||
scale.duration = 0.8f;
|
||||
scale.Reset();
|
||||
complete = false;
|
||||
rotAndScale = true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Name: SC_LevelTransistion
|
||||
ID: 158044875
|
||||
Type: 9
|
|
@ -26,7 +26,8 @@ public class MainMenu : Script
|
|||
{
|
||||
Input.SetMouseCentering(false);
|
||||
Application.IsCursorVisible = true;
|
||||
SceneFadeInOut.Instance.CallFadeOut();
|
||||
if(SceneFadeInOut.Instance)
|
||||
SceneFadeInOut.Instance.CallFadeOut();
|
||||
}
|
||||
protected override void update()
|
||||
{
|
||||
|
|
|
@ -3,6 +3,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SHADE_Scripting.UI
|
||||
|
@ -12,98 +13,70 @@ namespace SHADE_Scripting.UI
|
|||
[NonSerialized]
|
||||
private TweenThread sizeThread;
|
||||
private TweenThread sizeInvertThread;
|
||||
private TweenThread alphaThread;
|
||||
|
||||
|
||||
|
||||
public float maxSize = 1.0f;
|
||||
public float minSize = 0.3f;
|
||||
public float minAlpha = 0.3f;
|
||||
|
||||
|
||||
private bool showMultiplier = false;
|
||||
const float sizeUpDuration = 0.1f;
|
||||
|
||||
[NonSerialized]
|
||||
private Vector3 defaultScale;
|
||||
|
||||
private bool tweenUp = false;
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
sizeThread = TweenManager.CreateTweenThread(0.0f, maxSize, minSize, EASING_METHOD.EASE_IN_SINE);
|
||||
sizeThread = TweenManager.CreateTweenThread(0.01f, maxSize, minSize, EASING_METHOD.EASE_IN_SINE);
|
||||
sizeInvertThread = TweenManager.CreateTweenThread(sizeUpDuration, minSize, maxSize, EASING_METHOD.EASE_IN_SINE);
|
||||
alphaThread = TweenManager.CreateTweenThread(0.0f, 1.0f, minAlpha, EASING_METHOD.EASE_OUT_SINE);
|
||||
|
||||
Transform transform = GetComponent<Transform>();
|
||||
if (transform != null)
|
||||
{
|
||||
defaultScale = transform.LocalScale;
|
||||
transform.LocalScale = Vector3.Zero;
|
||||
}
|
||||
|
||||
|
||||
showMultiplier = false;
|
||||
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
protected override void update()
|
||||
{
|
||||
|
||||
if (sizeThread == null || sizeInvertThread == null)
|
||||
return;
|
||||
|
||||
Transform transform = GetComponent<Transform>();
|
||||
|
||||
GetComponent<TextRenderable>().Text = $"X {GameManager.Instance.currMultiplierCombo}";
|
||||
|
||||
if (transform != null)
|
||||
{
|
||||
if (tweenUp == false)
|
||||
{
|
||||
Transform transform = GetComponent<Transform>();
|
||||
|
||||
|
||||
if (transform != null && showMultiplier == true)
|
||||
{
|
||||
if(!sizeInvertThread.IsCompleted())
|
||||
{
|
||||
transform.LocalScale = defaultScale * sizeInvertThread.GetValue();
|
||||
|
||||
Renderable rend = GetComponentInChildren<Renderable>();
|
||||
if(rend)
|
||||
{
|
||||
rend.Material.SetProperty<float>("data.alpha", 1.0f);
|
||||
}
|
||||
|
||||
TextRenderable text = GetComponent<TextRenderable>();
|
||||
if (text)
|
||||
{
|
||||
Color clr = text.TextColor;
|
||||
text.TextColor = new Color(clr.r, clr.g, clr.b, 1.0f);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if(sizeThread.IsCompleted())
|
||||
{
|
||||
transform.LocalScale = Vector3.Zero;
|
||||
showMultiplier = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.LocalScale = defaultScale * sizeThread.GetValue();
|
||||
|
||||
Renderable rend = GetComponentInChildren<Renderable>();
|
||||
if (rend)
|
||||
{
|
||||
rend.Material.SetProperty<float>("data.alpha", alphaThread.GetValue());
|
||||
}
|
||||
TextRenderable text = GetComponent<TextRenderable>();
|
||||
if(text)
|
||||
{
|
||||
Color clr = text.TextColor;
|
||||
text.TextColor = new Color(clr.r,clr.g,clr.b,alphaThread.GetValue() * 1.3f);
|
||||
}
|
||||
}
|
||||
}
|
||||
transform.LocalScale = defaultScale * sizeThread.GetValue();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (sizeInvertThread.IsCompleted())
|
||||
{
|
||||
tweenUp = false;
|
||||
sizeThread.Reset();
|
||||
}
|
||||
|
||||
transform.LocalScale = defaultScale * sizeInvertThread.GetValue();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void ShowMultiplier(int multiplier, float duration)
|
||||
{
|
||||
GetComponent<TextRenderable>().Text = $"X {multiplier}";
|
||||
sizeThread.duration = duration + sizeUpDuration;
|
||||
alphaThread.duration = duration + sizeUpDuration;
|
||||
|
||||
sizeInvertThread.Reset();
|
||||
sizeThread.Reset();
|
||||
alphaThread.Reset();
|
||||
showMultiplier = true;
|
||||
tweenUp = true;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,111 @@
|
|||
using SHADE;
|
||||
using SHADE_Scripting.UI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
public class Results : Script
|
||||
{
|
||||
public GameObject score;
|
||||
public GameObject timeLeft;
|
||||
public GameObject maxCombo;
|
||||
public GameObject finalScore;
|
||||
public GameObject contiuneBtn;
|
||||
public GameObject levelTransition;
|
||||
public uint nextScene;
|
||||
public float scoreTweenDur = 2.0f;
|
||||
|
||||
private TextRenderable scoreText;
|
||||
private TextRenderable timeLeftText;
|
||||
private TextRenderable maxComboText;
|
||||
private TextRenderable finalScoreText;
|
||||
|
||||
private int scoreCount = 0;
|
||||
private bool once = true;
|
||||
|
||||
[NonSerialized]
|
||||
private TweenThread scoreTween;
|
||||
|
||||
private bool waitForTransition;
|
||||
protected override void awake()
|
||||
{
|
||||
scoreText = score.GetComponent<TextRenderable>();
|
||||
if (!scoreText)
|
||||
Debug.LogError("MISSING SCORE TEXT");
|
||||
|
||||
timeLeftText = timeLeft.GetComponent<TextRenderable>();
|
||||
if (!timeLeftText)
|
||||
Debug.LogError("MISSING TIME LEFT TEXT");
|
||||
|
||||
maxComboText = maxCombo.GetComponent<TextRenderable>();
|
||||
if (!maxComboText)
|
||||
Debug.LogError("MISSING MAX COMBO TEXT");
|
||||
|
||||
finalScoreText = finalScore.GetComponent<TextRenderable>();
|
||||
if (!finalScoreText)
|
||||
Debug.LogError("MISSING FINAL SCORE TEXT");
|
||||
|
||||
if (!contiuneBtn)
|
||||
Debug.LogError("MISSING CONTIUNE BTN");
|
||||
else
|
||||
contiuneBtn.SetActive(false);
|
||||
|
||||
waitForTransition = false;
|
||||
}
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
scoreCount = GameManager.Instance.Score + (GameManager.Instance.finalTime * 100);
|
||||
|
||||
if(scoreText)
|
||||
scoreText.Text = $"{GameManager.Instance.Score}";
|
||||
if (timeLeftText)
|
||||
timeLeftText.Text = $"{GameManager.Instance.finalTime}s";
|
||||
if (maxComboText)
|
||||
maxComboText.Text = $"X{GameManager.Instance.MaxComboAccquired}";
|
||||
if (finalScoreText)
|
||||
finalScoreText.Text = $"{scoreCount}";
|
||||
|
||||
UIElement contiune = contiuneBtn.GetComponent<UIElement>();
|
||||
if (contiune != null)
|
||||
{
|
||||
contiune.OnRelease.RegisterAction(() =>
|
||||
{
|
||||
levelTransition.GetScript<LevelTransistion>().resetToLeft();
|
||||
waitForTransition = true;
|
||||
|
||||
GameManager.Instance.GamePause = false;
|
||||
Application.FixDeltaTime = Time.DefaultFixDeltaTime;
|
||||
AnimationSystem.TimeScale = AnimationSystem.DefaultTimeScale;
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("Failed to register contiune button.");
|
||||
}
|
||||
|
||||
scoreTween = TweenManager.CreateTweenThread(scoreTweenDur, 0, scoreCount, EASING_METHOD.EASE_IN_SINE);
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
if (levelTransition.GetScript<LevelTransistion>().complete && waitForTransition)
|
||||
{
|
||||
Audio.StopAllSounds();
|
||||
SceneManager.ChangeScene(nextScene);
|
||||
}
|
||||
|
||||
if (finalScoreText && !scoreTween.IsCompleted())
|
||||
finalScoreText.Text = $"{(int)scoreTween.GetValue()}";
|
||||
else if(scoreTween.IsCompleted() && once)
|
||||
{
|
||||
contiuneBtn.SetActive(true);
|
||||
finalScoreText.Text = $"{scoreCount}";
|
||||
once = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Name: SC_Results
|
||||
ID: 154482040
|
||||
Type: 9
|
|
@ -1,4 +1,4 @@
|
|||
using SHADE;
|
||||
using SHADE;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
@ -7,41 +7,55 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace SHADE_Scripting.UI
|
||||
{
|
||||
public class ScaleBounce:Script
|
||||
public class ScaleBounce : Script
|
||||
{
|
||||
[NonSerialized]
|
||||
private TweenThread thread;
|
||||
|
||||
public float minScale = 1.0f;
|
||||
public float maxScale = 1.2f;
|
||||
public float duration = 1.0f;
|
||||
|
||||
private Vector3 defaultScale;
|
||||
|
||||
|
||||
public bool isActive = false;
|
||||
|
||||
private bool lastActive = false;
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
[NonSerialized]
|
||||
private TweenThread thread;
|
||||
|
||||
public float minScale = 1.0f;
|
||||
public float maxScale = 1.2f;
|
||||
public float duration = 1.0f;
|
||||
|
||||
private Vector3 defaultScale;
|
||||
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
thread = TweenManager.CreateTweenThread(duration, minScale, maxScale, EASING_METHOD.EASE_IN_SINE);
|
||||
Transform trans = GetComponent<Transform>();
|
||||
if(trans != null)
|
||||
{
|
||||
defaultScale = trans.LocalScale;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
Transform trans = GetComponent<Transform>();
|
||||
if(trans != null)
|
||||
{
|
||||
trans.LocalScale = defaultScale * thread.GetValue();
|
||||
}
|
||||
if(thread.IsCompleted())
|
||||
{
|
||||
thread.ResetInvert();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
thread = TweenManager.CreateTweenThread(duration, minScale, maxScale, EASING_METHOD.EASE_IN_SINE);
|
||||
Transform trans = GetComponent<Transform>();
|
||||
if (trans != null)
|
||||
{
|
||||
defaultScale = trans.LocalScale;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
|
||||
if (thread == null)
|
||||
return;
|
||||
|
||||
if (isActive != lastActive && isActive == true)
|
||||
{
|
||||
thread.Reset();
|
||||
}
|
||||
lastActive = isActive;
|
||||
|
||||
Transform trans = GetComponent<Transform>();
|
||||
if (trans != null && isActive)
|
||||
{
|
||||
trans.LocalScale = defaultScale * thread.GetValue();
|
||||
}
|
||||
if (thread.IsCompleted())
|
||||
{
|
||||
thread.ResetInvert();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,44 +7,43 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace SHADE_Scripting.UI
|
||||
{
|
||||
public class ScrollingCredits: Script
|
||||
public class ScrollingCredits : Script
|
||||
{
|
||||
|
||||
public float endY = 4000.0f;
|
||||
public float duration = 30.0f;
|
||||
public GameObject levelTransition;
|
||||
|
||||
|
||||
[NonSerialized]
|
||||
TweenThread thread;
|
||||
|
||||
protected override void awake()
|
||||
{
|
||||
base.awake();
|
||||
|
||||
}
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
|
||||
public float endY = 4000.0f;
|
||||
public float duration = 30.0f;
|
||||
|
||||
|
||||
[NonSerialized]
|
||||
TweenThread thread;
|
||||
|
||||
protected override void awake()
|
||||
{
|
||||
base.awake();
|
||||
|
||||
}
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
base.start();
|
||||
|
||||
Transform transform = GetComponent<Transform>();
|
||||
if(transform != null)
|
||||
{
|
||||
thread = TweenManager.CreateTweenThread(duration, transform.LocalPosition.y, endY, EASING_METHOD.LINEAR);
|
||||
thread.SetResetOnInactive(GameObject);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
base.update();
|
||||
|
||||
Transform transform = GetComponent<Transform>();
|
||||
|
||||
if(thread != null && transform != null)
|
||||
{
|
||||
transform.LocalPosition = new Vector3( transform.LocalPosition.x ,thread.GetValue() , transform.LocalPosition.z);
|
||||
}
|
||||
}
|
||||
Transform transform = GetComponent<Transform>();
|
||||
if (transform != null)
|
||||
{
|
||||
thread = TweenManager.CreateTweenThread(duration, transform.LocalPosition.y, endY, EASING_METHOD.LINEAR);
|
||||
thread.SetResetOnInactive(GameObject);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
|
||||
Transform transform = GetComponent<Transform>();
|
||||
|
||||
if (thread != null && transform != null)
|
||||
{
|
||||
transform.LocalPosition = new Vector3(transform.LocalPosition.x, thread.GetValue(), transform.LocalPosition.z);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,8 +37,8 @@ namespace SHADE_Scripting.UI
|
|||
|
||||
protected override void start()
|
||||
{
|
||||
if(thread != null)
|
||||
thread = TweenManager.CreateTweenThread(0.0f, 1.0f, 1.0f, EASING_METHOD.EASE_IN_SINE);
|
||||
|
||||
thread = TweenManager.CreateTweenThread(0.0f, 1.0f, 1.0f, EASING_METHOD.LINEAR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -50,6 +50,7 @@ namespace SHADE_Scripting.UI
|
|||
{
|
||||
scaleUp = false;
|
||||
thread.duration = durationDown;
|
||||
thread.method = EASING_METHOD.LINEAR;
|
||||
thread.ResetInvert();
|
||||
}
|
||||
}
|
||||
|
@ -65,6 +66,11 @@ namespace SHADE_Scripting.UI
|
|||
{
|
||||
thread.duration = durationUp;
|
||||
thread.Reset(1.0f, scaleSize);
|
||||
thread.method = EASING_METHOD.EASE_OUT_BACK;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("Single Scale Bounce: thread is null");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,70 @@
|
|||
using SHADE;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SHADE_Scripting.UI
|
||||
{
|
||||
public class SliderFX : Script
|
||||
{
|
||||
|
||||
public string onClickSound = "event:/UI/button_success";
|
||||
public string onReleaseSound = "event:/UI/button_fail";
|
||||
|
||||
|
||||
[NonSerialized]
|
||||
private AudioClipHandler onClickACHandler;
|
||||
[NonSerialized]
|
||||
private AudioClipHandler onReleaseACHandler;
|
||||
|
||||
|
||||
|
||||
protected override void awake()
|
||||
{
|
||||
|
||||
|
||||
if (onClickSound != "Empty")
|
||||
onClickACHandler = SHADE.Audio.CreateAudioClip(onClickSound);
|
||||
if (onReleaseSound != "Empty")
|
||||
onReleaseACHandler = SHADE.Audio.CreateAudioClip(onReleaseSound);
|
||||
}
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
|
||||
|
||||
Transform transform = GetComponent<Transform>();
|
||||
if (transform == null)
|
||||
return;
|
||||
|
||||
UIElement ui = GetComponent<UIElement>();
|
||||
if (ui == null)
|
||||
return;
|
||||
|
||||
|
||||
ui.OnClick.RegisterAction(() =>
|
||||
{
|
||||
if (onClickSound != "Empty")
|
||||
onClickACHandler.Play();
|
||||
|
||||
});
|
||||
|
||||
ui.OnRelease.RegisterAction(() =>
|
||||
{
|
||||
if (onReleaseSound != "Empty")
|
||||
onReleaseACHandler.Play();
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
Name: SC_SliderFX
|
||||
ID: 157251414
|
||||
Type: 9
|
|
@ -35,9 +35,9 @@ public class StealFoodPopUp : Script
|
|||
|
||||
protected override void start()
|
||||
{
|
||||
rot = TweenManager.CreateTweenThread(popInDuration, 0, rotationAmt, EASING_METHOD.EASE_IN_SINE);
|
||||
scaleX = TweenManager.CreateTweenThread(popInDuration, 0, scaleAmtX, EASING_METHOD.EASE_IN_SINE);
|
||||
scaleY = TweenManager.CreateTweenThread(popInDuration, 0, scaleAmtY, EASING_METHOD.EASE_IN_SINE);
|
||||
rot = TweenManager.CreateTweenThread(popInDuration * 0.4f, 0, rotationAmt, EASING_METHOD.LINEAR);
|
||||
scaleX = TweenManager.CreateTweenThread(popInDuration, 0, scaleAmtX, EASING_METHOD.EASE_OUT_BACK);
|
||||
scaleY = TweenManager.CreateTweenThread(popInDuration, 0, scaleAmtY, EASING_METHOD.EASE_OUT_BACK);
|
||||
|
||||
tran = GetComponent<Transform>();
|
||||
if (!tran)
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SHADE;
|
||||
|
||||
namespace SHADE_Scripting.UI
|
||||
{
|
||||
public class TransitToMainMenu: Script
|
||||
{
|
||||
public float timeToTransit = 0.0f;
|
||||
public uint sceneToChange = 0;
|
||||
private float timer = 0.0f;
|
||||
private bool sceneChanged = false;
|
||||
|
||||
protected override void start()
|
||||
{
|
||||
timer = timeToTransit;
|
||||
sceneChanged = false;
|
||||
}
|
||||
|
||||
|
||||
protected override void update()
|
||||
{
|
||||
timer -= Time.DeltaTimeF;
|
||||
if(timer <= 0.0f && sceneChanged == false)
|
||||
{
|
||||
SceneManager.ChangeScene(sceneToChange);
|
||||
sceneChanged = true;
|
||||
}
|
||||
if(Input.GetKeyDown(Input.KeyCode.Space))
|
||||
{
|
||||
timer = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
Name: TransitToMainMenu
|
||||
ID: 159865134
|
||||
Type: 9
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -8,6 +8,7 @@ struct MatPropData
|
|||
int textureIndex;
|
||||
float alpha;
|
||||
float sliderThreshold;
|
||||
float borderThickness;
|
||||
vec4 sliderStartColor;
|
||||
vec4 sliderEndColor;
|
||||
vec4 sliderBarColor;
|
||||
|
@ -43,6 +44,8 @@ void main()
|
|||
{
|
||||
//fragColor = texture(textures[nonuniformEXT(MatProp.data[In2.materialIndex].textureIndex)], In.uv);
|
||||
|
||||
|
||||
|
||||
if (In.uv.x > MatProp.data[In2.materialIndex].sliderThreshold)
|
||||
fragColor = MatProp.data[In2.materialIndex].sliderBarColor;
|
||||
else
|
||||
|
|
Binary file not shown.
|
@ -42,19 +42,21 @@ layout(location = 1) out uint outEntityID;
|
|||
void main()
|
||||
{
|
||||
//fragColor = texture(textures[nonuniformEXT(MatProp.data[In2.materialIndex].textureIndex)], In.uv);
|
||||
|
||||
if (In.uv.x > MatProp.data[In2.materialIndex].sliderThreshold)
|
||||
fragColor = MatProp.data[In2.materialIndex].sliderBarColor;
|
||||
else
|
||||
//fragColor = (1.0f - In.uv.x) * MatProp.data[In2.materialIndex].sliderStartColor + In.uv.x * MatProp.data[In2.materialIndex].sliderEndColor;
|
||||
fragColor = texture(textures[nonuniformEXT(MatProp.data[In2.materialIndex].textureIndex)], In.uv);
|
||||
|
||||
|
||||
fragColor = texture(textures[nonuniformEXT(MatProp.data[In2.materialIndex].textureIndex)], In.uv);
|
||||
if (fragColor.a < 0.01f)
|
||||
{
|
||||
discard;
|
||||
}
|
||||
|
||||
if (In.uv.x > MatProp.data[In2.materialIndex].sliderThreshold)
|
||||
fragColor = MatProp.data[In2.materialIndex].sliderBarColor;
|
||||
|
||||
if (fragColor.xyz == vec3(0.0f, 0.0f, 0.0f))
|
||||
fragColor.xyz = MatProp.data[In2.materialIndex].sliderStartColor.xyz;
|
||||
|
||||
|
||||
|
||||
|
||||
fragColor.a = MatProp.data[In2.materialIndex].alpha;
|
||||
|
||||
// fragColor.a = 1.0f;
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,41 @@
|
|||
#version 450
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
#extension GL_ARB_shading_language_420pack : enable
|
||||
#extension GL_EXT_nonuniform_qualifier : require
|
||||
|
||||
struct MatPropData
|
||||
{
|
||||
int textureIndex;
|
||||
float alpha;
|
||||
};
|
||||
|
||||
layout(location = 0) in struct
|
||||
{
|
||||
vec4 vertPos; // location 0
|
||||
vec2 uv; // location = 1
|
||||
vec4 normal; // location = 2
|
||||
|
||||
} In;
|
||||
|
||||
// material stuff
|
||||
layout(location = 3) flat in struct
|
||||
{
|
||||
int materialIndex;
|
||||
uint eid;
|
||||
uint lightLayerIndex;
|
||||
} In2;
|
||||
|
||||
layout (set = 0, binding = 1) uniform sampler2D textures[]; // for textures (global)
|
||||
layout (std430, set = 2, binding = 0) buffer MaterialProperties // For materials
|
||||
{
|
||||
MatPropData data[];
|
||||
} MatProp;
|
||||
|
||||
layout(location = 0) out vec4 fragColor;
|
||||
layout(location = 1) out uint outEntityID;
|
||||
|
||||
void main()
|
||||
{
|
||||
fragColor = texture(textures[nonuniformEXT(MatProp.data[In2.materialIndex].textureIndex)], In.uv);
|
||||
outEntityID = In2.eid;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
Name: UI_TRANSISTION_FS
|
||||
ID: 40208610
|
||||
Type: 2
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
Name: Score_hover
|
||||
ID: 55195346
|
||||
Type: 3
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
Name: Score_idle
|
||||
ID: 59330417
|
||||
Type: 3
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
Name: Score_pressed
|
||||
ID: 56163414
|
||||
Type: 3
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
Name: ResultsUI
|
||||
ID: 55490391
|
||||
Type: 3
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
Name: TX_TransistionBG
|
||||
ID: 50770098
|
||||
Type: 3
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
Name: slider_bg
|
||||
ID: 64816540
|
||||
Type: 3
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
Name: slider_fill_black
|
||||
ID: 50370514
|
||||
Type: 3
|
|
@ -47,7 +47,7 @@ namespace SHADE
|
|||
/// <summary>
|
||||
/// Maximum number of descriptor sets allowed
|
||||
/// </summary>
|
||||
uint32_t MaxSets = 100;
|
||||
uint32_t MaxSets = 300;
|
||||
/// <summary>
|
||||
/// Flags used to create the DescriptorPool
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue