Updates for presentation build #399

Merged
glencelow merged 9 commits from PlayerController into main 2023-03-05 15:41:22 +08:00
8 changed files with 2978 additions and 1746 deletions
Showing only changes of commit 3f960509f1 - Show all commits

View File

@ -113,7 +113,7 @@
Text Renderer Component: Text Renderer Component:
Text: Press Space to contiune Text: Press Space to contiune
Font: 176667660 Font: 176667660
Color: {x: 1, y: 1, z: 1, w: 1} Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1} Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
@ -152,7 +152,9 @@
Scripts: Scripts:
- Type: CutsceneIntro - Type: CutsceneIntro
Enabled: true Enabled: true
nextScene: 96668835
duration: 1 duration: 1
skipDuration: 0.100000001
cutscene1Points: 4 cutscene1Points: 4
cutscene1Pics: 10 cutscene1Pics: 10
cutscene2Points: 20 cutscene2Points: 20
@ -316,7 +318,7 @@
Text Renderer Component: Text Renderer Component:
Text: Press Space to contiune Text: Press Space to contiune
Font: 176667660 Font: 176667660
Color: {x: 1, y: 1, z: 1, w: 1} Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1} Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
@ -452,7 +454,7 @@
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: -1425, y: -200, z: 0.5} Translate: {x: -1600, y: -200, z: 0.5}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 1299, y: 575, z: 1} Scale: {x: 1299, y: 575, z: 1}
IsActive: true IsActive: true
@ -519,7 +521,7 @@
Text Renderer Component: Text Renderer Component:
Text: Press Space to contiune Text: Press Space to contiune
Font: 176667660 Font: 176667660
Color: {x: 1, y: 1, z: 1, w: 1} Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1} Text Size: {x: 1, y: 1, z: 1}
IsActive: false IsActive: false
UI Component: UI Component:

View File

@ -2418,7 +2418,7 @@
Components: Components:
Transform Component: Transform Component:
Translate: {x: 0, y: 0, z: 0} Translate: {x: 0, y: 0, z: 0}
Rotate: {x: 0.5, y: -299.5, z: 0.5} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 1, y: 1, z: 1} Scale: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
Renderable Component: Renderable Component:

View File

