fixed the data_link length

This commit is contained in:
Fabio 2024-08-18 15:43:21 +02:00
parent 0eb335e0bf
commit 55f4163ef0
11 changed files with 257 additions and 62 deletions

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=5 format=3 uid="uid://snxpqx0ony7s"]
[gd_scene load_steps=6 format=3 uid="uid://snxpqx0ony7s"]
[ext_resource type="Script" path="res://scripts/player_movement.gd" id="1_a6lhy"]
[ext_resource type="Texture2D" uid="uid://qcx482jc7pqr" path="res://textures/player.png" id="2_sscjv"]
[ext_resource type="Texture2D" uid="uid://dfvxk0e8taj1d" path="res://textures/Eye Lase.png" id="3_yg3ur"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jqi2f"]
radius = 9.0
@ -29,4 +30,12 @@ collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox"]
shape = SubResource("CircleShape2D_vxfel")
[node name="data_link" type="Line2D" parent="."]
visible = false
texture_repeat = 2
points = PackedVector2Array(0, 0, 0, 0)
default_color = Color(0.298039, 1, 0.141176, 1)
texture = ExtResource("3_yg3ur")
texture_mode = 1
[connection signal="body_entered" from="Hurtbox" to="." method="_on_hurtbox_body_entered"]