extend PCK support

This commit is contained in:
2023-01-03 01:00:11 +01:00
parent 4c8499f4f0
commit b5286a5f54
8 changed files with 95 additions and 50 deletions

View File

@@ -12,7 +12,6 @@ grow_vertical = 2
metadata/_edit_use_anchors_ = true
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
@@ -26,16 +25,21 @@ grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
offset_left = 102.0
offset_right = 295.0
offset_bottom = 31.0
size_flags_horizontal = 4
size_flags_vertical = 2
[node name="Start" type="Button" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
offset_right = 96.0
offset_bottom = 31.0
text = "Start Game"
[node name="ModsMenu" type="MenuButton" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
offset_left = 100.0
offset_right = 193.0
offset_bottom = 31.0
text = "Select Mod"
flat = false
item_count = 2
@@ -45,15 +49,21 @@ popup/item_1/text = "test2"
popup/item_1/id = 1
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer"]
layout_mode = 2
offset_left = 138.0
offset_top = 102.0
offset_right = 258.0
offset_bottom = 168.0
size_flags_horizontal = 4
size_flags_vertical = 10
[node name="SettingsButton" type="Button" parent="VBoxContainer/VBoxContainer2"]
layout_mode = 2
offset_right = 120.0
offset_bottom = 31.0
text = "Game Settings"
icon_alignment = 1
[node name="ExitButton" type="Button" parent="VBoxContainer/VBoxContainer2"]
layout_mode = 2
offset_top = 35.0
offset_right = 120.0
offset_bottom = 66.0
text = "Exit"

View File

@@ -1,21 +1,21 @@
[gd_scene load_steps=11 format=3 uid="uid://bq7p576e7a17i"]
[ext_resource type="Texture2D" uid="uid://bx4pdgghucl4k" path="res://textures/concrete_15.jpg" id="3_0q1g3"]
[ext_resource type="Texture2D" uid="uid://bj2qm3joiywso" path="res://textures/dark.png" id="4_mcb4j"]
[ext_resource type="Texture2D" uid="uid://bt671xkej3a2s" path="res://textures/shipping_container_01_side.jpg" id="5_wj0e7"]
[ext_resource type="Texture2D" uid="uid://c52qu6ad3taix" path="res://textures/shipping_container_01_front.jpg" id="6_g7sga"]
[ext_resource type="Texture2D" uid="uid://bx4pdgghucl4k" path="res://textures/concrete_15.jpg" id="1_os4mo"]
[ext_resource type="Texture2D" uid="uid://bj2qm3joiywso" path="res://textures/dark.png" id="2_53atb"]
[ext_resource type="Texture2D" uid="uid://bt671xkej3a2s" path="res://textures/shipping_container_01_side.jpg" id="3_am21j"]
[ext_resource type="Texture2D" uid="uid://c52qu6ad3taix" path="res://textures/shipping_container_01_front.jpg" id="4_tpukd"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yhpph"]
albedo_texture = ExtResource("3_0q1g3")
albedo_texture = ExtResource("1_os4mo")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_plg37"]
albedo_texture = ExtResource("4_mcb4j")
albedo_texture = ExtResource("2_53atb")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8xybu"]
albedo_texture = ExtResource("5_wj0e7")
albedo_texture = ExtResource("3_am21j")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rri1d"]
albedo_texture = ExtResource("6_g7sga")
albedo_texture = ExtResource("4_tpukd")
[sub_resource type="ArrayMesh" id="ArrayMesh_bdgr3"]
lightmap_size_hint = Vector2i(2802, 2814)