Add attribution icons to main menu

soundtrack
Ensar Sarajčić 2021-11-19 18:05:21 +01:00
parent 9187300dea
commit 0faf414fcf
8 changed files with 151 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/blendericon.png-f1719f1d31a31d3ac1ebceb71fad0763.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/blendericon.png"
dest_files=[ "res://.import/blendericon.png-f1719f1d31a31d3ac1ebceb71fad0763.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=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/kenneylogo.png-05c5eac3987a2b74d9ba2d6fdefec4d2.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/kenneylogo.png"
dest_files=[ "res://.import/kenneylogo.png-05c5eac3987a2b74d9ba2d6fdefec4d2.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=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/kritaicon.png-b73c3037265e8bdde4105e816f94306f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/kritaicon.png"
dest_files=[ "res://.import/kritaicon.png-b73c3037265e8bdde4105e816f94306f.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=true
svg/scale=1.0

View File

@ -24,3 +24,15 @@ func _on_AboutButton_pressed() -> void:
func _on_GodotButton_pressed() -> void: func _on_GodotButton_pressed() -> void:
OS.shell_open("https://godotengine.org") OS.shell_open("https://godotengine.org")
func _on_BlenderButton_pressed() -> void:
OS.shell_open("https://www.blender.org")
func _on_KritaButton_pressed() -> void:
OS.shell_open("https://krita.org")
func _on_KenneyButton_pressed() -> void:
OS.shell_open("https://kenney.nl")

View File

@ -1,8 +1,11 @@
[gd_scene load_steps=6 format=2] [gd_scene load_steps=9 format=2]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1] [ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://menu/main_menu.gd" type="Script" id=2] [ext_resource path="res://menu/main_menu.gd" type="Script" id=2]
[ext_resource path="res://icon.png" type="Texture" id=3] [ext_resource path="res://icon.png" type="Texture" id=3]
[ext_resource path="res://assets/kenneylogo.png" type="Texture" id=4]
[ext_resource path="res://assets/kritaicon.png" type="Texture" id=5]
[ext_resource path="res://assets/blendericon.png" type="Texture" id=6]
[sub_resource type="DynamicFont" id=1] [sub_resource type="DynamicFont" id=1]
size = 64 size = 64
@ -116,8 +119,38 @@ margin_right = 267.0
margin_bottom = 64.0 margin_bottom = 64.0
texture_normal = ExtResource( 3 ) texture_normal = ExtResource( 3 )
[node name="BlenderButton" type="TextureButton" parent="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer"]
margin_left = 275.0
margin_right = 339.0
margin_bottom = 64.0
texture_normal = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="KritaButton" type="TextureButton" parent="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer"]
margin_left = 347.0
margin_right = 411.0
margin_bottom = 64.0
texture_normal = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="KenneyButton" type="TextureButton" parent="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer"]
margin_left = 419.0
margin_right = 538.0
margin_bottom = 64.0
texture_normal = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"] [connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/SettingsButton" to="." method="_on_SettingsButton_pressed"] [connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/SettingsButton" to="." method="_on_SettingsButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/AboutButton" to="." method="_on_AboutButton_pressed"] [connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/AboutButton" to="." method="_on_AboutButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"] [connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer/GodotButton" to="." method="_on_GodotButton_pressed"] [connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer/GodotButton" to="." method="_on_GodotButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer/BlenderButton" to="." method="_on_BlenderButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer/KritaButton" to="." method="_on_KritaButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer/KenneyButton" to="." method="_on_KenneyButton_pressed"]