modification de la scène de cockpit et ajout de lien entre les scènes
This commit is contained in:
56
gui/credits/socials/instagram.tscn
Normal file
56
gui/credits/socials/instagram.tscn
Normal file
@@ -0,0 +1,56 @@
|
||||
[gd_scene format=3 uid="uid://c8flevrkelpvy"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="1_7wu13"]
|
||||
[ext_resource type="Texture2D" uid="uid://dh1jaup4y1f6q" path="res://common/icons/brand-instagram.svg" id="1_hjh5g"]
|
||||
[ext_resource type="Script" uid="uid://bkbcl77m28sfv" path="res://gui/credits/socials/scripts/link_button.gd" id="3_dux13"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4atk4"]
|
||||
bg_color = Color(0.88235295, 0.1882353, 0.42352942, 1)
|
||||
border_width_left = 6
|
||||
border_width_top = 6
|
||||
border_width_right = 6
|
||||
border_width_bottom = 6
|
||||
border_color = Color(0.88235295, 0.1882353, 0.42352942, 1)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0dh60"]
|
||||
bg_color = Color(0.7914644, 0.13576972, 0.36909348, 1)
|
||||
border_width_left = 6
|
||||
border_width_top = 6
|
||||
border_width_right = 6
|
||||
border_width_bottom = 6
|
||||
border_color = Color(0.88235295, 0.1882353, 0.42352942, 1)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_67c4d"]
|
||||
bg_color = Color(0.91568047, 0.28530613, 0.42895967, 1)
|
||||
border_width_left = 6
|
||||
border_width_top = 6
|
||||
border_width_right = 6
|
||||
border_width_bottom = 6
|
||||
border_color = Color(0.9137255, 0.28627452, 0.42745098, 1)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[node name="Button" type="Button" unique_id=927302743]
|
||||
offset_right = 352.0
|
||||
offset_bottom = 42.0
|
||||
size_flags_horizontal = 4
|
||||
theme = ExtResource("1_7wu13")
|
||||
theme_override_constants/icon_max_width = 30
|
||||
theme_override_font_sizes/font_size = 20
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_4atk4")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_0dh60")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_67c4d")
|
||||
text = "JOIN_OUR_INSTAGRAM"
|
||||
icon = ExtResource("1_hjh5g")
|
||||
script = ExtResource("3_dux13")
|
||||
link = "https://www.instagram.com/orchindie/"
|
||||
9
gui/credits/socials/scripts/link_button.gd
Normal file
9
gui/credits/socials/scripts/link_button.gd
Normal file
@@ -0,0 +1,9 @@
|
||||
extends Button
|
||||
|
||||
@export var link="TODO"
|
||||
|
||||
func _ready():
|
||||
pressed.connect(
|
||||
func ():
|
||||
OS.shell_open(link)
|
||||
)
|
||||
1
gui/credits/socials/scripts/link_button.gd.uid
Normal file
1
gui/credits/socials/scripts/link_button.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bkbcl77m28sfv
|
||||
55
gui/credits/socials/steam.tscn
Normal file
55
gui/credits/socials/steam.tscn
Normal file
@@ -0,0 +1,55 @@
|
||||
[gd_scene format=3 uid="uid://bc3byq8e45ejj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cpkye7t28ragp" path="res://common/icons/brand-steam.svg" id="1_ar432"]
|
||||
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="1_emeyy"]
|
||||
[ext_resource type="Script" uid="uid://bkbcl77m28sfv" path="res://gui/credits/socials/scripts/link_button.gd" id="3_emeyy"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_urbel"]
|
||||
bg_color = Color(0.13865513, 0.18808982, 0.2387814, 1)
|
||||
border_width_left = 6
|
||||
border_width_top = 6
|
||||
border_width_right = 6
|
||||
border_width_bottom = 6
|
||||
border_color = Color(0.13725491, 0.1882353, 0.23921569, 1)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5k6jv"]
|
||||
bg_color = Color(0.10011824, 0.14153713, 0.18294647, 1)
|
||||
border_width_left = 6
|
||||
border_width_top = 6
|
||||
border_width_right = 6
|
||||
border_width_bottom = 6
|
||||
border_color = Color(0.13725491, 0.1882353, 0.23921569, 1)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kip8e"]
|
||||
bg_color = Color(0.18961376, 0.27468553, 0.30580562, 1)
|
||||
border_width_left = 6
|
||||
border_width_top = 6
|
||||
border_width_right = 6
|
||||
border_width_bottom = 6
|
||||
border_color = Color(0.1882353, 0.27450982, 0.30588236, 1)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[node name="SteamButton" type="Button" unique_id=1181450581]
|
||||
offset_right = 447.0
|
||||
offset_bottom = 42.0
|
||||
size_flags_horizontal = 4
|
||||
theme = ExtResource("1_emeyy")
|
||||
theme_override_constants/icon_max_width = 30
|
||||
theme_override_font_sizes/font_size = 20
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_urbel")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_5k6jv")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_kip8e")
|
||||
text = "WHISHLIST_THE_GAME"
|
||||
icon = ExtResource("1_ar432")
|
||||
script = ExtResource("3_emeyy")
|
||||
Reference in New Issue
Block a user