diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-04-22 16:34:25 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-04-22 16:34:25 +0200 |
commit | c8a316e4b8987dad963656a34665fa0e23dedcb1 (patch) | |
tree | 569af4b4f37d21079b6aedfad5164e94b50b6cb8 /Scenes/Entities/Objects/Vines.tscn | |
parent | f27937e6e9b6a7146dd09fc711d2d293ecf5abbf (diff) |
update
Diffstat (limited to 'Scenes/Entities/Objects/Vines.tscn')
-rw-r--r-- | Scenes/Entities/Objects/Vines.tscn | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Scenes/Entities/Objects/Vines.tscn b/Scenes/Entities/Objects/Vines.tscn new file mode 100644 index 0000000..2fd10f8 --- /dev/null +++ b/Scenes/Entities/Objects/Vines.tscn @@ -0,0 +1,58 @@ +[gd_scene load_steps=9 format=3 uid="uid://ceoy1eb10tq0a"] + +[ext_resource type="Script" path="res://Scenes/Entities/Objects/Vines.gd" id="1_ymtv0"] +[ext_resource type="Texture2D" uid="uid://bxl3lqlm22eem" path="res://Assets/Stages/core_outdoor.png" id="2_8tl8f"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_5f74o"] +resource_local_to_scene = true +size = Vector2(14, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_skslo"] +atlas = ExtResource("2_8tl8f") +region = Rect2(384, 528, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_u5r5b"] +atlas = ExtResource("2_8tl8f") +region = Rect2(384, 528, 32, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_5h70f"] +atlas = ExtResource("2_8tl8f") +region = Rect2(384, 528, 48, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_osbyn"] +atlas = ExtResource("2_8tl8f") +region = Rect2(384, 528, 64, 16) + +[sub_resource type="SpriteFrames" id="SpriteFrames_xn7q5"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_skslo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_u5r5b") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_5h70f") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_osbyn") +}], +"loop": false, +"name": &"default", +"speed": 8.0 +}] + +[node name="Vines" type="StaticBody2D"] +z_index = -1 +collision_layer = 72 +collision_mask = 0 +script = ExtResource("1_ymtv0") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("RectangleShape2D_5f74o") + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] +position = Vector2(-8, -8) +sprite_frames = SubResource("SpriteFrames_xn7q5") +centered = false |