diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-12-26 11:29:04 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-12-26 11:29:04 +0100 |
commit | d572bc0a27b05c6632ba76bd630c7c4fd8f0ae5d (patch) | |
tree | 8bffeb9f025dc1c77bc53b65caf10d9b1fab5f2c /stage/stage.tscn |
initial commit
Diffstat (limited to 'stage/stage.tscn')
-rw-r--r-- | stage/stage.tscn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/stage/stage.tscn b/stage/stage.tscn new file mode 100644 index 0000000..9c8e256 --- /dev/null +++ b/stage/stage.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=3 format=3 uid="uid://ivf0v2snsls5"] + +[ext_resource type="Script" path="res://stage/stage.gd" id="1_8ax4l"] +[ext_resource type="PackedScene" uid="uid://ciyxysx3rwjhf" path="res://ui/hud.tscn" id="5_gnx55"] + +[node name="Stage" type="Node2D"] +script = ExtResource("1_8ax4l") + +[node name="ColorRect" type="ColorRect" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_right = 256.0 +offset_bottom = 144.0 +grow_horizontal = 2 +grow_vertical = 2 +color = Color(0.419608, 0.65098, 0.290196, 1) + +[node name="Opponents" type="Node2D" parent="."] +unique_name_in_owner = true + +[node name="HUD" parent="." instance=ExtResource("5_gnx55")] + +[node name="TickTimer" type="Timer" parent="."] +wait_time = 2.0 +autostart = true + +[connection signal="timeout" from="TickTimer" to="." method="_on_tick_timer_timeout"] |