Lessons/tutorial---basic-player-traits/player.tscn

38 lines
1.1 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=6 format=3 uid="uid://dn6vstynf4qyu"]
[ext_resource type="Script" path="res://player.gd" id="1_ro1ml"]
2024-10-18 04:04:28 +00:00
[ext_resource type="Texture2D" uid="uid://c01t7u0aoeir7" path="res://assets/HelenMidQuality.png" id="2_k2fmb"]
[sub_resource type="SpriteFrames" id="SpriteFrames_77x2a"]
animations = [{
"frames": [{
"duration": 1.0,
2024-10-18 04:04:28 +00:00
"texture": ExtResource("2_k2fmb")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_emqsv"]
2024-10-18 04:04:28 +00:00
radius = 67.42
[sub_resource type="CircleShape2D" id="CircleShape2D_tnmln"]
2024-10-18 04:04:28 +00:00
radius = 9.06
[node name="Player" type="Area2D"]
script = ExtResource("1_ro1ml")
metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
2024-10-18 04:04:28 +00:00
position = Vector2(3.08, 0)
scale = Vector2(0.65, 0.65)
sprite_frames = SubResource("SpriteFrames_77x2a")
[node name="GrazeBox" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_emqsv")
[node name="KillBox" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_tnmln")
debug_color = Color(0.966315, 0, 0.481295, 0.42)