@ -59,7 +59,7 @@
- EID: 240 - EID: 240
Name: ====ItemPool==== Name: ====ItemPool====
IsActive: true IsActive: true
NumberOfChildren: 35 NumberOfChildren: 31
Components: ~ Components: ~
Scripts: ~ Scripts: ~
- EID: 241 - EID: 241
@ -213,7 +213,7 @@
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
highlightSpeed: 300 highlightSpeed: 300
highlightThickness: 250 highlightThickness: 100
highlightLowerClamp: 0.25 highlightLowerClamp: 0.25
- EID: 154 - EID: 154
Name: Mesh_Cheese Name: Mesh_Cheese
@ -264,7 +264,7 @@
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
highlightSpeed: 300 highlightSpeed: 300
highlightThickness: 250 highlightThickness: 100
highlightLowerClamp: 0.25 highlightLowerClamp: 0.25
- EID: 65778 - EID: 65778
Name: Mesh_Apple Name: Mesh_Apple
@ -893,7 +893,7 @@
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
highlightSpeed: 300 highlightSpeed: 300
highlightThickness: 250 highlightThickness: 100
highlightLowerClamp: 0.25 highlightLowerClamp: 0.25
- EID: 475 - EID: 475
Name: Mesh_Meat Name: Mesh_Meat
@ -1454,7 +1454,7 @@
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
highlightSpeed: 300 highlightSpeed: 300
highlightThickness: 250 highlightThickness: 100
highlightLowerClamp: 0.25 highlightLowerClamp: 0.25
- EID: 485 - EID: 485
Name: Mesh_Apple Name: Mesh_Apple
@ -1699,7 +1699,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.400000006, y: 0.300000012, z: 0.300000012} Half Extents: {x: 0.449999988, y: 0.349999994, z: 0.349999994}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -1750,7 +1750,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.300000012, y: 0.200000003, z: 0.200000003} Half Extents: {x: 0.349999994, y: 0.25, z: 0.25}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -1801,7 +1801,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.200000003, y: 0.0799999982, z: 0.200000003} Half Extents: {x: 0.25, y: 0.200000003, z: 0.25}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -1852,7 +1852,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.200000003, y: 0.0500000007, z: 0.200000003} Half Extents: {x: 0.25, y: 0.100000001, z: 0.25}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -1903,7 +1903,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.25, y: 0.0500000007, z: 0.200000003} Half Extents: {x: 0.300000012, y: 0.100000001, z: 0.25}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -1921,420 +1921,6 @@
highlightSpeed: 300 highlightSpeed: 300
highlightThickness: 250 highlightThickness: 250
highlightLowerClamp: 0.25 highlightLowerClamp: 0.25
- EID: 176
Name: Mesh_Apple
IsActive: true
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 1.33684826, y: 0.0771836638, z: 6.68176699}
Rotate: {x: -0, y: 0, z: -0}
Scale: {x: 1, y: 1, z: 1}
IsActive: true
Renderable Component:
Mesh: 144128170
Material: 122370915
IsActive: true
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: true
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Box
Half Extents: {x: 0.200000003, y: 0.200000003, z: 0.200000003}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: 0}
IsActive: true
Scripts:
- Type: Item
Enabled: true
Score: 10
currCategory: 0
density: 1
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 175
Name: Mesh_Meat
IsActive: true
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 3.2909081, y: 0.179948017, z: 6.6051631}
Rotate: {x: -0, y: 0, z: -0}
Scale: {x: 1, y: 1, z: 1}
IsActive: true
Renderable Component:
Mesh: 136892700
Material: 122370915
IsActive: true
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: true
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Box
Half Extents: {x: 0.300000012, y: 0.300000012, z: 0.300000012}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: 0}
IsActive: true
Scripts:
- Type: Item
Enabled: true
Score: 50
currCategory: 1
density: 1
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 522
Name: Watermelon
IsActive: true
NumberOfChildren: 5
Components:
Transform Component:
Translate: {x: 1.62003577, y: 0.241820931, z: 5.90758133}
Rotate: {x: -0, y: 0, z: -0}
Scale: {x: 1, y: 1, z: 1}
IsActive: true
Renderable Component:
Mesh: 134305891
Material: 122370915
IsActive: true
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: false
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: true
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Sphere
Radius: 0.5
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: 0}
IsActive: true
Scripts:
- Type: Breakable
Enabled: true
threshHold: 4
ignoreRaccoon: true
breakClipHandlerName: SFXWatermelonBreak522
breakClipPath: event:/Props/impact_watermelon_break
- Type: Item
Enabled: true
Score: 500
currCategory: 2
density: 1
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 523
Name: Piece1
IsActive: false
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: false
Renderable Component:
Mesh: 144023586
Material: 122370915
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: true
Sleeping Enabled: false
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Box
Half Extents: {x: 0.400000006, y: 0.300000012, z: 0.300000012}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0.164060935, y: 0, z: 0}
IsActive: false
Scripts:
- Type: Item
Enabled: true
Score: 50
currCategory: 1
density: 3
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 525
Name: Piece3
IsActive: false
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: -0.0350502729, y: -0.210244894, z: -0.0336794853}
Rotate: {x: 0, y: 3.6088712e-09, z: 1.97286229e-16}
Scale: {x: 1, y: 1, z: 1}
IsActive: false
Renderable Component:
Mesh: 138231239
Material: 122370915
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Box
Half Extents: {x: 0.200000003, y: 0.0799999982, z: 0.200000003}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: -0.261799395}
IsActive: false
Scripts:
- Type: Item
Enabled: true
Score: 10
currCategory: 0
density: 3
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 526
Name: Piece4
IsActive: false
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: false
Renderable Component:
Mesh: 135293480
Material: 122370915
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: true
Sleeping Enabled: false
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Box
Half Extents: {x: 0.200000003, y: 0.0500000007, z: 0.200000003}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: -1.04719758}
IsActive: false
Scripts:
- Type: Item
Enabled: true
Score: 10
currCategory: 0
density: 3
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 527
Name: Piece5
IsActive: false
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: -0.129600644, y: 0.219047099, z: 0.0484838486}
Rotate: {x: 0, y: 3.6088712e-09, z: 1.97286229e-16}
Scale: {x: 1, y: 1, z: 1}
IsActive: false
Renderable Component:
Mesh: 146157335
Material: 122370915
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Box
Half Extents: {x: 0.25, y: 0.0500000007, z: 0.200000003}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: 0.436332315}
IsActive: false
Scripts:
- Type: Item
Enabled: true
Score: 10
currCategory: 0
density: 3
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 524
Name: Piece2
IsActive: false
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: -1.62003577, y: -0.241820931, z: -5.90758133}
Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 1, y: 1, z: 1}
IsActive: false
Renderable Component:
Mesh: 142132679
Material: 122370915
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Box
Half Extents: {x: 0.300000012, y: 0.200000003, z: 0.200000003}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: -0.34906584}
IsActive: false
Scripts:
- Type: Item
Enabled: true
Score: 50
currCategory: 1
density: 3
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 131228 - EID: 131228
Name: Watermelon Name: Watermelon
IsActive: true IsActive: true
@ -2425,7 +2011,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.400000006, y: 0.300000012, z: 0.300000012} Half Extents: {x: 0.449999988, y: 0.349999994, z: 0.349999994}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -2476,7 +2062,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.300000012, y: 0.200000003, z: 0.200000003} Half Extents: {x: 0.349999994, y: 0.25, z: 0.25}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -2527,7 +2113,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.200000003, y: 0.0799999982, z: 0.200000003} Half Extents: {x: 0.25, y: 0.200000003, z: 0.25}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -2578,7 +2164,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.200000003, y: 0.0500000007, z: 0.200000003} Half Extents: {x: 0.25, y: 0.100000001, z: 0.25}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -2629,7 +2215,7 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 2 Collision Tag: 2
Type: Box Type: Box
Half Extents: {x: 0.25, y: 0.0500000007, z: 0.200000003} Half Extents: {x: 0.300000012, y: 0.100000001, z: 0.25}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
@ -2647,227 +2233,6 @@
highlightSpeed: 300 highlightSpeed: 300
highlightThickness: 250 highlightThickness: 250
highlightLowerClamp: 0.25 highlightLowerClamp: 0.25
- EID: 533
Name: Egg
IsActive: true
NumberOfChildren: 4
Components:
Transform Component:
Translate: {x: 3.11708331, y: 0.333341181, z: 6.14019775}
Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 0.999979734, y: 1, z: 0.999979734}
IsActive: true
Renderable Component:
Mesh: 147457317
Material: 122370915
IsActive: true
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: true
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Sphere
Radius: 0.200000003
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: 0}
IsActive: true
Scripts:
- Type: Breakable
Enabled: true
threshHold: 0.5
ignoreRaccoon: true
breakClipHandlerName: SFXEggBreak533
breakClipPath: event:/Props/impact_egg
- Type: Item
Enabled: true
Score: 10
currCategory: 0
density: 2
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 534
Name: Piece1
IsActive: false
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 0.0224030018, y: 0.0607728958, z: -0.00627422333}
Rotate: {x: 0, y: 3.6088712e-09, z: 1.97286229e-16}
Scale: {x: 1, y: 1, z: 1}
IsActive: false
Renderable Component:
Mesh: 134900190
Material: 131956078
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 3
Type: Box
Half Extents: {x: 0.0500000007, y: 0.0500000007, z: 0.0500000007}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0.164060935, y: 0, z: 0}
IsActive: false
Scripts: ~
- EID: 535
Name: Piece2
IsActive: false
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: -0.00627422333, y: 0.0337567925, z: -0.00243234634}
Rotate: {x: 0, y: 3.6088712e-09, z: 1.97286229e-16}
Scale: {x: 1, y: 1, z: 1}
IsActive: false
Renderable Component:
Mesh: 146271645
Material: 131956078
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 3
Type: Box
Half Extents: {x: 0.0500000007, y: 0.0500000007, z: 0.0500000007}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: -0.34906584}
IsActive: false
Scripts: ~
- EID: 536
Name: Piece3
IsActive: false
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: -0.0166685581, y: -0.0367090404, z: 0.0114421844}
Rotate: {x: 0, y: 3.6088712e-09, z: 1.97286229e-16}
Scale: {x: 1, y: 1, z: 1}
IsActive: false
Renderable Component:
Mesh: 135945648
Material: 131956078
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 3
Type: Box
Half Extents: {x: 0.0500000007, y: 0.0500000007, z: 0.0500000007}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: -0.261799395}
IsActive: false
Scripts: ~
- EID: 537
Name: Piece4
IsActive: false
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 0.020128727, y: -0.0155199468, z: -0.0045747757}
Rotate: {x: 0, y: 3.6088712e-09, z: 1.97286229e-16}
Scale: {x: 1, y: 1, z: 1}
IsActive: false
Renderable Component:
Mesh: 141722646
Material: 131956078
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 3
Type: Box
Half Extents: {x: 0.0500000007, y: 0.0500000007, z: 0.0500000007}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: -1.04719758}
IsActive: false
Scripts: ~
- EID: 538 - EID: 538
Name: Egg Name: Egg
IsActive: true IsActive: true
@ -3368,7 +2733,7 @@
Collider Component: Collider Component:
Colliders: Colliders:
- Is Trigger: false - Is Trigger: false
Collision Tag: 0 Collision Tag: 4
Type: Box Type: Box
Half Extents: {x: 1.79999995, y: 1, z: 0.200000003} Half Extents: {x: 1.79999995, y: 1, z: 0.200000003}
Friction: 0.400000006 Friction: 0.400000006
@ -3430,7 +2795,7 @@
Collider Component: Collider Component:
Colliders: Colliders:
- Is Trigger: false - Is Trigger: false
Collision Tag: 0 Collision Tag: 4
Type: Box Type: Box
Half Extents: {x: 1, y: 1.5, z: 0.200000003} Half Extents: {x: 1, y: 1.5, z: 0.200000003}
Friction: 0.400000006 Friction: 0.400000006
@ -3463,7 +2828,7 @@
- Type: PauseMenu - Type: PauseMenu
Enabled: true Enabled: true
resumeBtn: 8 resumeBtn: 8
retryBtn: 459 retryBtn: 458
quitBtn: 0 quitBtn: 0
canvas: 10 canvas: 10
- EID: 199 - EID: 199
@ -3595,7 +2960,7 @@
Components: Components:
Transform Component: Transform Component:
Translate: {x: 0.400000006, y: 0.400000006, z: 0.98999995} Translate: {x: 0.400000006, y: 0.400000006, z: 0.98999995}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: -299.5, z: 0.49999997}
Scale: {x: 4.26499987, y: 2, z: 1} Scale: {x: 4.26499987, y: 2, z: 1}
IsActive: true IsActive: true
Renderable Component: Renderable Component:
@ -6007,7 +5372,7 @@
Drag: 0.00999999978 Drag: 0.00999999978
Angular Drag: 0.100000001 Angular Drag: 0.100000001
Use Gravity: true Use Gravity: true
Interpolate: true Interpolate: false
Sleeping Enabled: true Sleeping Enabled: true
Freeze Position X: false Freeze Position X: false
Freeze Position Y: false Freeze Position Y: false
@ -6033,90 +5398,14 @@
Enabled: true Enabled: true
waypointsPool: 166 waypointsPool: 166
startWaypoint: 162 startWaypoint: 162
patrolSpeed: 3 patrolSpeed: 1
chaseSpeed: 6 chaseSpeed: 2
turningSpeed: 5 turningSpeed: 5
sightDistance: 8 sightDistance: 8
eyeOffset: [0, 1.64999998, 0] eyeOffset: [0, 1.64999998, 0]
distanceToCapture: 0.800000012 distanceToCapture: 0.800000012
captureTime: 0.5 captureTime: 0.5
footstepSFXIntervalMultiplier: 0.5 footstepSFXIntervalMultiplier: 0.5
- EID: 12
Name: Mesh_Meat
IsActive: false
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 0.964969039, y: 0.103873327, z: 6.05876541}
Rotate: {x: -0, y: 0, z: -0}
Scale: {x: 1, y: 1, z: 1}
IsActive: false
Renderable Component:
Mesh: 136892700
Material: 122370915
IsActive: false
RigidBody Component:
Type: Dynamic
Drag: 0.00999999978
Angular Drag: 0.100000001
Use Gravity: true
Interpolate: false
Sleeping Enabled: true
Freeze Position X: false
Freeze Position Y: false
Freeze Position Z: false
Freeze Rotation X: false
Freeze Rotation Y: false
Freeze Rotation Z: false
IsActive: false
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 2
Type: Box
Half Extents: {x: 0.300000012, y: 0.300000012, z: 0.300000012}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: 0}
IsActive: false
Scripts:
- Type: Item
Enabled: true
Score: 50
currCategory: 1
density: 1
dontReturn: false
soundDistance: 10
highlightSpeed: 300
highlightThickness: 250
highlightLowerClamp: 0.25
- EID: 16
Name: JumpPad
IsActive: true
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 3.52692485, y: 0, z: 6.85981083}
Rotate: {x: -0, y: 0, z: -0}
Scale: {x: 1, y: 1, z: 1}
IsActive: true
Collider Component:
Colliders:
- Is Trigger: false
Collision Tag: 1
Type: Box
Half Extents: {x: 1, y: 0.25, z: 1}
Friction: 0.400000006
Bounciness: 0
Density: 1
Position Offset: {x: 0, y: 0, z: 0}
Rotation Offset: {x: 0, y: 0, z: 0}
IsActive: true
Scripts:
- Type: JumpPad
Enabled: true
- EID: 10 - EID: 10
Name: Pause Canvas Name: Pause Canvas
IsActive: false IsActive: false
@ -6127,7 +5416,13 @@
Canvas Height: 1080 Canvas Height: 1080
Scale by canvas width: false Scale by canvas width: false
IsActive: false IsActive: false
Scripts: ~ Scripts:
- Type: PauseMenu
Enabled: true
resumeBtn: 8
retryBtn: 458
quitBtn: 0
canvas: 10
- EID: 8 - EID: 8
Name: ResumeButton Name: ResumeButton
IsActive: true IsActive: true
@ -6168,7 +5463,7 @@
Components: Components:
Transform Component: Transform Component:
Translate: {x: 0, y: -300, z: 0} Translate: {x: 0, y: -300, z: 0}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: -3.74789906, y: 1.43110418, z: 2.63486958}
Scale: {x: 400, y: 100, z: 500} Scale: {x: 400, y: 100, z: 500}
IsActive: true IsActive: true
Renderable Component: Renderable Component:
@ -6727,11 +6022,11 @@
- Is Trigger: false - Is Trigger: false
Collision Tag: 0 Collision Tag: 0
Type: Box Type: Box
Half Extents: {x: 10, y: 0.0500000007, z: 18} Half Extents: {x: 10, y: 1, z: 18}
Friction: 0.400000006 Friction: 0.400000006
Bounciness: 0 Bounciness: 0
Density: 1 Density: 1
Position Offset: {x: 0, y: -0.00999999978, z: 0} Position Offset: {x: 0, y: -0.5, z: 0}
Rotation Offset: {x: 0, y: 0, z: 0} Rotation Offset: {x: 0, y: 0, z: 0}
IsActive: true IsActive: true
Scripts: ~ Scripts: ~

