freettrpg/testing/test/player.tscn

33 lines
961 B
Text
Raw Normal View History

2024-06-14 09:44:34 +02:00
[gd_scene load_steps=4 format=3 uid="uid://dv67vdgb4h44q"]
[ext_resource type="Texture2D" uid="uid://dheqglouhkis6" path="res://testing/testAssets/player.png" id="1_cujcj"]
2024-06-18 18:58:47 +02:00
2024-06-14 09:44:34 +02:00
[ext_resource type="Script" path="res://scripts/player.gd" id="1_oik63"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kf6qt"]
2024-06-18 19:31:08 +02:00
size = Vector2(20, 18)
2024-06-14 09:44:34 +02:00
[node name="player" type="CharacterBody2D"]
2024-06-18 19:31:08 +02:00
script = ExtResource("1_oik63")
2024-06-14 09:44:34 +02:00
[node name="sprite" type="Sprite2D" parent="."]
2024-06-18 19:31:08 +02:00
texture = ExtResource("1_cujcj")
2024-06-14 09:44:34 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2024-06-18 19:31:08 +02:00
shape = SubResource("RectangleShape2D_kf6qt")
2024-06-14 09:44:34 +02:00
[node name="camera" type="Camera2D" parent="."]
2024-06-18 19:31:08 +02:00
enabled = false
[node name="stats" type="Button" parent="."]
2024-06-18 19:31:08 +02:00
visible = false
offset_left = 112.0
offset_top = 152.0
offset_right = 238.0
offset_bottom = 187.0
scale = Vector2(2, 2)
disabled = true
text = "Stats"
[connection signal="pressed" from="stats" to="." method="_on_stats_pressed"]