细节优化
This commit is contained in:
parent
27648b5de2
commit
4a0ae0aa0f
Binary file not shown.
|
@ -1714,7 +1714,7 @@
|
|||
"CameraShake": 2,
|
||||
"BacklashRange": [
|
||||
1,
|
||||
1
|
||||
2
|
||||
],
|
||||
"BacklashRegressionSpeed": 35,
|
||||
"UpliftAngle": 3,
|
||||
|
@ -1790,7 +1790,7 @@
|
|||
"CameraShake": 2,
|
||||
"BacklashRange": [
|
||||
1,
|
||||
1
|
||||
2
|
||||
],
|
||||
"BacklashRegressionSpeed": 35,
|
||||
"UpliftAngle": 3,
|
||||
|
|
|
@ -123,7 +123,7 @@ DefaultLayer = 1
|
|||
ShowOffset = Vector2(2.08165e-12, 2)
|
||||
CollisionVisible = false
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0006" index="1"]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0006" index="0"]
|
||||
position = Vector2(-10, -3)
|
||||
texture = ExtResource("7_30qwa")
|
||||
|
||||
|
@ -135,7 +135,7 @@ DefaultLayer = 1
|
|||
ShowOffset = Vector2(2.08165e-12, 2)
|
||||
CollisionVisible = false
|
||||
|
||||
[node name="ActivityInstance" type="Node2D" parent="ItemRoot/Item0008" index="1"]
|
||||
[node name="ActivityInstance" type="Node2D" parent="ItemRoot/Item0008" index="0"]
|
||||
position = Vector2(2.5, -12)
|
||||
script = ExtResource("5_lowqi")
|
||||
Id = "item_0031"
|
||||
|
@ -151,7 +151,7 @@ DefaultLayer = 1
|
|||
ShowOffset = Vector2(2.08165e-12, 2)
|
||||
CollisionVisible = false
|
||||
|
||||
[node name="Item26" type="Sprite2D" parent="ItemRoot/Item0013" index="1"]
|
||||
[node name="Item26" type="Sprite2D" parent="ItemRoot/Item0013" index="0"]
|
||||
position = Vector2(18, -2)
|
||||
texture = ExtResource("8_61dkg")
|
||||
|
||||
|
@ -163,19 +163,19 @@ DefaultLayer = 1
|
|||
ShowOffset = Vector2(2.08165e-12, 2)
|
||||
CollisionVisible = false
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0017" index="1"]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0017" index="0"]
|
||||
position = Vector2(-2, -13)
|
||||
texture = ExtResource("8_u3vry")
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="ItemRoot/Item0017" index="2"]
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="ItemRoot/Item0017" index="1"]
|
||||
position = Vector2(18, -11)
|
||||
texture = ExtResource("9_lhdr8")
|
||||
|
||||
[node name="Sprite2D3" type="Sprite2D" parent="ItemRoot/Item0017" index="3"]
|
||||
[node name="Sprite2D3" type="Sprite2D" parent="ItemRoot/Item0017" index="2"]
|
||||
position = Vector2(-16, -2)
|
||||
texture = ExtResource("10_4eqn0")
|
||||
|
||||
[node name="Sprite2D4" type="Sprite2D" parent="ItemRoot/Item0017" index="4"]
|
||||
[node name="Sprite2D4" type="Sprite2D" parent="ItemRoot/Item0017" index="3"]
|
||||
position = Vector2(10, -1)
|
||||
texture = ExtResource("11_tg3jo")
|
||||
|
||||
|
@ -201,11 +201,11 @@ Id = "item_0002"
|
|||
DefaultLayer = 1
|
||||
CollisionVisible = false
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0002" index="1"]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0002" index="0"]
|
||||
position = Vector2(32, -2)
|
||||
texture = ExtResource("12_agfji")
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="ItemRoot/Item0002" index="2"]
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="ItemRoot/Item0002" index="1"]
|
||||
material = SubResource("ShaderMaterial_i7git")
|
||||
position = Vector2(0, -15)
|
||||
scale = Vector2(1, -1)
|
||||
|
@ -223,7 +223,7 @@ script = ExtResource("5_lowqi")
|
|||
Id = "item_0004"
|
||||
DefaultLayer = 1
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0004" index="1"]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0004" index="0"]
|
||||
position = Vector2(0, -17)
|
||||
texture = ExtResource("13_unnpl")
|
||||
|
||||
|
@ -258,15 +258,15 @@ script = ExtResource("5_lowqi")
|
|||
Id = "item_0009"
|
||||
DefaultLayer = 1
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0009" index="1"]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0009" index="0"]
|
||||
position = Vector2(-24, -10)
|
||||
texture = ExtResource("15_h7524")
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="ItemRoot/Item0009" index="2"]
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="ItemRoot/Item0009" index="1"]
|
||||
position = Vector2(1, -10)
|
||||
texture = ExtResource("15_h7524")
|
||||
|
||||
[node name="Sprite2D3" type="Sprite2D" parent="ItemRoot/Item0009" index="3"]
|
||||
[node name="Sprite2D3" type="Sprite2D" parent="ItemRoot/Item0009" index="2"]
|
||||
position = Vector2(37, -10)
|
||||
texture = ExtResource("15_h7524")
|
||||
|
||||
|
@ -300,7 +300,7 @@ script = ExtResource("5_lowqi")
|
|||
Id = "item_0015"
|
||||
DefaultLayer = 1
|
||||
|
||||
[node name="Slice04" type="Sprite2D" parent="ItemRoot/Item0015" index="1"]
|
||||
[node name="Slice04" type="Sprite2D" parent="ItemRoot/Item0015" index="0"]
|
||||
position = Vector2(16, -9)
|
||||
texture = ExtResource("15_h7524")
|
||||
|
||||
|
@ -322,11 +322,11 @@ script = ExtResource("5_lowqi")
|
|||
Id = "item_0019"
|
||||
DefaultLayer = 1
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0019" index="1"]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="ItemRoot/Item0019" index="0"]
|
||||
position = Vector2(-23, -7)
|
||||
texture = ExtResource("16_xj0e1")
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="ItemRoot/Item0019" index="2"]
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="ItemRoot/Item0019" index="1"]
|
||||
position = Vector2(24, -8)
|
||||
texture = ExtResource("17_gwwce")
|
||||
|
||||
|
|
|
@ -1235,9 +1235,9 @@ public abstract partial class Weapon : ActivityObject, IPackageItem<Role>
|
|||
}
|
||||
else //在地上
|
||||
{
|
||||
var v = Utils.Random.RandomConfigRange(Attribute.BacklashRange) * 5;
|
||||
var v = Utils.Random.RandomConfigRange(Attribute.BacklashRange) * 15;
|
||||
var externalForce = MoveController.AddForce(new Vector2(-v, 0).Rotated(Rotation));
|
||||
externalForce.RotationSpeed = -Mathf.DegToRad(40);
|
||||
externalForce.RotationSpeed = -Mathf.DegToRad(50);
|
||||
externalForce.RotationResistance = Mathf.DegToRad(80);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user