initial commit
This commit is contained in:
parent
b9f229845c
commit
858eb3a599
48 changed files with 470 additions and 861 deletions
42
testing/test/level.tscn
Normal file
42
testing/test/level.tscn
Normal file
File diff suppressed because one or more lines are too long
31
testing/test/player.tscn
Normal file
31
testing/test/player.tscn
Normal file
|
@ -0,0 +1,31 @@
|
|||
[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"]
|
||||
[ext_resource type="Script" path="res://scripts/player.gd" id="1_oik63"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kf6qt"]
|
||||
size = Vector2(20, 18)
|
||||
|
||||
[node name="player" type="CharacterBody2D"]
|
||||
script = ExtResource("1_oik63")
|
||||
|
||||
[node name="sprite" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_cujcj")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_kf6qt")
|
||||
|
||||
[node name="camera" type="Camera2D" parent="."]
|
||||
enabled = false
|
||||
|
||||
[node name="stats" type="Button" parent="."]
|
||||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue