From c8a316e4b8987dad963656a34665fa0e23dedcb1 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 22 Apr 2024 16:34:25 +0200 Subject: update --- Scenes/Entities/Objects/Vines.tscn | 58 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Scenes/Entities/Objects/Vines.tscn (limited to 'Scenes/Entities/Objects/Vines.tscn') 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 -- cgit v1.2.3