This commit is contained in:
Haze Weathers 2025-03-02 15:26:40 -05:00
parent cf586f6ea7
commit 1311e18f1f
3 changed files with 20 additions and 62 deletions

View file

@ -2,7 +2,7 @@
[ext_resource type="Script" path="res://objects/enemies/lashy/lashy.gd" id="1_34o54"]
[ext_resource type="Texture2D" uid="uid://cm4cantqbhkwx" path="res://assets/textures/enemies/lashy/lashy_anchor.png" id="2_8ls3k"]
[ext_resource type="Script" path="res://scripts/ball_snake.gd" id="3_8edxw"]
[ext_resource type="Script" path="res://scripts/ball_snake/ball_snake.gd" id="3_8edxw"]
[ext_resource type="Texture2D" uid="uid://gnkke4rr0wcr" path="res://assets/textures/enemies/lashy/lashy_body.png" id="4_xnkdk"]
[ext_resource type="Texture2D" uid="uid://bf0i64q2dw0au" path="res://assets/textures/enemies/lashy/lashy_head.png" id="5_b5g1y"]
@ -45,6 +45,7 @@ texture = ExtResource("4_xnkdk")
target = NodePath("../HeadPivot/Head")
segments = 2
head_segment = false
tail_segment = true
auto_density = true
pixels_per_segment = 5.0

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=9 format=3 uid="uid://bwtjfpfkykfdr"]
[ext_resource type="Script" path="res://scripts/ball_snake.gd" id="1_7ck2q"]
[ext_resource type="Script" path="res://scripts/ball_snake/ball_snake.gd" id="1_7ck2q"]
[ext_resource type="Texture2D" uid="uid://cvgdwf28yr7fw" path="res://assets/textures/rotoboy/rotoboy.png" id="2_3s2uc"]
[ext_resource type="Texture2D" uid="uid://ckfu1u3qxssrj" path="res://assets/textures/rotoboy/rotoboy_face.png" id="3_gp51k"]
@ -9,6 +9,21 @@
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8o2cr"]
size = Vector2(48, 8)
[sub_resource type="Animation" id="Animation_bsslc"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("RotatingPiece:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="Animation" id="Animation_eby5m"]
resource_name = "spin"
length = 5.0
@ -26,21 +41,6 @@ tracks/0/keys = {
"values": [0.0, 0.0, 12.5664]
}
[sub_resource type="Animation" id="Animation_bsslc"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("RotatingPiece:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_l3464"]
_data = {
"RESET": SubResource("Animation_bsslc"),
@ -68,6 +68,7 @@ script = ExtResource("1_7ck2q")
texture = ExtResource("2_3s2uc")
target = NodePath("../RotatingPiece/SnakeEndLeft")
segments = 2
head_segment = true
tail_segment = false
auto_density = true
pixels_per_segment = 6.0
@ -77,6 +78,7 @@ script = ExtResource("1_7ck2q")
texture = ExtResource("2_3s2uc")
target = NodePath("../RotatingPiece/SnakeEndRight")
segments = 2
head_segment = true
tail_segment = false
auto_density = true
pixels_per_segment = 6.0