xiandie/scene/player/main_player.tscn

28 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-12-23 01:29:31 +00:00
[gd_scene load_steps=5 format=3 uid="uid://cjhw5ecygrqty"]
[ext_resource type="Script" path="res://scene/player/main_player.gd" id="1_3a78y"]
[ext_resource type="SpriteFrames" uid="uid://cs44glabs8sma" path="res://config/animation/player_sprite_frames.tres" id="1_23i43"]
2024-12-23 01:29:31 +00:00
[ext_resource type="Texture2D" uid="uid://t526pexw4ng4" path="res://asset/art/neutral_point_light.webp" id="3_scilj"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fno82"]
size = Vector2(105, 238.5)
[node name="MainPlayer" type="CharacterBody2D"]
2024-12-23 01:29:31 +00:00
script = ExtResource("1_3a78y")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
unique_name_in_owner = true
sprite_frames = ExtResource("1_23i43")
animation = &"idle_r"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-1, -1)
shape = SubResource("RectangleShape2D_fno82")
[node name="PointLight2D" type="PointLight2D" parent="."]
position = Vector2(2, -175)
scale = Vector2(0.810547, 0.849609)
energy = 0.4
texture = ExtResource("3_scilj")
height = 50.0