Adds page showing all the tools used to create this game

master
TechieDamien 2025-08-02 11:31:15 +01:00
parent fafc415a92
commit 000f72256d
Signed by: TechieDamien
GPG Key ID: 2ACE3574E164B780
4 changed files with 69 additions and 1 deletions

View File

@ -0,0 +1,10 @@
extends RichTextLabel
func _ready() -> void:
meta_clicked.connect(_richtextlabel_on_meta_clicked)
# This assumes RichTextLabel's `meta_clicked` signal was connected to
# the function below using the signal connection dialog.
func _richtextlabel_on_meta_clicked(meta):
# `meta` is of Variant type, so convert it to a String to avoid script errors at run-time.
OS.shell_open(str(meta))

View File

@ -0,0 +1 @@
uid://b2toipok6giai

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=18 format=3 uid="uid://bu5cwjawsnb1q"]
[gd_scene load_steps=19 format=3 uid="uid://bu5cwjawsnb1q"]
[ext_resource type="Script" uid="uid://bomw4j2mmerry" path="res://Scripts/main_menu.gd" id="1_28flt"]
[ext_resource type="Texture2D" uid="uid://dxdtqv4do4x31" path="res://Sprites/background.png" id="2_48xlc"]
@ -9,6 +9,7 @@
[ext_resource type="Texture2D" uid="uid://dr3y3mvyrecxn" path="res://Sprites/lemon.png" id="7_vr1f0"]
[ext_resource type="Texture2D" uid="uid://csu4d06po6r6x" path="res://Sprites/apple.png" id="8_t1dhk"]
[ext_resource type="Texture2D" uid="uid://ccqroki031ou" path="res://Sprites/watermelon.png" id="9_5egv6"]
[ext_resource type="Script" uid="uid://b2toipok6giai" path="res://Scenes/label_with_links.gd" id="10_16hvj"]
[sub_resource type="LabelSettings" id="LabelSettings_ce3w2"]
font_size = 160
@ -84,6 +85,10 @@ visible = false
layout_mode = 2
text = "Options"
[node name="Tools" type="Button" parent="Buttons"]
layout_mode = 2
text = "Tools Used"
[node name="SourceCode" type="Button" parent="Buttons"]
layout_mode = 2
text = "Source Code"
@ -283,8 +288,52 @@ grow_horizontal = 2
grow_vertical = 0
text = "OK"
[node name="ToolPanel" type="Panel" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 0.2
anchor_top = 0.375
anchor_right = 0.8
anchor_bottom = 0.9
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_trj04")
[node name="Label" type="RichTextLabel" parent="ToolPanel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
bbcode_enabled = true
text = "Game Engine - [url=https://godotengine.org/]Godot[/url]
Sprite Drawing - [url=https://krita.org/]Krita[/url]
Digitial Audio Workstation (DAW) - [url=https://ardour.org/]Ardour[/url]
DAW Plugins - ACE (Ardour internal), [url=http://calf-studio-gear.org/]Calf Plugins[/url], [url=https://github.com/DISTRHO/DISTRHO-Ports/tree/master/ports-juce6.0/vitalium]Vitalium[/url], [url=https://github.com/michaelwillis/dragonfly-reverb]Dragonfly Reverb[/url], [url=https://github.com/DISTRHO/DPF-Plugins]MaPitchshift[/url] and [url=https://lsp-plug.in/]LSP Plugins[/url]
Font - [url=https://fonts.google.com/share?selection.family=Kings]Kings-Regular[/url]"
script = ExtResource("10_16hvj")
[node name="Button" type="Button" parent="ToolPanel"]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = 27.0
grow_horizontal = 2
grow_vertical = 0
text = "OK"
[connection signal="pressed" from="Buttons/Start" to="." method="start_game"]
[connection signal="pressed" from="Buttons/Help" to="." method="show_help"]
[connection signal="pressed" from="Buttons/Tools" to="." method="show_tools"]
[connection signal="pressed" from="Buttons/SourceCode" to="." method="show_source_code"]
[connection signal="pressed" from="Buttons/Quit" to="." method="quit"]
[connection signal="pressed" from="HelpPanel/Button" to="." method="hide_help"]
[connection signal="pressed" from="ToolPanel/Button" to="." method="hide_tools"]

View File

@ -4,6 +4,8 @@ var main_scene : PackedScene = preload("res://Scenes/main.tscn")
@onready
var help_panel : Panel = $HelpPanel
@onready
var tool_panel : Panel = $ToolPanel
func _ready() -> void:
if OS.has_feature("web"):
@ -22,5 +24,11 @@ func show_help() -> void:
func hide_help() -> void:
help_panel.visible = false
func show_tools() -> void:
tool_panel.visible = true
func hide_tools() -> void:
tool_panel.visible = false
func show_source_code() -> void:
OS.shell_open("https://git.techiedamien.xyz/TechieDamien/Ouroboros")