Bug fixes, Scene changes and new features #376
|
@ -0,0 +1,8 @@
|
||||||
|
- VertexShader: 46580970
|
||||||
|
FragmentShader: 35983630
|
||||||
|
SubPass: UI
|
||||||
|
Properties:
|
||||||
|
data.color: {x: 1, y: 1, z: 1, w: 1}
|
||||||
|
data.textureIndex: 63456868
|
||||||
|
data.alpha: 1
|
||||||
|
data.beta: {x: 1, y: 1, z: 1}
|
|
@ -0,0 +1,3 @@
|
||||||
|
Name: Steal_Food
|
||||||
|
ID: 127459277
|
||||||
|
Type: 7
|
|
@ -4472,7 +4472,7 @@
|
||||||
IsActive: true
|
IsActive: true
|
||||||
Renderable Component:
|
Renderable Component:
|
||||||
Mesh: 136892700
|
Mesh: 136892700
|
||||||
Material: 131956078
|
Material: 122370915
|
||||||
IsActive: true
|
IsActive: true
|
||||||
RigidBody Component:
|
RigidBody Component:
|
||||||
Type: Dynamic
|
Type: Dynamic
|
||||||
|
@ -4523,7 +4523,7 @@
|
||||||
IsActive: true
|
IsActive: true
|
||||||
Renderable Component:
|
Renderable Component:
|
||||||
Mesh: 141841143
|
Mesh: 141841143
|
||||||
Material: 131956078
|
Material: 122370915
|
||||||
IsActive: true
|
IsActive: true
|
||||||
RigidBody Component:
|
RigidBody Component:
|
||||||
Type: Dynamic
|
Type: Dynamic
|
||||||
|
@ -4574,7 +4574,7 @@
|
||||||
IsActive: true
|
IsActive: true
|
||||||
Renderable Component:
|
Renderable Component:
|
||||||
Mesh: 144128170
|
Mesh: 144128170
|
||||||
Material: 131956078
|
Material: 122370915
|
||||||
IsActive: true
|
IsActive: true
|
||||||
RigidBody Component:
|
RigidBody Component:
|
||||||
Type: Dynamic
|
Type: Dynamic
|
||||||
|
@ -4625,7 +4625,7 @@
|
||||||
IsActive: true
|
IsActive: true
|
||||||
Renderable Component:
|
Renderable Component:
|
||||||
Mesh: 144128170
|
Mesh: 144128170
|
||||||
Material: 131956078
|
Material: 122370915
|
||||||
IsActive: true
|
IsActive: true
|
||||||
RigidBody Component:
|
RigidBody Component:
|
||||||
Type: Dynamic
|
Type: Dynamic
|
||||||
|
@ -4983,7 +4983,7 @@
|
||||||
- EID: 217
|
- EID: 217
|
||||||
Name: ===Anims===
|
Name: ===Anims===
|
||||||
IsActive: true
|
IsActive: true
|
||||||
NumberOfChildren: 5
|
NumberOfChildren: 4
|
||||||
Components: ~
|
Components: ~
|
||||||
Scripts: ~
|
Scripts: ~
|
||||||
- EID: 221
|
- EID: 221
|
||||||
|
@ -5071,7 +5071,7 @@
|
||||||
- EID: 65775
|
- EID: 65775
|
||||||
Name: Player
|
Name: Player
|
||||||
IsActive: true
|
IsActive: true
|
||||||
NumberOfChildren: 3
|
NumberOfChildren: 5
|
||||||
Components:
|
Components:
|
||||||
Transform Component:
|
Transform Component:
|
||||||
Translate: {x: -8, y: 1.142977, z: -4}
|
Translate: {x: -8, y: 1.142977, z: -4}
|
||||||
|
@ -5131,8 +5131,8 @@
|
||||||
delayTimer: 1
|
delayTimer: 1
|
||||||
aimingLength: 0.899999976
|
aimingLength: 0.899999976
|
||||||
throwItem: false
|
throwItem: false
|
||||||
silhouettePlayer: 51000
|
silhouettePlayer: 462
|
||||||
silhouetteBag: 51000
|
silhouetteBag: 465
|
||||||
rayDistance: 0.5
|
rayDistance: 0.5
|
||||||
rayHeight: 0.100000001
|
rayHeight: 0.100000001
|
||||||
aimingFOV: 50
|
aimingFOV: 50
|
||||||
|
@ -5202,6 +5202,36 @@
|
||||||
Material: 123745521
|
Material: 123745521
|
||||||
IsActive: true
|
IsActive: true
|
||||||
Scripts: ~
|
Scripts: ~
|
||||||
|
- EID: 462
|
||||||
|
Name: SilouettePlayer
|
||||||
|
IsActive: true
|
||||||
|
NumberOfChildren: 0
|
||||||
|
Components:
|
||||||
|
Transform Component:
|
||||||
|
Translate: {x: 0, y: 0, z: 0}
|
||||||
|
Rotate: {x: 0, y: 0, z: 0}
|
||||||
|
Scale: {x: 1.00000012, y: 1, z: 1.00000012}
|
||||||
|
IsActive: true
|
||||||
|
Renderable Component:
|
||||||
|
Mesh: 149697411
|
||||||
|
Material: 126391182
|
||||||
|
IsActive: true
|
||||||
|
Scripts: ~
|
||||||
|
- EID: 465
|
||||||
|
Name: SilouetteBag
|
||||||
|
IsActive: true
|
||||||
|
NumberOfChildren: 0
|
||||||
|
Components:
|
||||||
|
Transform Component:
|
||||||
|
Translate: {x: 0, y: 0, z: 0}
|
||||||
|
Rotate: {x: 0, y: 0, z: 0}
|
||||||
|
Scale: {x: 1.00000012, y: 1, z: 1.00000012}
|
||||||
|
IsActive: true
|
||||||
|
Renderable Component:
|
||||||
|
Mesh: 144838771
|
||||||
|
Material: 126391182
|
||||||
|
IsActive: true
|
||||||
|
Scripts: ~
|
||||||
- EID: 65732
|
- EID: 65732
|
||||||
Name: RespawnPoint
|
Name: RespawnPoint
|
||||||
IsActive: true
|
IsActive: true
|
||||||
|
@ -5213,3 +5243,34 @@
|
||||||
Scale: {x: 1, y: 1, z: 1}
|
Scale: {x: 1, y: 1, z: 1}
|
||||||
IsActive: true
|
IsActive: true
|
||||||
Scripts: ~
|
Scripts: ~
|
||||||
|
- EID: 464
|
||||||
|
Name: Canvas
|
||||||
|
IsActive: true
|
||||||
|
NumberOfChildren: 1
|
||||||
|
Components:
|
||||||
|
Canvas Component:
|
||||||
|
Canvas Width: 1920
|
||||||
|
Canvas Height: 1080
|
||||||
|
Scale by canvas width: false
|
||||||
|
IsActive: true
|
||||||
|
Scripts: ~
|
||||||
|
- EID: 460
|
||||||
|
Name: RetryButton
|
||||||
|
IsActive: true
|
||||||
|
NumberOfChildren: 0
|
||||||
|
Components:
|
||||||
|
Transform Component:
|
||||||
|
Translate: {x: 0, y: -100, z: 0}
|
||||||
|
Rotate: {x: 0, y: 0, z: 0}
|
||||||
|
Scale: {x: 300, y: 300, z: 500}
|
||||||
|
IsActive: true
|
||||||
|
Renderable Component:
|
||||||
|
Mesh: 141771688
|
||||||
|
Material: 127459277
|
||||||
|
IsActive: true
|
||||||
|
UI Component:
|
||||||
|
Canvas ID: 464
|
||||||
|
Hovered: false
|
||||||
|
Clicked: false
|
||||||
|
IsActive: true
|
||||||
|
Scripts: ~
|
|
@ -59,7 +59,7 @@
|
||||||
- EID: 240
|
- EID: 240
|
||||||
Name: ====ItemPool====
|
Name: ====ItemPool====
|
||||||
IsActive: true
|
IsActive: true
|
||||||
NumberOfChildren: 29
|
NumberOfChildren: 31
|
||||||
Components: ~
|
Components: ~
|
||||||
Scripts: ~
|
Scripts: ~
|
||||||
- EID: 241
|
- EID: 241
|
||||||
|
@ -1968,6 +1968,108 @@
|
||||||
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: 15
|
- EID: 15
|
||||||
Name: ====ScoreZonePool====
|
Name: ====ScoreZonePool====
|
||||||
IsActive: true
|
IsActive: true
|
||||||
|
@ -4722,7 +4824,7 @@
|
||||||
Components:
|
Components:
|
||||||
Transform Component:
|
Transform Component:
|
||||||
Translate: {x: 0, y: -300, z: 0}
|
Translate: {x: 0, y: -300, z: 0}
|
||||||
Rotate: {x: -1.48352981, y: 0, z: 0}
|
Rotate: {x: 0, y: 0, z: 0}
|
||||||
Scale: {x: 300, y: 200, z: 500}
|
Scale: {x: 300, y: 200, z: 500}
|
||||||
IsActive: true
|
IsActive: true
|
||||||
Renderable Component:
|
Renderable Component:
|
||||||
|
|
|
@ -203,26 +203,31 @@
|
||||||
Hovered: false
|
Hovered: false
|
||||||
Clicked: false
|
Clicked: false
|
||||||
IsActive: true
|
IsActive: true
|
||||||
Scripts: ~
|
Scripts:
|
||||||
|
- Type: SHADE_Scripting.UI.ScaleBounce
|
||||||
|
Enabled: true
|
||||||
|
minScale: 1
|
||||||
|
maxScale: 1.20000005
|
||||||
|
duration: 1.5
|
||||||
- EID: 54
|
- EID: 54
|
||||||
Name: test
|
Name: test
|
||||||
IsActive: true
|
IsActive: false
|
||||||
NumberOfChildren: 0
|
NumberOfChildren: 0
|
||||||
Components:
|
Components:
|
||||||
Transform Component:
|
Transform Component:
|
||||||
Translate: {x: 0, y: 0, z: 0}
|
Translate: {x: 0, y: 0, z: 0}
|
||||||
Rotate: {x: 0, y: 0, z: 3.14159274}
|
Rotate: {x: 0, y: 0, z: 3.14159274}
|
||||||
Scale: {x: 1920, y: 500, z: 1}
|
Scale: {x: 1920, y: 500, z: 1}
|
||||||
IsActive: true
|
IsActive: false
|
||||||
Renderable Component:
|
Renderable Component:
|
||||||
Mesh: 141771688
|
Mesh: 141771688
|
||||||
Material: 129138332
|
Material: 129138332
|
||||||
IsActive: true
|
IsActive: false
|
||||||
UI Component:
|
UI Component:
|
||||||
Canvas ID: 0
|
Canvas ID: 0
|
||||||
Hovered: false
|
Hovered: false
|
||||||
Clicked: false
|
Clicked: false
|
||||||
IsActive: true
|
IsActive: false
|
||||||
Scripts: ~
|
Scripts: ~
|
||||||
- EID: 2
|
- EID: 2
|
||||||
Name: Light
|
Name: Light
|
||||||
|
@ -270,13 +275,14 @@
|
||||||
Enabled: true
|
Enabled: true
|
||||||
sceneID: 96668835
|
sceneID: 96668835
|
||||||
obj: 1
|
obj: 1
|
||||||
test: 54
|
|
||||||
- EID: 8
|
- EID: 8
|
||||||
Name: TweenManager
|
Name: TweenManager
|
||||||
IsActive: true
|
IsActive: true
|
||||||
NumberOfChildren: 0
|
NumberOfChildren: 0
|
||||||
Components: ~
|
Components: ~
|
||||||
Scripts: ~
|
Scripts:
|
||||||
|
- Type: SHADE_Scripting.UI.TweenManager
|
||||||
|
Enabled: true
|
||||||
- EID: 13
|
- EID: 13
|
||||||
Name: How To Play Canvas
|
Name: How To Play Canvas
|
||||||
IsActive: false
|
IsActive: false
|
||||||
|
|
|
@ -55,6 +55,22 @@ public class Item : Script
|
||||||
protected override void start()
|
protected override void start()
|
||||||
{
|
{
|
||||||
GameManager.Instance.totalItemCount += 1;
|
GameManager.Instance.totalItemCount += 1;
|
||||||
|
|
||||||
|
if (rend)
|
||||||
|
{
|
||||||
|
if (currCategory == ItemCategory.LIGHT)
|
||||||
|
{
|
||||||
|
highlightThickness /= 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (currCategory == ItemCategory.MEDIUM)
|
||||||
|
{
|
||||||
|
highlightThickness /= 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
rend.Material.SetProperty<float>("data.thickness", highlightThickness);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void update()
|
protected override void update()
|
||||||
|
@ -66,7 +82,6 @@ public class Item : Script
|
||||||
float ratio = System.Math.Clamp(1 - (disSqr / (1 + disSqr)), highlightLowerClamp, 1.0f);
|
float ratio = System.Math.Clamp(1 - (disSqr / (1 + disSqr)), highlightLowerClamp, 1.0f);
|
||||||
highlightPos += highlightSpeed * Time.DeltaTimeF * ratio;
|
highlightPos += highlightSpeed * Time.DeltaTimeF * ratio;
|
||||||
rend.Material.SetProperty<float>("data.highlightPosition", highlightPos);
|
rend.Material.SetProperty<float>("data.highlightPosition", highlightPos);
|
||||||
rend.Material.SetProperty<float>("data.thickness", highlightThickness);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (returnBack && !dontReturn)
|
if (returnBack && !dontReturn)
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
||||||
|
Name: TX_Steal_Food
|
||||||
|
ID: 63456868
|
||||||
|
Type: 3
|
Loading…
Reference in New Issue