Compare commits

...

2 Commits

Author SHA1 Message Date
fc536b3736 Merge branch 'main' of http://10.80.10.11/wjsjwr/supervisor-simulator 2024-12-01 00:54:22 +08:00
fefa6e136a UI 2024-12-01 00:53:06 +08:00
67 changed files with 1294 additions and 69 deletions

View File

@ -1,20 +1,201 @@
[gd_scene load_steps=2 format=3 uid="uid://b5hqh3exkapj"]
[gd_scene load_steps=26 format=3 uid="uid://b5hqh3exkapj"]
[ext_resource type="Texture2D" uid="uid://dkdgsbod21itx" path="res://resources/UI/bottom_frame.png" id="1_rer6u"]
[ext_resource type="Texture2D" uid="uid://dhknwhd3xwd4o" path="res://resources/UI/frame.png" id="1_q4j0o"]
[ext_resource type="Texture2D" uid="uid://ctv5618t4fkyg" path="res://resources/UI/Clock.png" id="2_2iv8j"]
[ext_resource type="FontFile" uid="uid://dvhe0bgt41uk5" path="res://resources/Font/unifont-16.0.01.otf" id="3_oncea"]
[ext_resource type="Texture2D" uid="uid://dge24fqftcpc0" path="res://resources/UI/cash_dollars.png" id="4_h3kwg"]
[ext_resource type="Texture2D" uid="uid://wl1432yup03h" path="res://resources/UI/face.png" id="5_y5gq8"]
[ext_resource type="Texture2D" uid="uid://8pplbdis6e4u" path="res://resources/UI/hat.png" id="6_2eqkd"]
[ext_resource type="Texture2D" uid="uid://cpmx7u5kerpvl" path="res://resources/UI/faculty_normal.png" id="7_6ik8f"]
[ext_resource type="Texture2D" uid="uid://csqfr06eetdbr" path="res://resources/UI/faculty_press.png" id="8_xmtd2"]
[ext_resource type="Texture2D" uid="uid://b6fq8lhxgjrem" path="res://resources/UI/faculty_hover.png" id="9_rlwbu"]
[ext_resource type="Texture2D" uid="uid://c3ldvkeefcsid" path="res://resources/UI/shop_normal.png" id="10_qv43i"]
[ext_resource type="Texture2D" uid="uid://cvjnsopgw6kuh" path="res://resources/UI/shop_press.png" id="11_kg838"]
[ext_resource type="Texture2D" uid="uid://c6iy3thd0qfy3" path="res://resources/UI/shop_hover.png" id="12_yv4sh"]
[ext_resource type="Texture2D" uid="uid://bu8p8sycd6p52" path="res://resources/UI/build_normal.png" id="13_xktd5"]
[ext_resource type="Texture2D" uid="uid://bwgjx5xljiqgr" path="res://resources/UI/build_press.png" id="14_ffedj"]
[ext_resource type="Texture2D" uid="uid://65x24wrvry5h" path="res://resources/UI/build_hover.png" id="15_022bl"]
[ext_resource type="Texture2D" uid="uid://7yu5ghnww7kn" path="res://resources/UI/mail_normal.png" id="16_asxgy"]
[ext_resource type="Texture2D" uid="uid://c3l0n082oybt7" path="res://resources/UI/mail_press.png" id="17_mj0ve"]
[ext_resource type="Texture2D" uid="uid://ixdpq5lk33af" path="res://resources/UI/mail_hover.png" id="18_m8ugm"]
[ext_resource type="Texture2D" uid="uid://b0qgmvgi6hjle" path="res://resources/UI/timeline_normal.png" id="19_hrgxa"]
[ext_resource type="Texture2D" uid="uid://clra4m2knycev" path="res://resources/UI/timeline_press.png" id="20_5cccm"]
[ext_resource type="Texture2D" uid="uid://cs0voic0nkuko" path="res://resources/UI/timeline_hover.png" id="21_ov6kv"]
[ext_resource type="Texture2D" uid="uid://c6x7citj0ec0j" path="res://resources/UI/settings_normal.png" id="22_1wln2"]
[ext_resource type="Texture2D" uid="uid://drmgrnucu52km" path="res://resources/UI/settings_press.png" id="23_ybv6b"]
[ext_resource type="Texture2D" uid="uid://bm47gj2c8pmv6" path="res://resources/UI/settings_hover.png" id="24_qwoyf"]
[sub_resource type="LabelSettings" id="LabelSettings_4vjoo"]
font = ExtResource("3_oncea")
font_size = 28
font_color = Color(0, 0, 0, 1)
outline_color = Color(0.190762, 0.190762, 0.190762, 1)
shadow_size = 5
shadow_color = Color(0.333333, 0.333333, 0.333333, 0.196078)
[node name="BottomBar" type="Control"]
layout_mode = 3
anchors_preset = 10
anchor_right = 1.0
grow_horizontal = 2
anchors_preset = 0
[node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 0
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_top = -50.0
offset_right = 1920.0
offset_bottom = 60.0
texture = ExtResource("1_rer6u")
region_rect = Rect2(0, 0, 60, 60)
offset_bottom = 50.0
grow_vertical = 2
texture = ExtResource("1_q4j0o")
region_rect = Rect2(0, 0, 72, 75)
patch_margin_left = 11
patch_margin_top = 13
patch_margin_top = 14
patch_margin_right = 11
patch_margin_bottom = 13
patch_margin_bottom = 11
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 20.0
offset_top = -40.0
offset_right = 1900.0
offset_bottom = 40.0
grow_vertical = 2
[node name="TextureRect3" type="TextureRect" parent="HBoxContainer"]
custom_minimum_size = Vector2(40, 0)
layout_mode = 2
texture = ExtResource("2_2iv8j")
stretch_mode = 5
[node name="Date" type="Label" parent="HBoxContainer"]
custom_minimum_size = Vector2(200, 34)
layout_mode = 2
size_flags_horizontal = 8
text = "2021年12月13日"
label_settings = SubResource("LabelSettings_4vjoo")
horizontal_alignment = 2
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
custom_minimum_size = Vector2(45, 78)
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("4_h3kwg")
stretch_mode = 5
[node name="Money" type="Label" parent="HBoxContainer"]
custom_minimum_size = Vector2(200, 34)
layout_mode = 2
size_flags_horizontal = 8
text = "1,000,000,000"
label_settings = SubResource("LabelSettings_4vjoo")
horizontal_alignment = 3
[node name="MarginContainer2" type="MarginContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
[node name="TextureRect4" type="TextureRect" parent="HBoxContainer"]
custom_minimum_size = Vector2(40, 0)
layout_mode = 2
texture = ExtResource("5_y5gq8")
stretch_mode = 5
[node name="Population" type="Label" parent="HBoxContainer"]
custom_minimum_size = Vector2(50, 34)
layout_mode = 2
size_flags_horizontal = 8
text = "50"
label_settings = SubResource("LabelSettings_4vjoo")
horizontal_alignment = 2
[node name="MarginContainer3" type="MarginContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
[node name="TextureRect2" type="TextureRect" parent="HBoxContainer"]
layout_mode = 2
texture = ExtResource("6_2eqkd")
stretch_mode = 3
[node name="Population2" type="Label" parent="HBoxContainer"]
custom_minimum_size = Vector2(120, 34)
layout_mode = 2
size_flags_horizontal = 8
text = "副教授"
label_settings = SubResource("LabelSettings_4vjoo")
horizontal_alignment = 2
language = "zh"
[node name="MarginContainer4" type="MarginContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
size_flags_horizontal = 3
[node name="HumanResource" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("7_6ik8f")
texture_pressed = ExtResource("8_xmtd2")
texture_hover = ExtResource("9_rlwbu")
stretch_mode = 3
[node name="MarginContainer5" type="MarginContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
[node name="Buy" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("10_qv43i")
texture_pressed = ExtResource("11_kg838")
texture_hover = ExtResource("12_yv4sh")
stretch_mode = 3
[node name="MarginContainer6" type="MarginContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
[node name="Build" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("13_xktd5")
texture_pressed = ExtResource("14_ffedj")
texture_hover = ExtResource("15_022bl")
stretch_mode = 3
[node name="MarginContainer7" type="MarginContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
[node name="Mail" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("16_asxgy")
texture_pressed = ExtResource("17_mj0ve")
texture_hover = ExtResource("18_m8ugm")
stretch_mode = 3
[node name="MarginContainer8" type="MarginContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
[node name="Timeline" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("19_hrgxa")
texture_pressed = ExtResource("20_5cccm")
texture_hover = ExtResource("21_ov6kv")
stretch_mode = 3
[node name="MarginContainer9" type="MarginContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
[node name="Settings" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("22_1wln2")
texture_pressed = ExtResource("23_ybv6b")
texture_hover = ExtResource("24_qwoyf")
stretch_mode = 3

File diff suppressed because one or more lines are too long

View File

@ -24,3 +24,8 @@ offset_right = 863.0
offset_bottom = 37.5
grow_horizontal = 2
grow_vertical = 2
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0

View File

@ -11,7 +11,7 @@ config_version=5
[application]
config/name="导师模拟器"
run/main_scene="res://loader.tscn"
run/main_scene="res://game_manager.tscn"
config/features=PackedStringArray("4.3", "C#", "GL Compatibility")
config/icon="res://icon.svg"

Binary file not shown.

View File

@ -0,0 +1,39 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://dvhe0bgt41uk5"
path="res://.godot/imported/unifont-16.0.01.otf-24565f95e8120912d339509ec4c9251c.fontdata"
[deps]
source_file="res://resources/Font/unifont-16.0.01.otf"
dest_files=["res://.godot/imported/unifont-16.0.01.otf-24565f95e8120912d339509ec4c9251c.fontdata"]
[params]
Rendering=null
antialiasing=0
generate_mipmaps=false
disable_embedded_bitmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=0
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[{
"chars": [],
"glyphs": [],
"name": "新建配置",
"size": Vector2i(16, 0)
}]
language_support={}
script_support={}
opentype_features={}

BIN
resources/UI/Clock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ctv5618t4fkyg"
path="res://.godot/imported/Clock.png-9d77ef8604800968f4b0425fcd30403c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/Clock.png"
dest_files=["res://.godot/imported/Clock.png-9d77ef8604800968f4b0425fcd30403c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/UI/Coin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dxd5rwxfraknt"
path="res://.godot/imported/Coin.png-05e3a68086f6518da939e8e17fdef5b0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/Coin.png"
dest_files=["res://.godot/imported/Coin.png-05e3a68086f6518da939e8e17fdef5b0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://65x24wrvry5h"
path="res://.godot/imported/build_hover.png-fb00f7100a9ce15a78ffe07c0884d379.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/build_hover.png"
dest_files=["res://.godot/imported/build_hover.png-fb00f7100a9ce15a78ffe07c0884d379.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bu8p8sycd6p52"
path="res://.godot/imported/build_normal.png-9af32514a05d72dbf4d95f7950af4028.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/build_normal.png"
dest_files=["res://.godot/imported/build_normal.png-9af32514a05d72dbf4d95f7950af4028.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bwgjx5xljiqgr"
path="res://.godot/imported/build_press.png-2cb7d4072638f8cc3eda80f848d9dbe5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/build_press.png"
dest_files=["res://.godot/imported/build_press.png-2cb7d4072638f8cc3eda80f848d9dbe5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/UI/button.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d1i36hyer2lrs"
path="res://.godot/imported/button.png-0a2688644db0a42935766ee412ba35bb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/button.png"
dest_files=["res://.godot/imported/button.png-0a2688644db0a42935766ee412ba35bb.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dw8h3jtrbnnlo"
path="res://.godot/imported/cash_coin_B.png-ebb1f36f978e9c67912aa103ce129e24.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/cash_coin_B.png"
dest_files=["res://.godot/imported/cash_coin_B.png-ebb1f36f978e9c67912aa103ce129e24.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dge24fqftcpc0"
path="res://.godot/imported/cash_dollars.png-ad5090d10d5bf3d69183b6e88d8c65f6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/cash_dollars.png"
dest_files=["res://.godot/imported/cash_dollars.png-ad5090d10d5bf3d69183b6e88d8c65f6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/UI/face.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://wl1432yup03h"
path="res://.godot/imported/face.png-83bda758e362844b0d795a75ccbbac57.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/face.png"
dest_files=["res://.godot/imported/face.png-83bda758e362844b0d795a75ccbbac57.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b6fq8lhxgjrem"
path="res://.godot/imported/faculty_hover.png-3fdf10f8ea5f095ea34d5dc71ffdd430.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/faculty_hover.png"
dest_files=["res://.godot/imported/faculty_hover.png-3fdf10f8ea5f095ea34d5dc71ffdd430.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cpmx7u5kerpvl"
path="res://.godot/imported/faculty_normal.png-2c38a304b731c4f302f67c00cb842de5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/faculty_normal.png"
dest_files=["res://.godot/imported/faculty_normal.png-2c38a304b731c4f302f67c00cb842de5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csqfr06eetdbr"
path="res://.godot/imported/faculty_press.png-9e6333a8601d35165d1b6d0442750618.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/faculty_press.png"
dest_files=["res://.godot/imported/faculty_press.png-9e6333a8601d35165d1b6d0442750618.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/UI/frame.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dhknwhd3xwd4o"
path="res://.godot/imported/frame.png-44c390f3248f4ccf929f7014d3579577.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/frame.png"
dest_files=["res://.godot/imported/frame.png-44c390f3248f4ccf929f7014d3579577.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/UI/hat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://8pplbdis6e4u"
path="res://.godot/imported/hat.png-94162446fb80c52f18c13b2a58531dbb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/hat.png"
dest_files=["res://.godot/imported/hat.png-94162446fb80c52f18c13b2a58531dbb.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ctw4oiseq4awu"
path="res://.godot/imported/human_green.png-1ec041bfb5efc4eb96de00c51ec783c8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/human_green.png"
dest_files=["res://.godot/imported/human_green.png-1ec041bfb5efc4eb96de00c51ec783c8.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/UI/mail_hover.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ixdpq5lk33af"
path="res://.godot/imported/mail_hover.png-edb0f4b8a572179db11d7d93a86ab976.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/mail_hover.png"
dest_files=["res://.godot/imported/mail_hover.png-edb0f4b8a572179db11d7d93a86ab976.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://7yu5ghnww7kn"
path="res://.godot/imported/mail_normal.png-4f0e2f6a3fef838309d9f3a613b46f48.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/mail_normal.png"
dest_files=["res://.godot/imported/mail_normal.png-4f0e2f6a3fef838309d9f3a613b46f48.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/UI/mail_press.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c3l0n082oybt7"
path="res://.godot/imported/mail_press.png-519e3164395cf16addba6f7c422717d0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/mail_press.png"
dest_files=["res://.godot/imported/mail_press.png-519e3164395cf16addba6f7c422717d0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bm47gj2c8pmv6"
path="res://.godot/imported/settings_hover.png-480ceca1e132f6f900cd10baf529eae6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/settings_hover.png"
dest_files=["res://.godot/imported/settings_hover.png-480ceca1e132f6f900cd10baf529eae6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c6x7citj0ec0j"
path="res://.godot/imported/settings_normal.png-26b11285ba24bce2b4809ccb235ee6d6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/settings_normal.png"
dest_files=["res://.godot/imported/settings_normal.png-26b11285ba24bce2b4809ccb235ee6d6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://drmgrnucu52km"
path="res://.godot/imported/settings_press.png-a683bf09390701e2c7e09b9c1fc8127f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/settings_press.png"
dest_files=["res://.godot/imported/settings_press.png-a683bf09390701e2c7e09b9c1fc8127f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/UI/shop_hover.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c6iy3thd0qfy3"
path="res://.godot/imported/shop_hover.png-7b6155474bd3a580a22ba31645797e20.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/shop_hover.png"
dest_files=["res://.godot/imported/shop_hover.png-7b6155474bd3a580a22ba31645797e20.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c3ldvkeefcsid"
path="res://.godot/imported/shop_normal.png-e97088699610f390f8a02d9e6062d2b5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/shop_normal.png"
dest_files=["res://.godot/imported/shop_normal.png-e97088699610f390f8a02d9e6062d2b5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/UI/shop_press.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cvjnsopgw6kuh"
path="res://.godot/imported/shop_press.png-b49e4d50014fbf1068a37e5a1e69aca0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/shop_press.png"
dest_files=["res://.godot/imported/shop_press.png-b49e4d50014fbf1068a37e5a1e69aca0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cs0voic0nkuko"
path="res://.godot/imported/timeline_hover.png-e29b3c75741be860a29379b3f59905ad.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/timeline_hover.png"
dest_files=["res://.godot/imported/timeline_hover.png-e29b3c75741be860a29379b3f59905ad.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b0qgmvgi6hjle"
path="res://.godot/imported/timeline_normal.png-c607dbc19be75d94dd44745c0c6bb684.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/timeline_normal.png"
dest_files=["res://.godot/imported/timeline_normal.png-c607dbc19be75d94dd44745c0c6bb684.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://clra4m2knycev"
path="res://.godot/imported/timeline_press.png-91572f677f56534035dd6636fb6c8136.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/UI/timeline_press.png"
dest_files=["res://.godot/imported/timeline_press.png-91572f677f56534035dd6636fb6c8136.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
resources/logo/bbj.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dxqtqlu4rkew7"
path="res://.godot/imported/bbj.png-95fe9bb4b8fc315049b750ce3e76132d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/logo/bbj.png"
dest_files=["res://.godot/imported/bbj.png-95fe9bb4b8fc315049b750ce3e76132d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

View File

@ -1,6 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://xnssep8q3gm5"]
[gd_scene load_steps=7 format=3 uid="uid://xnssep8q3gm5"]
[ext_resource type="Script" path="res://scripts/SceneTransit.cs" id="1_138ac"]
[ext_resource type="Texture2D" uid="uid://dxqtqlu4rkew7" path="res://resources/logo/bbj.png" id="2_apx86"]
[sub_resource type="Animation" id="Animation_6aqtw"]
length = 0.001
@ -16,6 +17,30 @@ tracks/0/keys = {
"update": 0,
"values": [Color(0, 0, 0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("BbjLogo/ColorRect:color")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("BbjLogo/Sprite2D:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_n35b4"]
resource_name = "transit"
@ -34,9 +59,38 @@ tracks/0/keys = {
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
}
[sub_resource type="Animation" id="Animation_ro2x5"]
resource_name = "logo"
step = 0.3
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("BbjLogo/ColorRect:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("BbjLogo/Sprite2D:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_g0ecv"]
_data = {
"RESET": SubResource("Animation_6aqtw"),
"logo": SubResource("Animation_ro2x5"),
"transit": SubResource("Animation_n35b4")
}
@ -52,3 +106,18 @@ color = Color(0, 0, 0, 0)
libraries = {
"": SubResource("AnimationLibrary_g0ecv")
}
[node name="BbjLogo" type="CanvasLayer" parent="."]
[node name="ColorRect" type="ColorRect" parent="BbjLogo"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Sprite2D" type="Sprite2D" parent="BbjLogo"]
modulate = Color(1, 1, 1, 0)
position = Vector2(960, 540)
scale = Vector2(1.5, 1.5)
texture = ExtResource("2_apx86")

View File

@ -13,6 +13,8 @@ public partial class GameManager : Node
public override void _Ready()
{
Input.SetCustomMouseCursor(Arrow2x);
var transit = GetNode<SceneTransit>("/root/SceneTransit");
transit.Transit("res://lab.tscn", true, "logo", 1.5f);
}
// Called every frame. 'delta' is the elapsed time since the previous frame.

View File

@ -8,16 +8,32 @@ public partial class Lab : Node2D
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
var label = GetNode<Label>("TitleBar/TitleBarBodyDate/DateLabel");
var label = GetNode<Label>("BottomBar/HBoxContainer/Date");
label.Text = Player.Timeline.InternalDate.ToLongDateString();
Player.Timeline.OnDayChanged += d => label.Text = d.ToLongDateString();
MoneyLabel = GetNode<Label>("BottomBar/HBoxContainer/Money");
tileMap = GetNode<TileMapLayer>("TestMap");
UpdateMap();
}
private Label MoneyLabel = null;
// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta)
{
switch(GD.RandRange(0,2)) {
case 0:
Player.Budget.Operational++;
break;
case 1:
Player.Budget.Facility += 10;
break;
case 2:
Player.Budget.Labor += 100;
break;
}
MoneyLabel.Text = Player.Budget.Total.ToString("N0");
}

View File

@ -98,7 +98,7 @@ public partial class Player : Node
}
public static BudgetType Budget { get; set; }
public static BudgetType Budget { get; set; } = new();
public static readonly TimelineType Timeline = new(DateOnly.Parse("2024/11/17"));
/// <summary>

View File

@ -15,20 +15,23 @@ public partial class SceneTransit : CanvasLayer
{
}
public async void Transit(string nextScene, bool needLoadResources = true)
public async void Transit(string nextScene, bool needLoadResources = true, string animation = "transit", float waitSecond = 0)
{
GameManager.NextScene = nextScene;
var ap = GetNode<AnimationPlayer>("AnimationPlayer");
Layer = 9999;
Show();
ap.Play("transit");
ap.Play(animation);
await ToSignal(ap, AnimationMixer.SignalName.AnimationFinished);
if (waitSecond > 0) {
await ToSignal(GetTree().CreateTimer(waitSecond), SceneTreeTimer.SignalName.Timeout);
}
if (needLoadResources) {
GetTree().ChangeSceneToFile("res://loader.tscn");
} else {
GetTree().ChangeSceneToFile(nextScene);
}
ap.PlayBackwards("transit");
ap.PlayBackwards(animation);
await ToSignal(ap, AnimationMixer.SignalName.AnimationFinished);
Layer = -1;
Hide();