File diff suppressed because it is too large Load Diff

View File

@ -97,7 +97,7 @@
Scripts: Scripts:
- Type: ChangeSceneButton - Type: ChangeSceneButton
Enabled: true Enabled: true
sceneID: 96668835 sceneID: 91947920
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: event:/Music/player_undetected
@ -587,6 +587,8 @@
Text Renderer Component: Text Renderer Component:
Text: Options Text: Options
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -607,6 +609,8 @@
Text Renderer Component: Text Renderer Component:
Text: Audio Text: Audio
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -643,6 +647,8 @@
Text Renderer Component: Text Renderer Component:
Text: Master Text: Master
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -663,6 +669,8 @@
Text Renderer Component: Text Renderer Component:
Text: SFX Text: SFX
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -683,6 +691,8 @@
Text Renderer Component: Text Renderer Component:
Text: BGM Text: BGM
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -788,6 +798,8 @@
Text Renderer Component: Text Renderer Component:
Text: Camera Text: Camera
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -824,6 +836,8 @@
Text Renderer Component: Text Renderer Component:
Text: FOV Text: FOV
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -844,6 +858,8 @@
Text Renderer Component: Text Renderer Component:
Text: Sensitivity Text: Sensitivity
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -942,6 +958,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -967,6 +985,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -992,6 +1012,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -1033,6 +1055,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -1058,6 +1082,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -1146,6 +1172,8 @@
Text Renderer Component: Text Renderer Component:
Text: Credits Text: Credits
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: false IsActive: false
UI Component: UI Component:
Canvas ID: 46 Canvas ID: 46
@ -1225,6 +1253,8 @@
Text Renderer Component: Text Renderer Component:
Text: Level Select Text: Level Select
Font: 174412429 Font: 174412429
Color: {x: 1, y: 1, z: 1, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 50 Canvas ID: 50
@ -1232,3 +1262,39 @@
Clicked: false Clicked: false
IsActive: true IsActive: true
Scripts: ~ Scripts: ~
- EID: 450
Name: TransitionCanvas
IsActive: true
NumberOfChildren: 1
Components:
Canvas Component:
Canvas Width: 1920
Canvas Height: 1080
Scale by canvas width: false
IsActive: true
Scripts: ~
- EID: 65982
Name: Transition
IsActive: true
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 0, y: 0, z: 0.100000001}
Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 2500, y: 1080, z: 1}
IsActive: true
Renderable Component:
Mesh: 141771688
Material: 120016136
IsActive: true
UI Component:
Canvas ID: 450
Hovered: false
Clicked: false
IsActive: true
Scripts:
- Type: SHADE_Scripting.UI.SceneFadeInOut
Enabled: true
alphaValue: 1
fadeInTime: 0.5
fadeOutTime: 0.5

