50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
[gd_resource type="Resource" script_class="ShakeEffect" load_steps=8 format=3 uid="uid://c2wbn25rxynk8"]
|
|
|
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Animation/Shake/ShakeEffect.cs" id="1_41sot"]
|
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Animation/AnimationCurve.cs" id="2_rwbu4"]
|
|
[ext_resource type="Resource" uid="uid://h6oi6vkj4c2m" path="res://addons/rokojori_action_library/Runtime/Time/TimeLines/RealTime.tres" id="3_rqeiy"]
|
|
|
|
[sub_resource type="Curve" id="Curve_j2uji"]
|
|
min_value = -1.0
|
|
_data = [Vector2(0, 1), 0.0, -0.608916, 0, 0, Vector2(1, -1), -3.46819, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="Resource" id="Resource_jwnpm"]
|
|
script = ExtResource("2_rwbu4")
|
|
duration = 0.4
|
|
durationRandomRange = 0.0
|
|
delay = 0.0
|
|
delayRandomRange = 0.0
|
|
curve = SubResource("Curve_j2uji")
|
|
scaleY = 1.0
|
|
scaleRandomRange = 0.0
|
|
|
|
[sub_resource type="Curve" id="Curve_b6b7u"]
|
|
_data = [Vector2(0, 0.368339), 0.0, 3.25035, 0, 0, Vector2(0.264591, 0.73511), 0.0, 0.0, 0, 0, Vector2(1, 0.266458), -0.637268, 0.0, 1, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="Resource" id="Resource_1s2e6"]
|
|
script = ExtResource("2_rwbu4")
|
|
duration = 0.5
|
|
durationRandomRange = 0.0
|
|
delay = 0.0
|
|
delayRandomRange = 0.0
|
|
curve = SubResource("Curve_b6b7u")
|
|
scaleY = 30.0
|
|
scaleRandomRange = 0.0
|
|
|
|
[resource]
|
|
script = ExtResource("1_41sot")
|
|
shakeAmountCurve = SubResource("Resource_jwnpm")
|
|
shakeChangeFPSCurve = SubResource("Resource_1s2e6")
|
|
timeline = ExtResource("3_rqeiy")
|
|
smooth = true
|
|
smoothingStrength = 0.291
|
|
positionShake = Vector3(0.075, 0, 0.075)
|
|
globalPosition = true
|
|
repeatAndFlipFirstPosition = true
|
|
rotationShake = Vector3(2, 2, 40)
|
|
globalRotation = false
|
|
scaleShake = Vector3(0.5, 0.5, 0.1)
|
|
scaleShakeIsRelative = true
|