From d572bc0a27b05c6632ba76bd630c7c4fd8f0ae5d Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 26 Dec 2024 11:29:04 +0100 Subject: initial commit --- stage/stage.tscn | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 stage/stage.tscn (limited to 'stage/stage.tscn') 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"] -- cgit v1.2.3