From 8d6da7bf7e97a52c8aa4124fccc322e772cb7d5d Mon Sep 17 00:00:00 2001 From: Tabby <41929769+tabby-cat-nya@users.noreply.github.com> Date: Sun, 18 May 2025 10:39:52 +1000 Subject: [PATCH] added version info to menu --- bugs.md | 14 +++++++------- menu/menu.tscn | 21 ++++++++++++++++++++- 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/bugs.md b/bugs.md index 7579c42..e833cc3 100644 --- a/bugs.md +++ b/bugs.md @@ -1,11 +1,11 @@ # Post jam changes -- [ ] asteroids just kills you - - [ ] start by disabling game overs so we can watch the game loop - - [ ] maybe also extend the display of ticks and crosses for testing - - [ ] issue is also present in bullet hell, likely somehting to do with area detection - - [ ] bullets are created outside of the game node causing them to persist over games - - [ ] if you lose the scene doesnt remove itself (probably removes one of the bullets instead) -- [ ] can leave level in bullet hell +- [x] asteroids just kills you + - [x] start by disabling game overs so we can watch the game loop + - [x] maybe also extend the display of ticks and crosses for testing + - [x] issue is also present in bullet hell, likely somehting to do with area detection + - [x] bullets are created outside of the game node causing them to persist over games + - [x] if you lose the scene doesnt remove itself (probably removes one of the bullets instead) +- [x] can leave level in bullet hell # Games - [x] Finish Platformer diff --git a/menu/menu.tscn b/menu/menu.tscn index 7a56bb8..f87aac6 100644 --- a/menu/menu.tscn +++ b/menu/menu.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=4 format=3 uid="uid://0ajx46iu2l51"] +[gd_scene load_steps=5 format=3 uid="uid://0ajx46iu2l51"] [ext_resource type="Script" uid="uid://bjkqa4cowhacd" path="res://menu/menu.gd" id="1_j0t7f"] @@ -16,6 +16,9 @@ fill_from = Vector2(0.825082, 0.657132) fill_to = Vector2(0.610561, 0.569124) repeat = 2 +[sub_resource type="LabelSettings" id="LabelSettings_j0t7f"] +font_size = 9 + [node name="Menu" type="Control" node_paths=PackedStringArray("menu_container", "credits_container", "exit_button")] layout_mode = 3 anchors_preset = 15 @@ -139,6 +142,22 @@ fit_content = true layout_mode = 2 text = "Go Back" +[node name="Label" type="Label" parent="."] +layout_mode = 1 +anchors_preset = 3 +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = -128.0 +offset_top = -23.0 +grow_horizontal = 0 +grow_vertical = 0 +text = "V 1.0.1 (Postjam)" +label_settings = SubResource("LabelSettings_j0t7f") +horizontal_alignment = 2 +vertical_alignment = 2 + [connection signal="pressed" from="MenuContainer/PanelContainer/MarginContainer/VBoxContainer/IntroButton" to="." method="_on_intro_button_pressed"] [connection signal="pressed" from="MenuContainer/PanelContainer/MarginContainer/VBoxContainer/SkipButton" to="." method="_on_skip_button_pressed"] [connection signal="pressed" from="MenuContainer/PanelContainer/MarginContainer/VBoxContainer/CreditsButton" to="." method="_on_credits_button_pressed"]