View File

@ -348,7 +348,7 @@ public class PlayerController : Script
if (isMoveKeyPress && tranform && !isAiming) if (isMoveKeyPress && tranform && !isAiming)
{ {
Quaternion currentRotation = tranform.LocalRotation; Quaternion currentRotation = tranform.LocalRotation;
Quaternion targetRotation = Quaternion.LookRotation(new Vector3(axisMove.x, 0.0f, axisMove.y), Vector3.Up); Quaternion targetRotation = Quaternion.Euler(0.0f, MathF.Atan2(axisMove.x,axisMove.y), 0.0f);
tranform.LocalRotation = Quaternion.Slerp(currentRotation, targetRotation, rotationFactorPerFrame * (float)Time.FixedDeltaTime); tranform.LocalRotation = Quaternion.Slerp(currentRotation, targetRotation, rotationFactorPerFrame * (float)Time.FixedDeltaTime);
} }
else if (camArm && tranform && isAiming) else if (camArm && tranform && isAiming)

View File

@ -39,8 +39,6 @@ namespace SHADE_Scripting.UI
if (listOfCamera.Count == 0) if (listOfCamera.Count == 0)
Debug.LogError("EMPTY PREVIEW POINTS"); Debug.LogError("EMPTY PREVIEW POINTS");
listOfCamera[0].SetMainCamera();
moveToEndPoint1 = TweenManager.CreateTweenThreadVec3(duration, listOfCamera[0].GetComponent<Transform>().LocalPosition, endPoint1, EASING_METHOD.EASE_IN_SINE); moveToEndPoint1 = TweenManager.CreateTweenThreadVec3(duration, listOfCamera[0].GetComponent<Transform>().LocalPosition, endPoint1, EASING_METHOD.EASE_IN_SINE);
moveToEndPoint2 = TweenManager.CreateTweenThreadVec3(duration, listOfCamera[1].GetComponent<Transform>().LocalPosition, endPoint2, EASING_METHOD.EASE_IN_SINE); moveToEndPoint2 = TweenManager.CreateTweenThreadVec3(duration, listOfCamera[1].GetComponent<Transform>().LocalPosition, endPoint2, EASING_METHOD.EASE_IN_SINE);
moveToEndPoint3 = TweenManager.CreateTweenThreadVec3(duration, listOfCamera[2].GetComponent<Transform>().LocalPosition, endPoint3, EASING_METHOD.EASE_IN_SINE); moveToEndPoint3 = TweenManager.CreateTweenThreadVec3(duration, listOfCamera[2].GetComponent<Transform>().LocalPosition, endPoint3, EASING_METHOD.EASE_IN_SINE);
@ -48,6 +46,11 @@ namespace SHADE_Scripting.UI
} }
protected override void start()
{
listOfCamera[0].SetMainCamera();
}
protected override void update() protected override void update()
{ {
if (!SceneFadeInOut.Instance.FadeOutFinished() && !point1Done) if (!SceneFadeInOut.Instance.FadeOutFinished() && !point1Done)
@ -60,6 +63,7 @@ namespace SHADE_Scripting.UI
{ {
skip = true; skip = true;
point1Done = true; point1Done = true;
point3Done = true;
SceneFadeInOut.Instance.CallFadeIn(); SceneFadeInOut.Instance.CallFadeIn();
SceneFadeInOut.Instance.alphaValue = 0.01f; SceneFadeInOut.Instance.alphaValue = 0.01f;
} }

View File

@ -44,9 +44,6 @@ namespace SHADE_Scripting.UI
onHoverExitACHandler = SHADE.Audio.CreateAudioClip(onHoverExitSound); onHoverExitACHandler = SHADE.Audio.CreateAudioClip(onHoverExitSound);
onClickACHandler = SHADE.Audio.CreateAudioClip(onClickSound); onClickACHandler = SHADE.Audio.CreateAudioClip(onClickSound);
onReleaseACHandler = SHADE.Audio.CreateAudioClip(onReleaseSound); onReleaseACHandler = SHADE.Audio.CreateAudioClip(onReleaseSound);
} }
protected override void start() protected override void start()
@ -110,7 +107,7 @@ namespace SHADE_Scripting.UI
return; return;
if (tweening == true && thread != null) if (tweening == true && thread != null)
{ {
Debug.Log("Tweening value " + thread.GetValue()); //Debug.Log("Tweening value " + thread.GetValue());
transform.LocalScale = defaultScale * thread.GetValue(); transform.LocalScale = defaultScale * thread.GetValue();
currentScale = thread.GetValue(); currentScale = thread.GetValue();
if (thread.IsCompleted()) if (thread.IsCompleted())