update UI
This commit is contained in:
BIN
core/game_menu/assets/decoration_page1.png
Normal file
BIN
core/game_menu/assets/decoration_page1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 216 KiB |
40
core/game_menu/assets/decoration_page1.png.import
Normal file
40
core/game_menu/assets/decoration_page1.png.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bd80xo2id3xdm"
|
||||
path="res://.godot/imported/decoration_page1.png-c6b34b864930b80e5c17c69a3b3d19a0.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://core/game_menu/assets/decoration_page1.png"
|
||||
dest_files=["res://.godot/imported/decoration_page1.png-c6b34b864930b80e5c17c69a3b3d19a0.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
core/game_menu/assets/decoration_page2.png
Normal file
BIN
core/game_menu/assets/decoration_page2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
40
core/game_menu/assets/decoration_page2.png.import
Normal file
40
core/game_menu/assets/decoration_page2.png.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d3qq4ho24phyw"
|
||||
path="res://.godot/imported/decoration_page2.png-d4209c852841afb58d7284d3e6fd6801.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://core/game_menu/assets/decoration_page2.png"
|
||||
dest_files=["res://.godot/imported/decoration_page2.png-d4209c852841afb58d7284d3e6fd6801.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
core/game_menu/assets/decoration_page3.png
Normal file
BIN
core/game_menu/assets/decoration_page3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
40
core/game_menu/assets/decoration_page3.png.import
Normal file
40
core/game_menu/assets/decoration_page3.png.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://db2yhovnqq4cp"
|
||||
path="res://.godot/imported/decoration_page3.png-5581ad5aca27e618c185f4d3e7f0fea2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://core/game_menu/assets/decoration_page3.png"
|
||||
dest_files=["res://.godot/imported/decoration_page3.png-5581ad5aca27e618c185f4d3e7f0fea2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
core/game_menu/assets/lock.png
Normal file
BIN
core/game_menu/assets/lock.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 362 KiB |
40
core/game_menu/assets/lock.png.import
Normal file
40
core/game_menu/assets/lock.png.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bx6gsh5uchkge"
|
||||
path="res://.godot/imported/lock.png-942bcd7274ea3432467400a057c673a4.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://core/game_menu/assets/lock.png"
|
||||
dest_files=["res://.godot/imported/lock.png-942bcd7274ea3432467400a057c673a4.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
@@ -3,32 +3,24 @@ extends Button
|
||||
|
||||
class_name TrainColorPicker
|
||||
|
||||
@export var image: Texture:
|
||||
@export var color: Color = Color(1,1,1,1):
|
||||
set(value):
|
||||
image = value
|
||||
if is_inside_tree() and has_node("%Texture"):
|
||||
$%Texture.texture = image
|
||||
|
||||
@onready var color: Color
|
||||
color = value
|
||||
if is_inside_tree() and has_node("%FillColor"):
|
||||
$%FillColor.modulate = color
|
||||
|
||||
var selected: bool = false
|
||||
|
||||
func _ready():
|
||||
if image != null and has_node("%Texture"):
|
||||
$%Texture.texture = image
|
||||
if $%Texture.texture != null:
|
||||
var img = $%Texture.texture.get_image()
|
||||
color = img.get_pixel(0, 0)
|
||||
else:
|
||||
color = Color.BLACK
|
||||
$%Border.color.a = 0
|
||||
|
||||
if has_node("%FillColor"):
|
||||
$%FillColor.modulate = color
|
||||
$%InnerBorder.modulate.a = 0
|
||||
|
||||
func select() -> void:
|
||||
if selected:
|
||||
return
|
||||
selected = true
|
||||
$%Border.color.a = 1
|
||||
$%InnerBorder.modulate.a = 1
|
||||
TweenFX.stop_all(self)
|
||||
scale = Vector2.ONE
|
||||
rotation = 0.0
|
||||
@@ -40,7 +32,7 @@ func deselect() -> void:
|
||||
if !selected:
|
||||
return
|
||||
selected = false
|
||||
$%Border.color.a = 0
|
||||
$%InnerBorder.modulate.a = 0
|
||||
|
||||
|
||||
func _on_mouse_entered() -> void:
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
[gd_scene format=3 uid="uid://ch1st1oryjoio"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cdjwvwst3f10a" path="res://core/game_menu/assets/page_1/customizecolor-1.png" id="1_us0rx"]
|
||||
[ext_resource type="Script" uid="uid://crfw5whcjs0du" path="res://core/game_menu/color_picker.gd" id="2_323rd"]
|
||||
[ext_resource type="Texture2D" uid="uid://srsr075e1blh" path="res://core/game_menu/assets/page_3/buttoncircle_empty.png" id="3_264kt"]
|
||||
[ext_resource type="Texture2D" uid="uid://be26apr133ywy" path="res://core/game_menu/assets/page_3/buttoncircle_fill.png" id="4_1folt"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_323rd"]
|
||||
|
||||
@@ -26,10 +27,10 @@
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6pmjh"]
|
||||
|
||||
[node name="ColorPicker" type="Button" unique_id=1664685328]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
custom_minimum_size = Vector2(70, 70)
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.03125
|
||||
anchor_bottom = 0.055555556
|
||||
anchor_right = 0.036458332
|
||||
anchor_bottom = 0.06481481
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_323rd")
|
||||
theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_264kt")
|
||||
@@ -43,10 +44,9 @@ theme_override_styles/disabled = SubResource("StyleBoxEmpty_2ocph")
|
||||
theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_5386i")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_6pmjh")
|
||||
script = ExtResource("2_323rd")
|
||||
image = ExtResource("1_us0rx")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Border" type="ColorRect" parent="." unique_id=1774696864]
|
||||
[node name="OuterBorder" type="TextureRect" parent="." unique_id=1490766537]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -54,21 +54,50 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("4_1folt")
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="Border" unique_id=329703623]
|
||||
[node name="InnerBorder" type="TextureRect" parent="OuterBorder" unique_id=1381212990]
|
||||
unique_name_in_owner = true
|
||||
self_modulate = Color(0, 0, 0, 1)
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.058333334
|
||||
anchor_top = 0.058333334
|
||||
anchor_right = 0.94166666
|
||||
anchor_bottom = 0.94166666
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -32.0
|
||||
offset_top = -32.0
|
||||
offset_right = 33.0
|
||||
offset_bottom = 33.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("1_us0rx")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("4_1folt")
|
||||
|
||||
[node name="ButtonTexture" type="TextureRect" parent="OuterBorder" unique_id=813207030]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -25.0
|
||||
offset_top = -28.0
|
||||
offset_right = 25.0
|
||||
offset_bottom = 25.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("3_264kt")
|
||||
|
||||
[node name="FillColor" type="TextureRect" parent="OuterBorder/ButtonTexture" unique_id=1634640310]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("4_1folt")
|
||||
|
||||
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[gd_scene format=3 uid="uid://bqvpnu74cwry8"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://id854u4gh12f" path="res://core/game_menu/page.tscn" id="1_uxih6"]
|
||||
[ext_resource type="Texture2D" uid="uid://bd80xo2id3xdm" path="res://core/game_menu/assets/decoration_page1.png" id="2_3i50p"]
|
||||
[ext_resource type="PackedScene" uid="uid://bh1kxsp5jyxfx" path="res://core/game_menu/train_selector.tscn" id="3_ijm38"]
|
||||
[ext_resource type="PackedScene" uid="uid://bc60gon7fmvbr" path="res://core/game_menu/biome_selector.tscn" id="12_7yi8x"]
|
||||
|
||||
@@ -14,14 +15,41 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="TrainSelector" parent="." index="1" unique_id=1039769375 instance=ExtResource("3_ijm38")]
|
||||
[node name="Background" parent="." index="0" unique_id=1203110384]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 0.0
|
||||
offset_bottom = 0.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Decoration" type="TextureRect" parent="." index="1" unique_id=161938515]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -795.0
|
||||
offset_top = -264.0
|
||||
offset_right = 795.0
|
||||
offset_bottom = 321.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_3i50p")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="TrainSelector" parent="." index="2" unique_id=1039769375 instance=ExtResource("3_ijm38")]
|
||||
layout_mode = 0
|
||||
offset_left = 211.0
|
||||
offset_top = 365.0
|
||||
offset_right = 871.0
|
||||
offset_bottom = 758.0
|
||||
|
||||
[node name="BiomeSelector" parent="." index="2" unique_id=1957954960 instance=ExtResource("12_7yi8x")]
|
||||
[node name="BiomeSelector" parent="." index="3" unique_id=1957954960 instance=ExtResource("12_7yi8x")]
|
||||
layout_mode = 0
|
||||
offset_left = 1038.0
|
||||
offset_top = 365.0
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://id854u4gh12f" path="res://core/game_menu/page.tscn" id="1_ka6tx"]
|
||||
[ext_resource type="Texture2D" uid="uid://xgx0211eo8hi" path="res://core/game_menu/assets/page_2/photocollections_text.png" id="2_4uwhd"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3qq4ho24phyw" path="res://core/game_menu/assets/decoration_page2.png" id="2_xqdsh"]
|
||||
[ext_resource type="Texture2D" uid="uid://xfl3ks4dbfaw" path="res://core/game_menu/assets/page_2/achievements_text.png" id="3_4uwhd"]
|
||||
[ext_resource type="PackedScene" uid="uid://b6r787sik5yil" path="res://core/game_menu/photo_gallery.tscn" id="4_3tfra"]
|
||||
[ext_resource type="PackedScene" uid="uid://bvw086glfpcba" path="res://core/game_menu/collectible_gallery.tscn" id="5_w0bcg"]
|
||||
[ext_resource type="PackedScene" uid="uid://c7t3p8sp54apy" path="res://core/game_menu/highlighted_photo.tscn" id="6_2273a"]
|
||||
[ext_resource type="Texture2D" uid="uid://bx6gsh5uchkge" path="res://core/game_menu/assets/lock.png" id="8_48jk0"]
|
||||
|
||||
[node name="Page2" unique_id=2037261222 instance=ExtResource("1_ka6tx")]
|
||||
anchors_preset = 15
|
||||
@@ -17,7 +19,27 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="PhotoCollectionText" type="TextureRect" parent="." index="1" unique_id=240014191]
|
||||
[node name="Background" parent="." index="0" unique_id=1203110384]
|
||||
visible = true
|
||||
|
||||
[node name="Decoration" type="TextureRect" parent="." index="1" unique_id=529740362]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -795.0
|
||||
offset_top = -264.0
|
||||
offset_right = 795.0
|
||||
offset_bottom = 321.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_xqdsh")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="PhotoCollectionText" type="TextureRect" parent="." index="2" unique_id=240014191]
|
||||
layout_mode = 0
|
||||
offset_left = 260.0
|
||||
offset_top = 330.0
|
||||
@@ -26,7 +48,7 @@ offset_bottom = 415.0
|
||||
texture = ExtResource("2_4uwhd")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="AchievementsText" type="TextureRect" parent="." index="2" unique_id=1478291812]
|
||||
[node name="AchievementsText" type="TextureRect" parent="." index="3" unique_id=1478291812]
|
||||
layout_mode = 0
|
||||
offset_left = 1184.0
|
||||
offset_top = 330.0
|
||||
@@ -35,20 +57,31 @@ offset_bottom = 401.0
|
||||
texture = ExtResource("3_4uwhd")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="PhotoGallery" parent="." index="3" unique_id=354419843 instance=ExtResource("4_3tfra")]
|
||||
[node name="PhotoGallery" parent="." index="4" unique_id=354419843 instance=ExtResource("4_3tfra")]
|
||||
layout_mode = 1
|
||||
offset_left = 244.0
|
||||
offset_top = 410.0
|
||||
offset_right = 844.0
|
||||
offset_bottom = 850.0
|
||||
|
||||
[node name="CollectibleGallery" parent="." index="4" unique_id=708445500 instance=ExtResource("5_w0bcg")]
|
||||
[node name="CollectibleGallery" parent="." index="5" unique_id=708445500 instance=ExtResource("5_w0bcg")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
offset_left = 1050.0
|
||||
offset_top = 425.0
|
||||
offset_right = 1690.0
|
||||
offset_bottom = 835.0011
|
||||
|
||||
[node name="HighlightedPhoto" parent="." index="5" unique_id=888465569 instance=ExtResource("6_2273a")]
|
||||
[node name="HighlightedPhoto" parent="." index="6" unique_id=888465569 instance=ExtResource("6_2273a")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
|
||||
[node name="LockTexture" type="TextureRect" parent="." index="7" unique_id=1369712242]
|
||||
layout_mode = 0
|
||||
offset_left = 1265.0
|
||||
offset_top = 449.0
|
||||
offset_right = 1547.0
|
||||
offset_bottom = 809.6977
|
||||
texture = ExtResource("8_48jk0")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://id854u4gh12f" path="res://core/game_menu/page.tscn" id="1_ua8fn"]
|
||||
[ext_resource type="Texture2D" uid="uid://fpnhk1ygcrmu" path="res://core/game_menu/assets/page_3/bg_timbri.png" id="2_ckqcb"]
|
||||
[ext_resource type="PackedScene" uid="uid://cxf8s80ivwj1p" path="res://core/game_menu/option_menu.tscn" id="2_tymfi"]
|
||||
[ext_resource type="Texture2D" uid="uid://db2yhovnqq4cp" path="res://core/game_menu/assets/decoration_page3.png" id="2_yx6jr"]
|
||||
[ext_resource type="PackedScene" uid="uid://caqf471x0kttc" path="res://core/game_menu/settings_menu.tscn" id="4_twko7"]
|
||||
|
||||
[node name="Page3" unique_id=2037261222 instance=ExtResource("1_ua8fn")]
|
||||
@@ -15,7 +16,24 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="." index="1" unique_id=464034413]
|
||||
[node name="Decoration" type="TextureRect" parent="." index="1" unique_id=980764536]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -795.0
|
||||
offset_top = -264.0
|
||||
offset_right = 795.0
|
||||
offset_bottom = 321.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_yx6jr")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="." index="2" unique_id=464034413]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5416667
|
||||
anchor_top = 0.28611112
|
||||
@@ -24,7 +42,7 @@ anchor_bottom = 0.7740741
|
||||
texture = ExtResource("2_ckqcb")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="OptionMenu" parent="." index="2" unique_id=1055457221 instance=ExtResource("2_tymfi")]
|
||||
[node name="OptionMenu" parent="." index="3" unique_id=1055457221 instance=ExtResource("2_tymfi")]
|
||||
layout_mode = 0
|
||||
anchors_preset = 0
|
||||
anchor_left = 0.7213542
|
||||
@@ -41,7 +59,7 @@ visible = false
|
||||
[node name="SettingsButton" parent="OptionMenu/VBoxContainer" parent_id_path=PackedInt32Array(1055457221, 508055524) index="2" unique_id=1931222561]
|
||||
visible = false
|
||||
|
||||
[node name="SettingsMenu" parent="." index="3" unique_id=1639777294 instance=ExtResource("4_twko7")]
|
||||
[node name="SettingsMenu" parent="." index="4" unique_id=1639777294 instance=ExtResource("4_twko7")]
|
||||
layout_mode = 1
|
||||
anchor_left = -0.0328125
|
||||
anchor_top = -0.0129629625
|
||||
|
||||
@@ -4,11 +4,6 @@
|
||||
[ext_resource type="Texture2D" uid="uid://bjqp8kmb5y7px" path="res://core/game_menu/assets/page_1/chooseyourtrain_text.png" id="2_cfvtr"]
|
||||
[ext_resource type="PackedScene" uid="uid://dm3skv22c60tm" path="res://core/game_menu/arrow_button.tscn" id="2_puip6"]
|
||||
[ext_resource type="PackedScene" uid="uid://ch1st1oryjoio" path="res://core/game_menu/color_picker.tscn" id="3_i2rs1"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5arobd7gl4u4" path="res://core/game_menu/assets/page_1/customizecolor-3.png" id="4_cfvtr"]
|
||||
[ext_resource type="Texture2D" uid="uid://el88fib24nl0" path="res://core/game_menu/assets/page_1/customizecolor-4.png" id="5_jnto8"]
|
||||
[ext_resource type="Texture2D" uid="uid://bv07xhpe3kh0r" path="res://core/game_menu/assets/page_1/customizecolor-5.png" id="6_dxnpq"]
|
||||
[ext_resource type="Texture2D" uid="uid://cryqbi1av2x1c" path="res://core/game_menu/assets/page_1/customizecolor.png" id="7_d1sdr"]
|
||||
[ext_resource type="Texture2D" uid="uid://d4l5ih723j3md" path="res://core/game_menu/assets/page_1/customizecolor-2.png" id="8_tuh6m"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxun0jk5t0n6" path="res://core/tween/container_tween.tscn" id="10_i2rs1"]
|
||||
[ext_resource type="PackedScene" uid="uid://otptvwer4par" path="res://tgcc/train/train.tscn" id="11_train"]
|
||||
|
||||
@@ -36,7 +31,7 @@ stretch = true
|
||||
own_world_3d = true
|
||||
transparent_bg = true
|
||||
handle_input_locally = false
|
||||
size = Vector2i(660, 180)
|
||||
size = Vector2i(720, 180)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="TrainViewportContainer/SubViewport" unique_id=1674220602]
|
||||
@@ -66,36 +61,36 @@ alignment = 1
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
image = ExtResource("4_cfvtr")
|
||||
color = Color(0.7432059, 0.5684909, 1, 1)
|
||||
|
||||
[node name="ColorPicker2" parent="HBoxContainer2/HBoxContainer" unique_id=584054476 instance=ExtResource("3_i2rs1")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
image = ExtResource("5_jnto8")
|
||||
color = Color(0.47657922, 0.8792635, 0.8823829, 1)
|
||||
|
||||
[node name="ColorPicker3" parent="HBoxContainer2/HBoxContainer" unique_id=889429149 instance=ExtResource("3_i2rs1")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
image = ExtResource("6_dxnpq")
|
||||
color = Color(0.54004896, 0.5516501, 0.45533067, 1)
|
||||
|
||||
[node name="ColorPicker4" parent="HBoxContainer2/HBoxContainer" unique_id=466686411 instance=ExtResource("3_i2rs1")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
image = ExtResource("7_d1sdr")
|
||||
color = Color(0.40863404, 1, 0.47657922, 1)
|
||||
|
||||
[node name="ColorPicker5" parent="HBoxContainer2/HBoxContainer" unique_id=675841518 instance=ExtResource("3_i2rs1")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="ColorPicker6" parent="HBoxContainer2/HBoxContainer" unique_id=1698412911 instance=ExtResource("3_i2rs1")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
image = ExtResource("8_tuh6m")
|
||||
|
||||
[node name="ArrowButtonRight" parent="HBoxContainer2" unique_id=68298624 instance=ExtResource("2_puip6")]
|
||||
unique_name_in_owner = true
|
||||
|
||||
Reference in New Issue
Block a user