Make Precipice the main menu background

This commit is contained in:
Jens Pitkänen 2026-07-29 01:00:23 +03:00
parent 5ccb0cd794
commit 01876de2e7
5 changed files with 847 additions and 789 deletions

View File

@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bo14n7pvrvyev"]
[ext_resource type="Texture2D" uid="uid://djdsnfutrpia" path="res://maps/textures/str_metalgen5.png" id="1_0xjvw"]
[resource]
albedo_texture = ExtResource("1_0xjvw")
metallic_specular = 0.0
texture_filter = 2

View File

@ -3395,6 +3395,15 @@
( -1088 -2240 1536 ) ( -1087 -2240 1536 ) ( -1088 -2240 1537 ) str_metalgen4 [ -1 0 0 0 ] [ 0 0 -1 128 ] 90 0.5 0.5 ( -1088 -2240 1536 ) ( -1087 -2240 1536 ) ( -1088 -2240 1537 ) str_metalgen4 [ -1 0 0 0 ] [ 0 0 -1 128 ] 90 0.5 0.5
( -1088 -2240 1536 ) ( -1088 -2240 1537 ) ( -1088 -2239 1536 ) str_metalgen4 [ 0 1 0 0 ] [ 0 0 -1 128 ] 90 0.5 0.5 ( -1088 -2240 1536 ) ( -1088 -2240 1537 ) ( -1088 -2239 1536 ) str_metalgen4 [ 0 1 0 0 ] [ 0 0 -1 128 ] 90 0.5 0.5
} }
// brush 377
{
( -496 -2352 -1024 ) ( -496 -2351 -1024 ) ( -496 -2352 -1023 ) str_metalgen5 [ -1.07845677785305e-06 0 0.9999999999994192 31.998901 ] [ 0 1.0000000000000007 -1.0587911840678754e-22 95.99951 ] 269.9999 0.5 0.5
( -496 -2352 -1024 ) ( -496 -2352 -1023 ) ( -495 -2352 -1024 ) str_metalgen5 [ -1.07845677785305e-06 0 0.999999999999419 1055.9989 ] [ 0.999999999999419 0 1.07845677785305e-06 3040.0015 ] 269.9999 0.5 0.5
( -496 -2352 -1024 ) ( -495 -2352 -1024 ) ( -496 -2351 -1024 ) str_metalgen5 [ -1 0 0 0 ] [ 0 -1 0 0 ] 0 0.5 0.5
( -464 -2320 -768 ) ( -464 -2319 -768 ) ( -463 -2320 -768 ) str_metalgen5 [ 1 0 0 0 ] [ 0 -1 0 0 ] 270 0.5 0.5
( -464 -2320 -1008 ) ( -463 -2320 -1008 ) ( -464 -2320 -1007 ) str_metalgen5 [ -1.07845677785305e-06 0 0.999999999999419 1055.9989 ] [ 0.999999999999419 0 1.07845677785305e-06 3040.0015 ] 269.9999 0.5 0.5
( -464 -2320 -1008 ) ( -464 -2320 -1007 ) ( -464 -2319 -1008 ) str_metalgen5 [ -1.07845677785305e-06 0 0.9999999999994192 31.998901 ] [ 0 -1.0000000000000007 -1.0587911840678754e-22 -32.00049 ] 269.9999 0.5 0.5
}
} }
// entity 1 // entity 1
{ {

File diff suppressed because one or more lines are too long

View File

@ -3,19 +3,20 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://djdsnfutrpia" uid="uid://djdsnfutrpia"
path="res://.godot/imported/str_metalgen5.png-fc355d420230e5f134e556c480e27485.ctex" path.s3tc="res://.godot/imported/str_metalgen5.png-fc355d420230e5f134e556c480e27485.s3tc.ctex"
metadata={ metadata={
"vram_texture": false "imported_formats": ["s3tc_bptc"],
"vram_texture": true
} }
[deps] [deps]
source_file="res://maps/textures/str_metalgen5.png" source_file="res://maps/textures/str_metalgen5.png"
dest_files=["res://.godot/imported/str_metalgen5.png-fc355d420230e5f134e556c480e27485.ctex"] dest_files=["res://.godot/imported/str_metalgen5.png-fc355d420230e5f134e556c480e27485.s3tc.ctex"]
[params] [params]
compress/mode=0 compress/mode=2
compress/high_quality=false compress/high_quality=false
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/uastc_level=0 compress/uastc_level=0
@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1 compress/hdr_compression=1
compress/normal_map=0 compress/normal_map=0
compress/channel_pack=0 compress/channel_pack=0
mipmaps/generate=false mipmaps/generate=true
mipmaps/limit=-1 mipmaps/limit=-1
roughness/mode=0 roughness/mode=0
roughness/src_normal="" roughness/src_normal=""
@ -37,4 +38,4 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=0

View File

@ -3,6 +3,7 @@
[ext_resource type="PackedScene" uid="uid://bbmc2gmy7g8ag" path="res://scenes/misc/menu_player.tscn" id="1_o5qli"] [ext_resource type="PackedScene" uid="uid://bbmc2gmy7g8ag" path="res://scenes/misc/menu_player.tscn" id="1_o5qli"]
[ext_resource type="PackedScene" uid="uid://dsxu0y8pjbw3k" path="res://scenes/ui/credits.tscn" id="1_sugp2"] [ext_resource type="PackedScene" uid="uid://dsxu0y8pjbw3k" path="res://scenes/ui/credits.tscn" id="1_sugp2"]
[ext_resource type="PackedScene" uid="uid://n3u0jr4wiib1" path="res://scenes/ui/settings.tscn" id="2_0wfyh"] [ext_resource type="PackedScene" uid="uid://n3u0jr4wiib1" path="res://scenes/ui/settings.tscn" id="2_0wfyh"]
[ext_resource type="PackedScene" uid="uid://ku0i1jwmgh78" path="res://maps/precipice/precipice.tscn" id="4_jyhfs"]
[node name="menu" type="MainMenu" unique_id=2036763876 node_paths=PackedStringArray("camera", "main_position", "host_position", "main_panel", "host_panel", "join_panel", "host_port", "join_addr", "join_port", "recent_servers_button", "popup_panel", "popup_title", "popup_text", "popup_button", "open_replay_dialog")] [node name="menu" type="MainMenu" unique_id=2036763876 node_paths=PackedStringArray("camera", "main_position", "host_position", "main_panel", "host_panel", "join_panel", "host_port", "join_addr", "join_port", "recent_servers_button", "popup_panel", "popup_title", "popup_text", "popup_button", "open_replay_dialog")]
camera = NodePath("camera_3d") camera = NodePath("camera_3d")
@ -26,9 +27,6 @@ open_replay_dialog = NodePath("open_replay_dialog")
transform = Transform3D(0.98629165, -0.031186381, 0.16203775, -1.4054481e-08, 0.981978, 0.1889952, -0.16501158, -0.18640438, 0.9685167, 1.0974052, 1.7166122, 1.4909106) transform = Transform3D(0.98629165, -0.031186381, 0.16203775, -1.4054481e-08, 0.981978, 0.1889952, -0.16501158, -0.18640438, 0.9685167, 1.0974052, 1.7166122, 1.4909106)
current = true current = true
[node name="directional_light_3d" type="DirectionalLight3D" parent="." unique_id=75522463]
transform = Transform3D(0.61237246, -0.5, 0.61237246, 0.3535534, 0.8660254, 0.3535534, -0.7071068, 0, 0.7071068, 0, 1, 2)
[node name="menu_player" parent="." unique_id=928718358 instance=ExtResource("1_o5qli")] [node name="menu_player" parent="." unique_id=928718358 instance=ExtResource("1_o5qli")]
transform = Transform3D(0.66809446, 0, -0.74407655, 0, 1, 0, 0.74407655, 0, 0.66809446, 2.270261, -2.3841858e-07, -1.3596804) transform = Transform3D(0.66809446, 0, -0.74407655, 0, 1, 0, 0.74407655, 0, 0.66809446, 2.270261, -2.3841858e-07, -1.3596804)
@ -275,6 +273,29 @@ file_mode = 0
access = 2 access = 2
filters = PackedStringArray("*.replay") filters = PackedStringArray("*.replay")
[node name="precipice" parent="." unique_id=1264602028 instance=ExtResource("4_jyhfs")]
process_mode = 4
transform = Transform3D(-0.7095707, 0, 0.7046342, 0, 1, 0, -0.70463413, 0, -0.70957077, -47.109, 31.975, -61.37)
[node name="spot_light_3d" type="SpotLight3D" parent="." unique_id=205717746]
transform = Transform3D(0.9044353, -0.1934939, 0.38020653, 0, 0.89122534, 0.45356053, -0.4266109, -0.41021618, 0.8060557, 3.2621152, 2.6915708, 1.5341098)
light_color = Color(0.93826556, 0.5265053, 0, 1)
spot_range = 5.1070447
[node name="spot_light_3d3" type="SpotLight3D" parent="." unique_id=335285489]
transform = Transform3D(-0.64481837, -0.54259956, 0.5383262, 0.46793857, 0.27664348, 0.8393462, -0.60435325, 0.7931294, 0.07551843, -0.6577257, 5.0212064, 0.9933642)
light_color = Color(1, 0.77, 0.77, 1)
light_energy = 8.0
spot_range = 11.849196
spot_angle = 11.861256
[node name="spot_light_3d4" type="SpotLight3D" parent="." unique_id=200912949]
transform = Transform3D(-0.8766457, 0.025024138, 0.4804854, 0.4679386, 0.27664346, 0.8393462, -0.11191924, 0.96064675, -0.25422806, -1.0836858, 5.0212064, 1.286193)
light_color = Color(0.77, 0.88116664, 1, 1)
light_energy = 8.0
spot_range = 11.849196
spot_angle = 11.861256
[connection signal="pressed" from="main_panel/v_box_container/host" to="." method="go_to_host_game"] [connection signal="pressed" from="main_panel/v_box_container/host" to="." method="go_to_host_game"]
[connection signal="pressed" from="main_panel/v_box_container/join" to="." method="go_to_join_game"] [connection signal="pressed" from="main_panel/v_box_container/join" to="." method="go_to_join_game"]
[connection signal="pressed" from="main_panel/v_box_container/play_replay" to="." method="open_replay_dialog"] [connection signal="pressed" from="main_panel/v_box_container/play_replay" to="." method="open_replay_dialog"]