57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://c44hesqr12wxd"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Animations/rockThrowAnim.gd" id="1_owh0v"]
|
|
[ext_resource type="Texture2D" uid="uid://dwsd0hggrxbdq" path="res://Sprites/Animations/Rock Pack/Rocks 64x64 by Captainskeleto.png" id="2_addwy"]
|
|
|
|
[sub_resource type="Curve2D" id="Curve2D_gdix6"]
|
|
_data = {
|
|
"points": PackedVector2Array(0, 0, 0, 0, 371, 664, 0, 0, 0, 0, 370, 481, 0, 0, 0, 0, 373, 311, 0, 0, 0, 0, 882, 362)
|
|
}
|
|
point_count = 4
|
|
|
|
[sub_resource type="Curve2D" id="Curve2D_m36l3"]
|
|
_data = {
|
|
"points": PackedVector2Array(0, 0, 0, 0, 30, 39, 0, 0, 0, 0, 69, 45, 0, 0, 0, 0, 114, 61, 0, 0, 0, 0, 164, 98, 0, 0, 0, 0, 217, 179, 0, 0, 0, 0, 258, 318, 0, 0, 0, 0, 272, 436, 0, 0, 0, 0, 281, 600)
|
|
}
|
|
point_count = 8
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wqvpx"]
|
|
atlas = ExtResource("2_addwy")
|
|
region = Rect2(128, 192, 64, 64)
|
|
|
|
[node name="RockThrowAnim" type="Node2D"]
|
|
script = ExtResource("1_owh0v")
|
|
|
|
[node name="Path2D" type="Path2D" parent="."]
|
|
curve = SubResource("Curve2D_gdix6")
|
|
|
|
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"]
|
|
position = Vector2(371, 664)
|
|
rotates = false
|
|
loop = false
|
|
|
|
[node name="Path2D" type="Path2D" parent="Path2D/PathFollow2D"]
|
|
position = Vector2(-32, -32)
|
|
curve = SubResource("Curve2D_m36l3")
|
|
|
|
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D/PathFollow2D/Path2D"]
|
|
position = Vector2(30, 39)
|
|
rotation = 0.152649
|
|
rotates = false
|
|
loop = false
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Path2D/PathFollow2D"]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -32.0
|
|
offset_top = -32.0
|
|
offset_right = 32.0
|
|
offset_bottom = 32.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
pivot_offset = Vector2(31.8413, 32.0651)
|
|
texture = SubResource("AtlasTexture_wqvpx")
|