Updated the external links at the bottom of the main menu.

This commit is contained in:
drwhut 2024-08-05 17:13:12 +01:00
parent 3b85485642
commit 33a8eda503
7 changed files with 144 additions and 23 deletions

View File

@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><g class="" style="" transform="translate(0,0)"><path d="M258 21.89c-.5 0-1.2 0-1.8.12-4.6.85-10.1 5.1-13.7 14.81-3.8 9.7-4.6 23.53-1.3 38.34 3.4 14.63 10.4 27.24 18.2 34.94 7.6 7.7 14.5 9.8 19.1 9 4.8-.7 10.1-5.1 13.7-14.7 3.8-9.64 4.8-23.66 1.4-38.35-3.5-14.8-10.4-27.29-18.2-34.94-6.6-6.8-12.7-9.22-17.4-9.22zM373.4 151.4c-11 .3-24.9 3.2-38.4 8.9-15.6 6.8-27.6 15.9-34.2 24.5-6.6 8.3-7.2 14.6-5.1 18.3 2.2 3.7 8.3 7.2 20 7.7 11.7.7 27.5-2.2 43-8.8 15.5-6.7 27.7-15.9 34.3-24.3 6.6-8.3 7.1-14.8 5-18.5-2.1-3.8-8.3-7.1-20-7.5-1.6-.3-3-.3-4.6-.3zm-136.3 92.9c-6.6.1-12.6.9-18 2.3-11.8 3-18.6 8.4-20.8 14.9-2.5 6.5 0 14.3 7.8 22.7 8.2 8.2 21.7 16.1 38.5 20.5 16.7 4.4 32.8 4.3 44.8 1.1 12.1-3.1 18.9-8.6 21.1-15 2.3-6.5 0-14.2-8.1-22.7-7.9-8.2-21.4-16.1-38.2-20.4-9.5-2.5-18.8-3.5-27.1-3.4zm160.7 58.1L336 331.7c4.2.2 14.7.5 14.7.5l6.6 8.7 54.7-28.5-14.2-10zm-54.5.1l-57.4 27.2c5.5.3 18.5.5 23.7.8l49.8-23.6-16.1-4.4zm92.6 10.8l-70.5 37.4 14.5 18.7 74.5-44.6-18.5-11.5zm-278.8 9.1a40.33 40.33 0 0 0-9 1c-71.5 16.5-113.7 17.9-126.2 17.9H18v107.5s11.6-1.7 30.9-1.8c37.3 0 103 6.4 167 43.8 3.4 2.1 10.7 2.9 19.8 2.9 24.3 0 61.2-5.8 69.7-9C391 452.6 494 364.5 494 364.5l-32.5-28.4s-79.8 50.9-89.9 55.8c-91.1 44.7-164.9 16.8-164.9 16.8s119.9 3 158.4-27.3l-22.6-34s-82.8-2.3-112.3-6.2c-15.4-2-48.7-18.8-73.1-18.8z" fill="#cccccc" fill-opacity="1" style="--darkreader-inline-fill: #35393b;" data-darkreader-inline-fill=""></path></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/donate_icon.svg-4ac9dbedc8a24d04e707b855864fe2e5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Images/donate_icon.svg"
dest_files=[ "res://.import/donate_icon.svg-4ac9dbedc8a24d04e707b855864fe2e5.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=0.25

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg height="800px" width="800px" version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 512 512" xml:space="preserve">
<g style="fill:#cccccc">
<path class="st0" d="M255.994,0.006C114.607,0.013,0.012,114.612,0,256c0.012,141.387,114.607,255.986,255.994,255.994
C397.393,511.986,511.992,397.387,512,256C511.992,114.612,397.393,0.013,255.994,0.006z M97.607,97.612
c23.34-23.328,51.761-41.475,83.455-52.725c-15.183,18.375-27.84,41.906-37.757,69.116H82.772
C87.452,108.308,92.396,102.824,97.607,97.612z M65.612,138.003h69.986c-9.008,31.929-14.41,67.834-15.363,105.997H32.327
C34.374,205.196,46.3,169.088,65.612,138.003z M65.612,373.997C46.3,342.912,34.374,306.804,32.327,268h87.991
c0.961,38.124,6.21,74.092,15.206,105.998H65.612z M97.607,414.386c-5.211-5.211-10.156-10.695-14.836-16.39h60.573
c4.28,11.774,9.019,22.944,14.312,33.21c6.954,13.438,14.758,25.468,23.348,35.89C149.332,455.846,120.931,437.699,97.607,414.386z
M243.998,479.667c-3.746-0.196-7.469-0.477-11.164-0.86c-5.89-2.64-11.722-6.25-17.5-10.961
c-17.632-14.359-33.976-38.671-46.398-69.85h75.061V479.667z M243.998,373.997h-83.436c-9.477-31.171-15.316-67.311-16.328-105.998
h99.763V373.997z M243.998,244H144.31c1.008-38.71,6.875-74.819,16.359-105.997h83.33V244z M243.998,114.003h-74.951
c3.109-7.79,6.367-15.312,9.934-22.195c10.64-20.625,23.17-36.89,36.354-47.656c5.777-4.71,11.609-8.32,17.5-10.96
c3.695-0.382,7.417-0.664,11.164-0.859V114.003z M446.392,138.003c19.312,31.085,31.234,67.194,33.281,105.997h-87.991
c-0.961-38.124-6.21-74.092-15.21-105.997H446.392z M414.393,97.612c5.211,5.211,10.156,10.696,14.836,16.391h-60.577
c-4.281-11.773-9.023-22.945-14.312-33.21c-6.953-13.437-14.758-25.468-23.347-35.89C362.668,56.16,391.065,74.301,414.393,97.612z
M267.998,32.333c3.746,0.195,7.469,0.484,11.16,0.859c5.89,2.649,11.723,6.25,17.504,10.96
c17.636,14.359,33.976,38.671,46.397,69.85h-75.061V32.333z M267.998,138.003h83.436c9.476,31.171,15.32,67.31,16.328,105.997
h-99.764V138.003z M267.998,268h99.685c-1.007,38.71-6.874,74.818-16.359,105.998h-83.326V268z M296.661,467.846
c-5.781,4.711-11.614,8.313-17.504,10.961c-3.691,0.375-7.414,0.664-11.16,0.86v-81.67h74.951
c-3.109,7.789-6.367,15.312-9.933,22.195C322.376,440.816,309.845,457.081,296.661,467.846z M414.393,414.386
c-23.336,23.328-51.764,41.476-83.459,52.725c15.187-18.375,27.835-41.905,37.757-69.115h60.538
C424.548,403.692,419.604,409.176,414.393,414.386z M446.392,373.997h-69.998c9.008-31.929,14.414-67.842,15.367-105.998h87.912
C477.626,306.804,465.704,342.912,446.392,373.997z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/internet_icon.svg-cd16c2166f0baa4d87a180c6d5657244.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Images/internet_icon.svg"
dest_files=[ "res://.import/internet_icon.svg-cd16c2166f0baa4d87a180c6d5657244.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=0.125

View File

@ -101,6 +101,16 @@ directory.
URL: https://www.svgrepo.com/svg/27866/cursor
- Donate icon
Files:
Images/donate_icon.svg
Author: Delapouite
License: CC BY 3.0
Modified By: Benjamin 'drwhut' Beddows
URL: https://game-icons.net/1x1/delapouite/receive-money.html
- Erase icon
Files:
@ -180,6 +190,16 @@ directory.
URL: https://www.svgrepo.com/svg/60892/info
- Internet icon
Files:
Images/internet_icon.svg
Author: Icooon Mono
License: Public Domain
Modified By: Benjamin 'drwhut' Beddows
URL: https://www.svgrepo.com/svg/478288/internet
- Loading background
Files:

View File

@ -9,10 +9,10 @@
[ext_resource path="res://tabletop_club_logo.png" type="Texture" id=7]
[ext_resource path="res://Fonts/Cabin/Modified/Cabin-MainMenu.tres" type="DynamicFont" id=8]
[ext_resource path="res://Images/InfoIcon.svg" type="Texture" id=9]
[ext_resource path="res://Images/StoreIcon.svg" type="Texture" id=10]
[ext_resource path="res://Images/internet_icon.svg" type="Texture" id=10]
[ext_resource path="res://Images/CodeIcon.svg" type="Texture" id=11]
[ext_resource path="res://Images/ErrorIcon.svg" type="Texture" id=12]
[ext_resource path="res://Images/ChatIcon.svg" type="Texture" id=13]
[ext_resource path="res://Images/donate_icon.svg" type="Texture" id=13]
[ext_resource path="res://Images/ChatIconFilled.svg" type="Texture" id=14]
[node name="MainMenu" type="Control"]
@ -92,19 +92,18 @@ alignment = 2
[node name="ImportErrorButton" type="Button" parent="MainView/MainList/HBoxContainer"]
visible = false
margin_left = 63.0
margin_right = 112.0
margin_right = 49.0
margin_bottom = 32.0
hint_tooltip = "Import Log"
text = "0"
icon = ExtResource( 12 )
[node name="StoreButton" type="Button" parent="MainView/MainList/HBoxContainer"]
[node name="WebsiteButton" type="Button" parent="MainView/MainList/HBoxContainer"]
margin_left = 44.0
margin_right = 76.0
margin_bottom = 32.0
rect_min_size = Vector2( 32, 32 )
hint_tooltip = "Tabletop Club on Itch.io"
hint_tooltip = "Website"
icon = ExtResource( 10 )
expand_icon = true
@ -126,22 +125,22 @@ hint_tooltip = "Documentation"
icon = ExtResource( 2 )
expand_icon = true
[node name="DiscordButton" type="Button" parent="MainView/MainList/HBoxContainer"]
[node name="CommunityButton" type="Button" parent="MainView/MainList/HBoxContainer"]
margin_left = 152.0
margin_right = 184.0
margin_bottom = 32.0
rect_min_size = Vector2( 32, 32 )
hint_tooltip = "Discord"
icon = ExtResource( 13 )
hint_tooltip = "Community"
icon = ExtResource( 14 )
expand_icon = true
[node name="MatrixButton" type="Button" parent="MainView/MainList/HBoxContainer"]
[node name="DonateButton" type="Button" parent="MainView/MainList/HBoxContainer"]
margin_left = 188.0
margin_right = 220.0
margin_bottom = 32.0
rect_min_size = Vector2( 32, 32 )
hint_tooltip = "Matrix.org"
icon = ExtResource( 14 )
hint_tooltip = "Donate"
icon = ExtResource( 13 )
expand_icon = true
[node name="InfoButton" type="Button" parent="MainView/MainList/HBoxContainer"]
@ -289,8 +288,8 @@ margin_right = 720.0
margin_bottom = 450.0
focus_mode = 2
size_flags_vertical = 3
text = "Copyright (c) 20202023 Benjamin 'drwhut' Beddows.
Copyright (c) 20212023 Tabletop Club contributors (see credits).
text = "Copyright (c) 2020-2024 Benjamin 'drwhut' Beddows.
Copyright (c) 2021-2024 Tabletop Club contributors (see credits).
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the \"Software\"), to deal
@ -359,11 +358,11 @@ visible = false
[connection signal="pressed" from="MainView/MainList/CreditsButton" to="." method="_on_CreditsButton_pressed"]
[connection signal="pressed" from="MainView/MainList/QuitButton" to="." method="_on_QuitButton_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/ImportErrorButton" to="." method="_on_ImportErrorButton_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/StoreButton" to="." method="_on_HomeIcon_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/WebsiteButton" to="." method="_on_WebsiteButton_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/SourceCodeButton" to="." method="_on_CodeIcon_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/HelpButton" to="." method="_on_HelpButton_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/DiscordButton" to="." method="_on_DiscordButton_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/MatrixButton" to="." method="_on_MatrixButton_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/CommunityButton" to="." method="_on_CommunityButton_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/DonateButton" to="." method="_on_DonateButton_pressed"]
[connection signal="pressed" from="MainView/MainList/HBoxContainer/InfoButton" to="." method="_on_InfoButton_pressed"]
[connection signal="pressed" from="MultiplayerDialog/HBoxContainer/HostGameContainer/HostGameButton" to="." method="_on_HostGameButton_pressed"]
[connection signal="pressed" from="MultiplayerDialog/HBoxContainer/EnterCodeContainer/EnterCodeButton" to="." method="_on_EnterCodeButton_pressed"]

View File

@ -250,8 +250,8 @@ func _on_QuitButton_pressed():
func _on_ImportErrorButton_pressed():
_import_error_dialog.popup_centered()
func _on_HomeIcon_pressed():
OS.shell_open("https://drwhut.itch.io/tabletop-club")
func _on_WebsiteButton_pressed():
OS.shell_open("https://tabletopclub.net")
func _on_CodeIcon_pressed():
OS.shell_open("https://github.com/drwhut/tabletop-club")
@ -259,11 +259,11 @@ func _on_CodeIcon_pressed():
func _on_HelpButton_pressed():
OS.shell_open("https://docs.tabletopclub.net")
func _on_DiscordButton_pressed():
OS.shell_open("https://discord.gg/GqYkGV4WwX")
func _on_CommunityButton_pressed():
OS.shell_open("https://tabletopclub.net/community")
func _on_MatrixButton_pressed():
OS.shell_open("https://matrix.to/#/#tabletop-club:matrix.org")
func _on_DonateButton_pressed():
OS.shell_open("https://ko-fi.com/drwhut")
func _on_InfoButton_pressed():
_info_dialog.popup_centered()