full multiplayer plus new models
This commit is contained in:
@ -19,9 +19,13 @@ layout_mode = 2
|
||||
layout_mode = 2
|
||||
text = "Unable to connect to server"
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_right = 28
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
text = "OK"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/MarginContainer/Button" to="." method="_on_button_pressed"]
|
||||
|
@ -26,13 +26,23 @@ text = "Some Text?"
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Confirm" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_right = 30
|
||||
|
||||
[node name="Confirm" type="Button" parent="VBoxContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
text = "Confirm"
|
||||
|
||||
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_right = 30
|
||||
|
||||
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
text = "Cancel"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Confirm" to="." method="_on_confirm_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="_on_cancel_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/MarginContainer/Confirm" to="." method="_on_confirm_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/MarginContainer2/Cancel" to="." method="_on_cancel_pressed"]
|
||||
|
@ -1,9 +1,14 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://8yv7excojcg0"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://8yv7excojcg0"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://b6a0ip4p72tgx" path="res://new_theme.tres" id="1_p1cib"]
|
||||
[ext_resource type="Script" path="res://Scripts/main_menu.gd" id="2_ivytu"]
|
||||
[ext_resource type="Texture2D" uid="uid://lvvnrb5jugum" path="res://Assets/Textures/logo_title.png" id="3_8jkeb"]
|
||||
[ext_resource type="PackedScene" uid="uid://y1qa1g3ic8sp" path="res://Worlds/GreenPlanet/Levels/first_level.tscn" id="3_l8r4a"]
|
||||
|
||||
[node name="MainMenu" type="Control"]
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_5u75i"]
|
||||
viewport_path = NodePath("SubViewport")
|
||||
|
||||
[node name="MainMenu" type="Control" node_paths=PackedStringArray("bg_level")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@ -12,55 +17,84 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_p1cib")
|
||||
script = ExtResource("2_ivytu")
|
||||
bg_level = NodePath("SubViewport/GridMap")
|
||||
|
||||
[node name="Title" type="PanelContainer" parent="."]
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -559.5
|
||||
offset_top = 25.0
|
||||
offset_right = 559.5
|
||||
offset_bottom = 113.0
|
||||
grow_horizontal = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Title"]
|
||||
layout_mode = 2
|
||||
text = "MULTIPLAYER TOWER DEFENSE CARD GAME ROGUELIKE !!!"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="MainControls" type="PanelContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -71.0
|
||||
offset_top = -81.0
|
||||
offset_right = 71.0
|
||||
offset_bottom = 81.0
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = SubResource("ViewportTexture_5u75i")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MainControls"]
|
||||
[node name="TextureRect2" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -627.0
|
||||
offset_top = 73.0
|
||||
offset_right = 1293.0
|
||||
offset_bottom = 1153.0
|
||||
grow_horizontal = 2
|
||||
scale = Vector2(0.67, 0.67)
|
||||
texture = ExtResource("3_8jkeb")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="MainControls" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 130.0
|
||||
offset_top = -188.0
|
||||
offset_right = 143.0
|
||||
offset_bottom = -80.0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MainControls"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_top = 3
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_bottom = 3
|
||||
|
||||
[node name="PlayButton" type="Button" parent="MainControls/VBoxContainer"]
|
||||
[node name="PlayButton" type="Button" parent="MainControls/MarginContainer"]
|
||||
layout_mode = 2
|
||||
text = "Play"
|
||||
|
||||
[node name="MultiplayerButton" type="Button" parent="MainControls/VBoxContainer"]
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="MainControls"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_top = 3
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_bottom = 3
|
||||
|
||||
[node name="MultiplayerButton" type="Button" parent="MainControls/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
text = "Multiplayer"
|
||||
|
||||
[node name="OptionsButton" type="Button" parent="MainControls/VBoxContainer"]
|
||||
[node name="MarginContainer3" type="MarginContainer" parent="MainControls"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_top = 3
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_bottom = 3
|
||||
|
||||
[node name="OptionsButton" type="Button" parent="MainControls/MarginContainer3"]
|
||||
layout_mode = 2
|
||||
text = "Options
|
||||
"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="MainControls/VBoxContainer"]
|
||||
[node name="MarginContainer4" type="MarginContainer" parent="MainControls"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_top = 3
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_bottom = 3
|
||||
|
||||
[node name="QuitButton" type="Button" parent="MainControls/MarginContainer4"]
|
||||
layout_mode = 2
|
||||
text = "Quit
|
||||
"
|
||||
@ -68,15 +102,15 @@ text = "Quit
|
||||
[node name="ProfileEditor" type="PanelContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -181.5
|
||||
offset_left = -429.0
|
||||
offset_top = -140.0
|
||||
offset_right = 181.5
|
||||
offset_bottom = -30.0
|
||||
grow_horizontal = 2
|
||||
offset_right = -55.0
|
||||
offset_bottom = -40.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="ProfileEditor"]
|
||||
@ -92,14 +126,28 @@ layout_mode = 2
|
||||
|
||||
[node name="DisplayName" type="Label" parent="ProfileEditor/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Dummy Name"
|
||||
|
||||
[node name="DisplayNameEdit" type="Button" parent="ProfileEditor/VBoxContainer/HBoxContainer"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="ProfileEditor/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 29
|
||||
theme_override_constants/margin_top = 2
|
||||
theme_override_constants/margin_right = 31
|
||||
theme_override_constants/margin_bottom = 4
|
||||
|
||||
[node name="DisplayNameEdit" type="Button" parent="ProfileEditor/VBoxContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Change"
|
||||
|
||||
[connection signal="pressed" from="MainControls/VBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
|
||||
[connection signal="pressed" from="MainControls/VBoxContainer/MultiplayerButton" to="." method="_on_multiplayer_button_pressed"]
|
||||
[connection signal="pressed" from="MainControls/VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
|
||||
[connection signal="pressed" from="MainControls/VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
|
||||
[connection signal="pressed" from="ProfileEditor/VBoxContainer/HBoxContainer/DisplayNameEdit" to="." method="_on_display_name_edit_pressed"]
|
||||
[node name="SubViewport" type="SubViewport" parent="."]
|
||||
size = Vector2i(1920, 1080)
|
||||
|
||||
[node name="GridMap" parent="SubViewport" instance=ExtResource("3_l8r4a")]
|
||||
|
||||
[connection signal="pressed" from="MainControls/MarginContainer/PlayButton" to="." method="_on_play_button_pressed"]
|
||||
[connection signal="pressed" from="MainControls/MarginContainer2/MultiplayerButton" to="." method="_on_multiplayer_button_pressed"]
|
||||
[connection signal="pressed" from="MainControls/MarginContainer3/OptionsButton" to="." method="_on_options_button_pressed"]
|
||||
[connection signal="pressed" from="MainControls/MarginContainer4/QuitButton" to="." method="_on_quit_button_pressed"]
|
||||
[connection signal="pressed" from="ProfileEditor/VBoxContainer/HBoxContainer/MarginContainer/DisplayNameEdit" to="." method="_on_display_name_edit_pressed"]
|
||||
|
@ -6,7 +6,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://bf2nosqt5f82e" path="res://Scenes/Menus/keybind_options.tscn" id="5_4k33c"]
|
||||
[ext_resource type="PackedScene" uid="uid://bwc45ogto8thn" path="res://Scenes/Menus/audio_options.tscn" id="6_4vs8p"]
|
||||
|
||||
[node name="OptionsMenu" type="PanelContainer"]
|
||||
[node name="OptionsMenu" type="PanelContainer" node_paths=PackedStringArray("gameplay", "graphics", "keybinds")]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
@ -17,6 +17,9 @@ offset_bottom = -30.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_bievw")
|
||||
gameplay = NodePath("VBoxContainer/TabContainer/Gameplay")
|
||||
graphics = NodePath("VBoxContainer/TabContainer/Graphics")
|
||||
keybinds = NodePath("VBoxContainer/TabContainer/Keybinds")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
@ -43,13 +46,27 @@ layout_mode = 2
|
||||
layout_mode = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 30
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
text = "Discard"
|
||||
|
||||
[node name="Confirm" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 30
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="Confirm" type="Button" parent="VBoxContainer/HBoxContainer/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
text = "Confirm"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="_on_cancel_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Confirm" to="." method="_on_confirm_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/MarginContainer/Cancel" to="." method="_on_cancel_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/MarginContainer2/Confirm" to="." method="_on_confirm_pressed"]
|
||||
|
@ -39,23 +39,51 @@ grow_vertical = 2
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Resume" type="Button" parent="PanelContainer/VBoxContainer"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 24
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 24
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="Resume" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
text = "Resume"
|
||||
|
||||
[node name="Options" type="Button" parent="PanelContainer/VBoxContainer"]
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 24
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 24
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="Options" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
text = "Options"
|
||||
|
||||
[node name="QuitToMainMenu" type="Button" parent="PanelContainer/VBoxContainer"]
|
||||
[node name="MarginContainer3" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 24
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 24
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="QuitToMainMenu" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer3"]
|
||||
layout_mode = 2
|
||||
text = "Quit to main menu"
|
||||
|
||||
[node name="QuitToDesktop" type="Button" parent="PanelContainer/VBoxContainer"]
|
||||
[node name="MarginContainer4" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 24
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 24
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="QuitToDesktop" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer4"]
|
||||
layout_mode = 2
|
||||
text = "Quit to desktop"
|
||||
|
||||
[connection signal="pressed" from="PanelContainer/VBoxContainer/Resume" to="." method="_on_resume_pressed"]
|
||||
[connection signal="pressed" from="PanelContainer/VBoxContainer/Options" to="." method="_on_options_pressed"]
|
||||
[connection signal="pressed" from="PanelContainer/VBoxContainer/QuitToMainMenu" to="." method="_on_quit_to_main_menu_pressed"]
|
||||
[connection signal="pressed" from="PanelContainer/VBoxContainer/QuitToDesktop" to="." method="_on_quit_to_desktop_pressed"]
|
||||
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/Resume" to="." method="_on_resume_pressed"]
|
||||
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer2/Options" to="." method="_on_options_pressed"]
|
||||
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer3/QuitToMainMenu" to="." method="_on_quit_to_main_menu_pressed"]
|
||||
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer4/QuitToDesktop" to="." method="_on_quit_to_desktop_pressed"]
|
||||
|
@ -23,9 +23,14 @@ layout_mode = 2
|
||||
layout_mode = 2
|
||||
placeholder_text = "Dummy Text"
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_right = 30
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
text = "Confirm
|
||||
"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/MarginContainer/Button" to="." method="_on_button_pressed"]
|
||||
|
@ -37,10 +37,10 @@ layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -52.5
|
||||
offset_top = 300.0
|
||||
offset_right = -173.0
|
||||
offset_bottom = 31.0
|
||||
offset_left = -312.0
|
||||
offset_top = 331.0
|
||||
offset_right = -157.0
|
||||
offset_bottom = 369.0
|
||||
grow_horizontal = 2
|
||||
text = "play again :3"
|
||||
|
||||
@ -49,10 +49,10 @@ layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = 348.0
|
||||
offset_top = 300.0
|
||||
offset_right = -173.0
|
||||
offset_bottom = 31.0
|
||||
offset_left = 11.0
|
||||
offset_top = 331.0
|
||||
offset_right = 262.0
|
||||
offset_bottom = 369.0
|
||||
grow_horizontal = 2
|
||||
text = "quit to main menu :<"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://1b2ikdanl66b"]
|
||||
[gd_scene load_steps=13 format=3 uid="uid://1b2ikdanl66b"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/card_printer.gd" id="1_7rhtj"]
|
||||
[ext_resource type="PackedScene" uid="uid://dixtx38u4jhd7" path="res://Scenes/UI/card_hand.tscn" id="2_7ouw1"]
|
||||
@ -11,6 +11,9 @@ albedo_color = Color(0.203922, 0.592157, 0.592157, 1)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_0ebt5"]
|
||||
size = Vector3(2.672, 1.75, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_und3g"]
|
||||
size = Vector3(0.816972, 0.233429, 0.632978)
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_yf4je"]
|
||||
viewport_path = NodePath("SubViewport")
|
||||
|
||||
@ -43,6 +46,10 @@ material = SubResource("StandardMaterial3D_s02au")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
|
||||
shape = SubResource("BoxShape3D_0ebt5")
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6825, 0.484672, 0)
|
||||
shape = SubResource("BoxShape3D_und3g")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="."]
|
||||
transparent_bg = true
|
||||
render_target_update_mode = 4
|
||||
@ -84,8 +91,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.444448, 0.610684)
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("3_iia6u")
|
||||
press_cost = 10
|
||||
hover_text = "Spend 10 Coins to print card"
|
||||
press_cost = 20
|
||||
hover_text = "Spend 20 Coins to print card"
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_ikdwj")
|
||||
@ -131,6 +138,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0466152, -0.0297148, -0.09
|
||||
shape = SubResource("BoxShape3D_gv3t5")
|
||||
disabled = true
|
||||
|
||||
[node name="CSGBox3D2" type="CSGBox3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6825, 0.484672, 0)
|
||||
size = Vector3(0.816972, 0.233429, 0.632978)
|
||||
material = SubResource("StandardMaterial3D_s02au")
|
||||
|
||||
[connection signal="button_interacted" from="StaticBody3D" to="." method="_on_static_body_3d_button_interacted"]
|
||||
[connection signal="button_interacted" from="StaticBody3D2" to="." method="retrieve_card"]
|
||||
[connection signal="button_interacted" from="StaticBody3D3" to="." method="retrieve_card"]
|
||||
|
@ -8,6 +8,7 @@ viewport_path = NodePath("SubViewport")
|
||||
[node name="Node3D" type="Sprite3D"]
|
||||
pixel_size = 0.0006
|
||||
billboard = 1
|
||||
no_depth_test = true
|
||||
fixed_size = true
|
||||
render_priority = 1
|
||||
texture = SubResource("ViewportTexture_ppqlh")
|
||||
|
@ -3,37 +3,37 @@
|
||||
[ext_resource type="Texture2D" uid="uid://ba85u6i558x4w" path="res://Assets/Textures/minimap_node.png" id="1_phew5"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xt3aj"]
|
||||
albedo_color = Color(0.0980392, 0.309804, 0.180392, 1)
|
||||
albedo_color = Color(0.356863, 0.87451, 0.94902, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gbm1j"]
|
||||
albedo_color = Color(0.0980392, 0.309804, 0.180392, 1)
|
||||
albedo_color = Color(0.356863, 0.87451, 0.94902, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_18qg8"]
|
||||
albedo_color = Color(0.0980392, 0.309804, 0.180392, 1)
|
||||
albedo_color = Color(0.356863, 0.87451, 0.94902, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ip8b2"]
|
||||
albedo_color = Color(0.0980392, 0.309804, 0.180392, 1)
|
||||
albedo_color = Color(0.356863, 0.87451, 0.94902, 1)
|
||||
|
||||
[node name="Node3D" type="Node3D"]
|
||||
|
||||
[node name="CSGBox3D2" type="CSGBox3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.02, 0.575)
|
||||
size = Vector3(0.525, 0.04, 0.05)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.02, 0.475)
|
||||
size = Vector3(1, 0.04, 0.05)
|
||||
material = SubResource("StandardMaterial3D_xt3aj")
|
||||
|
||||
[node name="CSGBox3D3" type="CSGBox3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.02, -0.575)
|
||||
size = Vector3(0.525, 0.04, 0.05)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.02, -0.475)
|
||||
size = Vector3(1, 0.04, 0.05)
|
||||
material = SubResource("StandardMaterial3D_gbm1j")
|
||||
|
||||
[node name="CSGBox3D4" type="CSGBox3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.575, 0.02, 0)
|
||||
size = Vector3(0.05, 0.04, 0.525)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.475, 0.02, 0)
|
||||
size = Vector3(0.05, 0.04, 1)
|
||||
material = SubResource("StandardMaterial3D_18qg8")
|
||||
|
||||
[node name="CSGBox3D5" type="CSGBox3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.575, 0.02, 0)
|
||||
size = Vector3(0.05, 0.04, 0.525)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.475, 0.02, 0)
|
||||
size = Vector3(0.05, 0.04, 1)
|
||||
material = SubResource("StandardMaterial3D_ip8b2")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
|
Reference in New Issue
Block a user