This commit is contained in:
2024-10-18 20:59:51 +02:00
parent abb826e76e
commit 2a73a9cad0
6 changed files with 86 additions and 0 deletions

16
scene/player.tscn Normal file
View File

@@ -0,0 +1,16 @@
[gd_scene load_steps=4 format=3 uid="uid://4ubk6w44h4s2"]
[ext_resource type="Script" path="res://script/Player.cs" id="1_gmlsd"]
[ext_resource type="Texture2D" uid="uid://c0vb33qqa2u1u" path="res://icon.svg" id="2_7ko2y"]
[sub_resource type="CircleShape2D" id="CircleShape2D_5g3cc"]
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_gmlsd")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_5g3cc")
[node name="Icon" type="Sprite2D" parent="."]
position = Vector2(1, 0)
texture = ExtResource("2_7ko2y")