finally managed to pin down the in game UI and control issues for keyboard
This commit is contained in:
@@ -103,3 +103,5 @@ func _on_confirm_main_menu_confirmed() -> void:
|
||||
|
||||
func _on_confirm_exit_confirmed() -> void:
|
||||
get_tree().quit()
|
||||
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ func _handle_cancel_input() -> void:
|
||||
close()
|
||||
|
||||
func _unhandled_input(event : InputEvent) -> void:
|
||||
return
|
||||
if event.is_action_pressed("ui_cancel"):
|
||||
_handle_cancel_input()
|
||||
get_viewport().set_input_as_handled()
|
||||
|
||||
381
maps/city.tscn
381
maps/city.tscn
@@ -1,10 +1,9 @@
|
||||
[gd_scene load_steps=41 format=3 uid="uid://dmkw8cmalm5k"]
|
||||
[gd_scene load_steps=40 format=3 uid="uid://dmkw8cmalm5k"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bei4nhkf8lwdo" path="res://player_controller/PlayerController.tscn" id="1_2vsi6"]
|
||||
[ext_resource type="Script" uid="uid://blenis2y55fmg" path="res://tools/city_helpers.gd" id="1_qwuk2"]
|
||||
[ext_resource type="Texture2D" uid="uid://ca4kkq3w8cd4n" path="res://assets/sky/sky_15_2k.png" id="2_ruo5i"]
|
||||
[ext_resource type="PackedScene" uid="uid://dkr80d2pi0d41" path="res://addons/guide/debugger/guide_debugger.tscn" id="2_uet8a"]
|
||||
[ext_resource type="Texture2D" uid="uid://7kcmi16gedd0" path="res://assets/LD-0001.png" id="3_ruo5i"]
|
||||
[ext_resource type="Script" uid="uid://cyh0d64pfygbl" path="res://addons/maaacks_game_template/base/scripts/pause_menu_controller.gd" id="7_ukfuy"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccqajqchiw4xu" path="res://menus/scenes/overlaid_menus/pause_menu.tscn" id="8_wctvs"]
|
||||
[ext_resource type="PackedScene" uid="uid://bkcsjsk2ciff" path="res://addons/maaacks_game_template/base/scenes/music_players/background_music_player.tscn" id="9_i2xii"]
|
||||
@@ -25,32 +24,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://nrhxjdpuje3f" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_lt_outline.svg" id="20_crf87"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyjvbsvbriii4" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_rb_outline.svg" id="23_p287n"]
|
||||
|
||||
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_feb1n"]
|
||||
panorama = ExtResource("2_ruo5i")
|
||||
|
||||
[sub_resource type="Sky" id="Sky_h2yge"]
|
||||
sky_material = SubResource("PanoramaSkyMaterial_feb1n")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_1bvp3"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_h2yge")
|
||||
ambient_light_source = 3
|
||||
reflected_light_source = 2
|
||||
tonemap_mode = 4
|
||||
ssao_enabled = true
|
||||
ssil_enabled = true
|
||||
sdfgi_enabled = true
|
||||
sdfgi_use_occlusion = true
|
||||
glow_enabled = true
|
||||
fog_enabled = true
|
||||
fog_light_color = Color(0.9955967, 0.83634025, 0.69151855, 1)
|
||||
fog_sun_scatter = 0.5
|
||||
fog_density = 0.002
|
||||
fog_sky_affect = 0.184
|
||||
volumetric_fog_density = 0.004
|
||||
volumetric_fog_emission = Color(1, 1, 1, 1)
|
||||
volumetric_fog_anisotropy = 0.6
|
||||
adjustment_enabled = true
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_2k3fr"]
|
||||
font_size = 30
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_t0d86"]
|
||||
size = Vector3(14, 15.5, 26)
|
||||
@@ -85,48 +60,40 @@ size = Vector3(11.5, 9, 4.5)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_pxspk"]
|
||||
size = Vector3(11.5, 9, 4.5)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_2k3fr"]
|
||||
font_size = 30
|
||||
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_feb1n"]
|
||||
panorama = ExtResource("2_ruo5i")
|
||||
|
||||
[sub_resource type="Sky" id="Sky_h2yge"]
|
||||
sky_material = SubResource("PanoramaSkyMaterial_feb1n")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_1bvp3"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_h2yge")
|
||||
ambient_light_source = 3
|
||||
reflected_light_source = 2
|
||||
tonemap_mode = 4
|
||||
ssao_enabled = true
|
||||
ssil_enabled = true
|
||||
sdfgi_enabled = true
|
||||
sdfgi_use_occlusion = true
|
||||
glow_enabled = true
|
||||
fog_enabled = true
|
||||
fog_light_color = Color(0.9955967, 0.83634025, 0.69151855, 1)
|
||||
fog_sun_scatter = 0.5
|
||||
fog_density = 0.002
|
||||
fog_sky_affect = 0.184
|
||||
volumetric_fog_density = 0.004
|
||||
volumetric_fog_emission = Color(1, 1, 1, 1)
|
||||
volumetric_fog_anisotropy = 0.6
|
||||
adjustment_enabled = true
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_p287n"]
|
||||
|
||||
[node name="Main" type="Node3D"]
|
||||
script = ExtResource("1_qwuk2")
|
||||
|
||||
[node name="Player" parent="." node_paths=PackedStringArray("TutorialWeaponTarget") instance=ExtResource("1_2vsi6")]
|
||||
transform = Transform3D(0.054514527, 0, -0.9985129, 0, 1, 0, 0.9985129, 0, 0.054514527, -6, 75.5, -13.5)
|
||||
collision_layer = 17
|
||||
TutorialWeaponTarget = NodePath("../PlacedTutorialWeapon/WeaponLocationTarget")
|
||||
TutorialDone = true
|
||||
AccelerationAir = 1.5
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_1bvp3")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(-0.78043425, 0.15240018, 0.60637933, 0.17673612, -0.8765135, 0.44775894, 0.5997381, 0.4566158, 0.6571267, 0, 0, 0)
|
||||
light_color = Color(0.99999934, 0.76777613, 0.6549227, 1)
|
||||
light_energy = 2.0
|
||||
light_volumetric_fog_energy = 2.0
|
||||
shadow_enabled = true
|
||||
shadow_opacity = 0.95
|
||||
shadow_blur = 2.435
|
||||
|
||||
[node name="DebugLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="GuideDebugger" parent="DebugLayer" instance=ExtResource("2_uet8a")]
|
||||
visible = false
|
||||
|
||||
[node name="Map" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(-3.278354e-07, -7.5, -3.278354e-08, 0, -3.278354e-07, 0.75, -7.5, 3.278354e-07, 1.4330142e-15, 7.1878185, 8.602432, -175.5159)
|
||||
visible = false
|
||||
texture = ExtResource("3_ruo5i")
|
||||
|
||||
[node name="Guard tower" parent="." instance=ExtResource("11_wctvs")]
|
||||
transform = Transform3D(0.09033705, 0, 0.99591124, 0, 1, 0, -0.99591124, 0, 0.09033705, -4.6100636, 1.5, 0.5658741)
|
||||
|
||||
[node name="Water" parent="." instance=ExtResource("12_i2xii")]
|
||||
transform = Transform3D(10000, 0, 0, 0, 1, 0, 0, 0, 10000, 0, 4.03932, -186.25941)
|
||||
[node name="BackgroundMusicPlayer" parent="." instance=ExtResource("9_i2xii")]
|
||||
stream = ExtResource("10_eca4n")
|
||||
|
||||
[node name="PauseMenuController" type="Node" parent="." node_paths=PackedStringArray("player")]
|
||||
script = ExtResource("7_ukfuy")
|
||||
@@ -134,132 +101,6 @@ pause_menu_packed = ExtResource("8_wctvs")
|
||||
player = NodePath("../Player")
|
||||
pause = ExtResource("10_0ari0")
|
||||
|
||||
[node name="BackgroundMusicPlayer" parent="." instance=ExtResource("9_i2xii")]
|
||||
stream = ExtResource("10_eca4n")
|
||||
|
||||
[node name="Lift" parent="." instance=ExtResource("13_eca4n")]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715573, 0, 1, 0, 0.08715573, 0, 0.9961947, -4.593, 1.618, 0.583)
|
||||
end_location = Vector3(-4.593, 116.11, 0.583)
|
||||
lift_time = 8.0
|
||||
|
||||
[node name="PlacedTutorialWeapon" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-2, 3.019916e-07, 0, -3.019916e-07, -2, 0, 0, 0, 2, -17.904, -79.265, 145.317)
|
||||
mesh = ExtResource("14_0ari0")
|
||||
script = ExtResource("15_165wb")
|
||||
|
||||
[node name="SpotLight3D" type="SpotLight3D" parent="PlacedTutorialWeapon"]
|
||||
transform = Transform3D(1, -1.509958e-07, 6.600236e-15, 0, -4.371139e-08, -1, 1.509958e-07, 1, -4.371139e-08, 0, -2.3931274, 0)
|
||||
spot_range = 9.85
|
||||
spot_attenuation = 0.46
|
||||
spot_angle = 15.0
|
||||
|
||||
[node name="WeaponLocationTarget" type="Marker3D" parent="PlacedTutorialWeapon"]
|
||||
|
||||
[node name="TutoTriggers" type="Node3D" parent="."]
|
||||
transform = Transform3D(0.054514527, 0, -0.9985129, 0, 1, 0, 0.9985129, 0, 0.054514527, -0.78573227, -132.74933, 116.65933)
|
||||
|
||||
[node name="TriggerTutoMove" type="Area3D" parent="TutoTriggers"]
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoMove"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155946, 0, 1, 0, 0.087155946, 0, 0.9961947, 1.1144943, 6.5, 1.6032357)
|
||||
shape = SubResource("BoxShape3D_t0d86")
|
||||
|
||||
[node name="TriggerTutoMantle" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, -10.4557495, 0, -28.61254)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoMantle"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 0.19611359, 7, -2.241436)
|
||||
shape = SubResource("BoxShape3D_p287n")
|
||||
|
||||
[node name="TutoJump" parent="TutoTriggers" instance=ExtResource("16_qwuk2")]
|
||||
transform = Transform3D(0.14133328, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133328, -0.32653046, 1.2493286, -50.374645)
|
||||
first_input_texture = ExtResource("16_2k3fr")
|
||||
second_input_texture = ExtResource("16_2k3fr")
|
||||
tuto_text = "Double jump"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TutoJump"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.49998856, 6.25, 3.499977)
|
||||
shape = SubResource("BoxShape3D_5hbxb")
|
||||
|
||||
[node name="TutoDash" parent="TutoTriggers" instance=ExtResource("16_qwuk2")]
|
||||
transform = Transform3D(0.14133328, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133328, 19.967693, 1.2493286, -47.47731)
|
||||
first_input_texture = ExtResource("16_crf87")
|
||||
second_input_texture = ExtResource("19_efsse")
|
||||
tuto_text = "Dash"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TutoDash"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.49999237, 6.25, 4.2500153)
|
||||
shape = SubResource("BoxShape3D_6gj1x")
|
||||
|
||||
[node name="TriggerTutoWallJump" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, 38.60766, 0, -28.437609)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoWallJump"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, -1.9546509, 20.75, 10.8709755)
|
||||
shape = SubResource("BoxShape3D_x7fl1")
|
||||
|
||||
[node name="TriggerTutoWallJump2" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, 15.983452, 0, 37.426994)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoWallJump2"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 2.3256226, 21.75, 4.9715767)
|
||||
shape = SubResource("BoxShape3D_3wccx")
|
||||
|
||||
[node name="TutoDash2" parent="TutoTriggers" instance=ExtResource("16_qwuk2")]
|
||||
transform = Transform3D(0.14133325, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133325, 28.885735, 27.749329, 25.360323)
|
||||
first_input_texture = ExtResource("16_crf87")
|
||||
second_input_texture = ExtResource("19_efsse")
|
||||
complex_input_text = "in air"
|
||||
tuto_text = "Dash"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TutoDash2"]
|
||||
transform = Transform3D(1.0000031, 0, -4.917383e-07, 0, 1, 0, 4.917383e-07, 0, 1.0000031, 5.500023, 5, 0)
|
||||
shape = SubResource("BoxShape3D_hmdts")
|
||||
|
||||
[node name="TriggerTutoWeaponThrow" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, 4.428787, 58, 19.770819)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoWeaponThrow"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 4.4208603, 7, -4.632329)
|
||||
shape = SubResource("BoxShape3D_lnjrw")
|
||||
|
||||
[node name="TriggerTutoEnjoy" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, -120.81145, 214.5, 2.417603)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoEnjoy"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 3.9663503, 5.5, -5.174009)
|
||||
shape = SubResource("BoxShape3D_3w3wd")
|
||||
|
||||
[node name="TutorialDoneArea" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.14133324, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133324, 7.9436035, 53.74933, 16.672102)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TutorialDoneArea"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.7500105, 4, 0.7499695)
|
||||
shape = SubResource("BoxShape3D_lu3yt")
|
||||
|
||||
[node name="WeaponRetrieved" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.14133324, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133324, 27.3601, 53.74933, 18.733648)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/WeaponRetrieved"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.7500105, 4, 0.7499695)
|
||||
shape = SubResource("BoxShape3D_pxspk")
|
||||
|
||||
[node name="TutorialController" type="Control" parent="."]
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
@@ -268,6 +109,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 1
|
||||
script = ExtResource("16_efsse")
|
||||
tuto_got_sword_packed = ExtResource("17_t0d86")
|
||||
|
||||
@@ -416,6 +258,159 @@ layout_mode = 2
|
||||
text = "Enjoy this little playground!"
|
||||
label_settings = SubResource("LabelSettings_2k3fr")
|
||||
|
||||
[node name="TutoTriggers" type="Node3D" parent="."]
|
||||
transform = Transform3D(0.054514527, 0, -0.9985129, 0, 1, 0, 0.9985129, 0, 0.054514527, -0.78573227, -132.74933, 116.65933)
|
||||
|
||||
[node name="TriggerTutoMove" type="Area3D" parent="TutoTriggers"]
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoMove"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155946, 0, 1, 0, 0.087155946, 0, 0.9961947, 1.1144943, 6.5, 1.6032357)
|
||||
shape = SubResource("BoxShape3D_t0d86")
|
||||
|
||||
[node name="TriggerTutoMantle" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, -10.4557495, 0, -28.61254)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoMantle"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 0.19611359, 7, -2.241436)
|
||||
shape = SubResource("BoxShape3D_p287n")
|
||||
|
||||
[node name="TutoJump" parent="TutoTriggers" instance=ExtResource("16_qwuk2")]
|
||||
transform = Transform3D(0.14133328, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133328, -0.32653046, 1.2493286, -50.374645)
|
||||
first_input_texture = ExtResource("16_2k3fr")
|
||||
second_input_texture = ExtResource("16_2k3fr")
|
||||
tuto_text = "Double jump"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TutoJump"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.49998856, 6.25, 3.499977)
|
||||
shape = SubResource("BoxShape3D_5hbxb")
|
||||
|
||||
[node name="TutoDash" parent="TutoTriggers" instance=ExtResource("16_qwuk2")]
|
||||
transform = Transform3D(0.14133328, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133328, 19.967693, 1.2493286, -47.47731)
|
||||
first_input_texture = ExtResource("16_crf87")
|
||||
second_input_texture = ExtResource("19_efsse")
|
||||
tuto_text = "Dash"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TutoDash"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.49999237, 6.25, 4.2500153)
|
||||
shape = SubResource("BoxShape3D_6gj1x")
|
||||
|
||||
[node name="TriggerTutoWallJump" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, 38.60766, 0, -28.437609)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoWallJump"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, -1.9546509, 20.75, 10.8709755)
|
||||
shape = SubResource("BoxShape3D_x7fl1")
|
||||
|
||||
[node name="TriggerTutoWallJump2" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, 15.983452, 0, 37.426994)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoWallJump2"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 2.3256226, 21.75, 4.9715767)
|
||||
shape = SubResource("BoxShape3D_3wccx")
|
||||
|
||||
[node name="TutoDash2" parent="TutoTriggers" instance=ExtResource("16_qwuk2")]
|
||||
transform = Transform3D(0.14133325, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133325, 28.885735, 27.749329, 25.360323)
|
||||
first_input_texture = ExtResource("16_crf87")
|
||||
second_input_texture = ExtResource("19_efsse")
|
||||
complex_input_text = "in air"
|
||||
tuto_text = "Dash"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TutoDash2"]
|
||||
transform = Transform3D(1.0000031, 0, -4.917383e-07, 0, 1, 0, 4.917383e-07, 0, 1.0000031, 5.500023, 5, 0)
|
||||
shape = SubResource("BoxShape3D_hmdts")
|
||||
|
||||
[node name="TriggerTutoWeaponThrow" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, 4.428787, 58, 19.770819)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoWeaponThrow"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 4.4208603, 7, -4.632329)
|
||||
shape = SubResource("BoxShape3D_lnjrw")
|
||||
|
||||
[node name="TriggerTutoEnjoy" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, -120.81145, 214.5, 2.417603)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoEnjoy"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 3.9663503, 5.5, -5.174009)
|
||||
shape = SubResource("BoxShape3D_3w3wd")
|
||||
|
||||
[node name="TutorialDoneArea" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.14133324, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133324, 7.9436035, 53.74933, 16.672102)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TutorialDoneArea"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.7500105, 4, 0.7499695)
|
||||
shape = SubResource("BoxShape3D_lu3yt")
|
||||
|
||||
[node name="WeaponRetrieved" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.14133324, 0, 0.98996216, 0, 1, 0, -0.98996216, 0, 0.14133324, 27.3601, 53.74933, 18.733648)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/WeaponRetrieved"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.7500105, 4, 0.7499695)
|
||||
shape = SubResource("BoxShape3D_pxspk")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_1bvp3")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(-0.7804346, 0.15240021, 0.60637945, 0.1767362, -0.87651366, 0.4477591, 0.5997384, 0.4566159, 0.6571269, 0, 0, 0)
|
||||
light_color = Color(0.99999934, 0.76777613, 0.6549227, 1)
|
||||
light_energy = 2.0
|
||||
light_volumetric_fog_energy = 2.0
|
||||
shadow_enabled = true
|
||||
shadow_opacity = 0.95
|
||||
shadow_blur = 2.435
|
||||
|
||||
[node name="Player" parent="." node_paths=PackedStringArray("TutorialWeaponTarget") instance=ExtResource("1_2vsi6")]
|
||||
transform = Transform3D(0.054514527, 0, -0.9985129, 0, 1, 0, 0.9985129, 0, 0.054514527, -6, 75.5, -13.5)
|
||||
collision_layer = 17
|
||||
TutorialWeaponTarget = NodePath("../PlacedTutorialWeapon/WeaponLocationTarget")
|
||||
TutorialDone = true
|
||||
AccelerationAir = 1.5
|
||||
|
||||
[node name="DebugLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="GuideDebugger" parent="DebugLayer" instance=ExtResource("2_uet8a")]
|
||||
visible = false
|
||||
|
||||
[node name="Guard tower" parent="." instance=ExtResource("11_wctvs")]
|
||||
transform = Transform3D(0.09033705, 0, 0.99591124, 0, 1, 0, -0.99591124, 0, 0.09033705, -4.6100636, 1.5, 0.5658741)
|
||||
|
||||
[node name="Water" parent="." instance=ExtResource("12_i2xii")]
|
||||
transform = Transform3D(10000, 0, 0, 0, 1, 0, 0, 0, 10000, 0, 4.03932, -186.25941)
|
||||
|
||||
[node name="Lift" parent="." instance=ExtResource("13_eca4n")]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715573, 0, 1, 0, 0.08715573, 0, 0.9961947, -4.593, 1.618, 0.583)
|
||||
end_location = Vector3(-4.593, 116.11, 0.583)
|
||||
lift_time = 8.0
|
||||
|
||||
[node name="PlacedTutorialWeapon" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-2, 3.019916e-07, 0, -3.019916e-07, -2, 0, 0, 0, 2, -17.904, -79.265, 145.317)
|
||||
mesh = ExtResource("14_0ari0")
|
||||
script = ExtResource("15_165wb")
|
||||
|
||||
[node name="SpotLight3D" type="SpotLight3D" parent="PlacedTutorialWeapon"]
|
||||
transform = Transform3D(1, -1.509958e-07, 6.600236e-15, 0, -4.371139e-08, -1, 1.509958e-07, 1, -4.371139e-08, 0, -2.3931274, 0)
|
||||
spot_range = 9.85
|
||||
spot_attenuation = 0.46
|
||||
spot_angle = 15.0
|
||||
|
||||
[node name="WeaponLocationTarget" type="Marker3D" parent="PlacedTutorialWeapon"]
|
||||
|
||||
[node name="LightLeakBlockers" type="Node3D" parent="."]
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="LightLeakBlockers"]
|
||||
@@ -442,6 +437,7 @@ spot_range = 47.233
|
||||
spot_angle = 18.85
|
||||
spot_angle_attenuation = 10.556052
|
||||
|
||||
[connection signal="timeout" from="TutorialController/WaitToShowBlockingTuto" to="TutorialController" method="_show_weapon_tutorial"]
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoMove" to="TutorialController" method="hide_tutorials"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TriggerTutoMantle" to="TutorialController" method="_on_tuto_mantle_body_entered"]
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoMantle" to="TutorialController" method="hide_tutorials"]
|
||||
@@ -453,9 +449,8 @@ spot_angle_attenuation = 10.556052
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoWeaponThrow" to="TutorialController" method="hide_tutorials"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TriggerTutoEnjoy" to="TutorialController" method="_on_tuto_enjoy_body_entered"]
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoEnjoy" to="TutorialController" method="hide_tutorials"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TutorialDoneArea" to="Player" method="OnTutorialDone"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TutorialDoneArea" to="TutorialController" method="_on_tuto_done_area_body_entered"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TutorialDoneArea" to="Player" method="OnTutorialDone"]
|
||||
[connection signal="body_exited" from="TutoTriggers/TutorialDoneArea" to="TutorialController" method="hide_tutorials"]
|
||||
[connection signal="body_entered" from="TutoTriggers/WeaponRetrieved" to="PlacedTutorialWeapon" method="_on_weapon_retrieved_body_entered"]
|
||||
[connection signal="body_entered" from="TutoTriggers/WeaponRetrieved" to="TutorialController" method="_on_weapon_retrieved_body_entered"]
|
||||
[connection signal="timeout" from="TutorialController/WaitToShowBlockingTuto" to="TutorialController" method="_show_weapon_tutorial"]
|
||||
[connection signal="body_entered" from="TutoTriggers/WeaponRetrieved" to="PlacedTutorialWeapon" method="_on_weapon_retrieved_body_entered"]
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
[ext_resource type="Resource" uid="uid://ck43v3q5ype3f" path="res://systems/inputs/menu_mode/back.tres" id="5_su1bt"]
|
||||
|
||||
[node name="PauseMenu" instance=ExtResource("1_0paax")]
|
||||
top_level = true
|
||||
script = ExtResource("2_ek1hy")
|
||||
options_packed_scene = ExtResource("3_e0t2r")
|
||||
main_menu_scene = "res://menus/scenes/menus/main_menu/main_menu_with_animations.tscn"
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
[gd_scene load_steps=49 format=3 uid="uid://bei4nhkf8lwdo"]
|
||||
[gd_scene load_steps=47 format=3 uid="uid://bei4nhkf8lwdo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bbbrf5ckydfna" path="res://player_controller/Scripts/PlayerController.cs" id="1_poq2x"]
|
||||
[ext_resource type="Resource" uid="uid://bl5crtu1gkrtr" path="res://systems/inputs/base_mode/base_mode.tres" id="3_cresl"]
|
||||
[ext_resource type="Resource" uid="uid://cpdaw41ah5gic" path="res://systems/inputs/base_mode/rotate_y.tres" id="4_rxwoh"]
|
||||
[ext_resource type="Resource" uid="uid://ccrb5xsnphc8" path="res://systems/inputs/base_mode/rotate_floorplane.tres" id="5_4u7i3"]
|
||||
[ext_resource type="Resource" uid="uid://f3vs6l4m623s" path="res://systems/inputs/base_mode/move_left.tres" id="5_q14ux"]
|
||||
[ext_resource type="Script" uid="uid://dv7v1ywmbvvcd" path="res://player_controller/Scripts/HealthSystem.cs" id="5_umw0l"]
|
||||
[ext_resource type="Script" uid="uid://vuq8rjq3vegn" path="res://player_controller/Scripts/Stamina.cs" id="6_lxtc4"]
|
||||
[ext_resource type="Resource" uid="uid://t612lts1wi1s" path="res://systems/inputs/base_mode/move_right.tres" id="6_q7bng"]
|
||||
[ext_resource type="Script" uid="uid://cwbvxlfvmocc1" path="res://player_controller/Scripts/StairsSystem.cs" id="7_bmt5a"]
|
||||
[ext_resource type="Resource" uid="uid://brswsknpgwal2" path="res://systems/inputs/base_mode/move_front.tres" id="7_m8gvy"]
|
||||
@@ -124,12 +122,6 @@ CapsuleDefaultHeight = 1.7
|
||||
[node name="HeadSystem" parent="." instance=ExtResource("11_rxwoh")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
|
||||
|
||||
[node name="HealthSystem" type="Node3D" parent="."]
|
||||
script = ExtResource("5_umw0l")
|
||||
|
||||
[node name="Stamina" type="Node3D" parent="."]
|
||||
script = ExtResource("6_lxtc4")
|
||||
|
||||
[node name="StairsSystem" type="Node3D" parent="."]
|
||||
script = ExtResource("7_bmt5a")
|
||||
|
||||
@@ -249,15 +241,24 @@ offset_bottom = 1.0
|
||||
enabled = false
|
||||
initial_node_to_watch = NodePath("../StateChart")
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
script = ExtResource("30_2ghaa")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="UI"]
|
||||
[node name="UI" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 1
|
||||
script = ExtResource("30_2ghaa")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="UI"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme_override_constants/margin_left = 50
|
||||
theme_override_constants/margin_top = 50
|
||||
theme_override_constants/margin_right = 50
|
||||
@@ -296,12 +297,14 @@ expand_mode = 2
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="UI"]
|
||||
custom_minimum_size = Vector2(1920, 1080)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="CenterIcon" type="TextureRect" parent="UI/CenterContainer"]
|
||||
material = SubResource("CanvasItemMaterial_2q0ik")
|
||||
@@ -311,11 +314,13 @@ texture = ExtResource("32_lgpc8")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="CenterContainer2" type="CenterContainer" parent="UI"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="UI/CenterContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class PlayerUi : CanvasLayer
|
||||
public partial class PlayerUi : Control
|
||||
{
|
||||
private TextureRect[] _dashIcons = new TextureRect[3];
|
||||
|
||||
|
||||
@@ -146,9 +146,6 @@ public partial class HealthSystem : Node3D
|
||||
public CharacterBody3D Parent;
|
||||
public Camera3D Camera;
|
||||
public Node3D Head;
|
||||
public ColorRect VignetteRect;
|
||||
public ColorRect DistortionRect;
|
||||
public ColorRect BlurRect;
|
||||
}
|
||||
|
||||
public void Init(HealthSystemInitParams initParams)
|
||||
@@ -163,10 +160,6 @@ public partial class HealthSystem : Node3D
|
||||
|
||||
_head = initParams.Head;
|
||||
|
||||
_vignetteMaterial = initParams.VignetteRect.Material as ShaderMaterial;
|
||||
_distortionMaterial = initParams.DistortionRect.Material as ShaderMaterial;
|
||||
_blurMaterial = initParams.BlurRect.Material as ShaderMaterial;
|
||||
|
||||
// Resetting shaders' parameters
|
||||
|
||||
_vignetteMaterial.SetShaderParameter(Constants.VIGNETTE_SHADER_MULTIPLIER, 1.0f);
|
||||
|
||||
@@ -21,12 +21,10 @@ public partial class PlayerController : CharacterBody3D
|
||||
public HeadSystem HeadSystem;
|
||||
public Bobbing Bobbing;
|
||||
public FieldOfView FieldOfView;
|
||||
public Stamina Stamina;
|
||||
public StairsSystem StairsSystem;
|
||||
public MantleSystem MantleSystem;
|
||||
public DashSystem DashSystem;
|
||||
public CapsuleCollider CapsuleCollider;
|
||||
public HealthSystem HealthSystem;
|
||||
public TweenQueueSystem TweenQueueSystem;
|
||||
public Node3D WeaponRoot;
|
||||
public WeaponSystem WeaponSystem;
|
||||
@@ -239,11 +237,6 @@ public partial class PlayerController : CharacterBody3D
|
||||
FieldOfView = GetNode<FieldOfView>("FieldOfView");
|
||||
Camera3D camera = GetNode<Camera3D>("HeadSystem/CameraSmooth/Camera3D");
|
||||
Node3D cameraSmooth = GetNode<Node3D>("HeadSystem/CameraSmooth");
|
||||
ColorRect vignetteRect = GetNode<ColorRect>(
|
||||
"HeadSystem/CameraSmooth/Camera3D/CLVignette(Layer_1)/HealthVignetteRect");
|
||||
ColorRect distortionRect = GetNode<ColorRect>(
|
||||
"HeadSystem/CameraSmooth/Camera3D/CLDistortion(Layer_2)/HealthDistortionRect");
|
||||
ColorRect blurRect = GetNode<ColorRect>("HeadSystem/CameraSmooth/Camera3D/CLBlur(Layer_2)/BlurRect");
|
||||
|
||||
// Movement stuff
|
||||
WeaponRoot = GetNode<Node3D>("WeaponRoot");
|
||||
@@ -266,11 +259,7 @@ public partial class PlayerController : CharacterBody3D
|
||||
_playerHeight = playerShape!.Height;
|
||||
_playerRadius = playerShape.Radius;
|
||||
|
||||
// RPG Stuff
|
||||
Stamina = GetNode<Stamina>("Stamina");
|
||||
HealthSystem = GetNode<HealthSystem>("HealthSystem");
|
||||
|
||||
// State management
|
||||
// State managementb
|
||||
_playerState = StateChart.Of(GetNode("StateChart"));
|
||||
|
||||
_aiming = StateChartState.Of(GetNode("StateChart/Root/Aim/On"));
|
||||
@@ -322,18 +311,6 @@ public partial class PlayerController : CharacterBody3D
|
||||
WallHugSystem.Init();
|
||||
|
||||
// RPG Stuff
|
||||
HealthSystem.HealthSystemInitParams healthSystemParams = new HealthSystem.HealthSystemInitParams()
|
||||
{
|
||||
Parent = this,
|
||||
Camera = camera,
|
||||
Head = HeadSystem,
|
||||
VignetteRect = vignetteRect,
|
||||
DistortionRect = distortionRect,
|
||||
BlurRect = blurRect,
|
||||
};
|
||||
HealthSystem.Init(healthSystemParams);
|
||||
Stamina.SetSpeeds(WalkSpeed, WalkSpeed);
|
||||
|
||||
EmpoweredActionsLeft = MaxNumberOfEmpoweredActions;
|
||||
|
||||
if (!TutorialDone)
|
||||
|
||||
@@ -1,14 +1,31 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://0ysqmqphq6mq"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://0ysqmqphq6mq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtkdrnsmlwm67" path="res://systems/head/HeadSystem.cs" id="1_8abgy"]
|
||||
[ext_resource type="Material" uid="uid://dtq8i1ka1f2pn" path="res://player_controller/Assets/Materials/Health/CameraVignette.tres" id="2_urko7"]
|
||||
[ext_resource type="Material" uid="uid://nyh5tn1yoxeu" path="res://player_controller/Assets/Materials/Health/CameraDistortion.tres" id="3_0hyrq"]
|
||||
[ext_resource type="Shader" uid="uid://btw6vsb6sa7sn" path="res://player_controller/Shaders/Blur.gdshader" id="4_ubhf8"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_o1np4"]
|
||||
shader = ExtResource("4_ubhf8")
|
||||
shader_parameter/limit = 0.0
|
||||
shader_parameter/blur = 0.0
|
||||
[sub_resource type="Animation" id="Animation_urko7"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("..:rotation:x")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.15, 0, 0.15, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("..:rotation:z")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.15, 0, 0.15, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_8abgy"]
|
||||
resource_name = "mantle"
|
||||
@@ -36,31 +53,6 @@ tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_urko7"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("..:rotation:x")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.15, 0, 0.15, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("..:rotation:z")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.15, 0, 0.15, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_0hyrq"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_urko7"),
|
||||
@@ -77,41 +69,6 @@ transform = Transform3D(1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994, 0, 0, 0)
|
||||
current = true
|
||||
fov = 90.0
|
||||
|
||||
[node name="CLVignette(Layer_1)" type="CanvasLayer" parent="CameraSmooth/Camera3D"]
|
||||
|
||||
[node name="HealthVignetteRect" type="ColorRect" parent="CameraSmooth/Camera3D/CLVignette(Layer_1)"]
|
||||
material = ExtResource("2_urko7")
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="CLDistortion(Layer_2)" type="CanvasLayer" parent="CameraSmooth/Camera3D"]
|
||||
layer = 2
|
||||
|
||||
[node name="HealthDistortionRect" type="ColorRect" parent="CameraSmooth/Camera3D/CLDistortion(Layer_2)"]
|
||||
material = ExtResource("3_0hyrq")
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="CLBlur(Layer_2)" type="CanvasLayer" parent="CameraSmooth/Camera3D"]
|
||||
layer = 2
|
||||
|
||||
[node name="BlurRect" type="ColorRect" parent="CameraSmooth/Camera3D/CLBlur(Layer_2)"]
|
||||
material = SubResource("ShaderMaterial_o1np4")
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="RayCast3D" type="RayCast3D" parent="CameraSmooth/Camera3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, -0.64723)
|
||||
visible = false
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="GUIDEMappingContext" load_steps=78 format=3 uid="uid://c2hpxkcujyc13"]
|
||||
[gd_resource type="Resource" script_class="GUIDEMappingContext" load_steps=66 format=3 uid="uid://c2hpxkcujyc13"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cpplm41b5bt6m" path="res://addons/guide/guide_action_mapping.gd" id="1_xno0b"]
|
||||
[ext_resource type="Resource" uid="uid://ck43v3q5ype3f" path="res://systems/inputs/menu_mode/back.tres" id="2_6sfub"]
|
||||
@@ -16,7 +16,6 @@
|
||||
[ext_resource type="Resource" uid="uid://by80bubgg0dpx" path="res://systems/inputs/menu_mode/left.tres" id="13_sy651"]
|
||||
[ext_resource type="Resource" uid="uid://bmef0jo6o41ic" path="res://systems/inputs/menu_mode/next.tres" id="14_2sr1w"]
|
||||
[ext_resource type="Resource" uid="uid://c3n6ww58cmbbk" path="res://systems/inputs/menu_mode/previous.tres" id="15_2j2sf"]
|
||||
[ext_resource type="Resource" uid="uid://dgluj0ql5vth7" path="res://systems/inputs/base_mode/pause.tres" id="16_scydb"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_tp5dr"]
|
||||
script = ExtResource("4_q6ncx")
|
||||
@@ -30,16 +29,11 @@ script = ExtResource("3_scydb")
|
||||
input = SubResource("Resource_tp5dr")
|
||||
triggers = Array[ExtResource("6_c647i")]([SubResource("Resource_lvbl0")])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_h2f8g"]
|
||||
script = ExtResource("8_yfqfy")
|
||||
key = 4194305
|
||||
|
||||
[sub_resource type="Resource" id="Resource_17mt7"]
|
||||
script = ExtResource("7_m88dc")
|
||||
|
||||
[sub_resource type="Resource" id="Resource_23hmj"]
|
||||
script = ExtResource("3_scydb")
|
||||
input = SubResource("Resource_h2f8g")
|
||||
triggers = Array[ExtResource("6_c647i")]([SubResource("Resource_17mt7")])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_len71"]
|
||||
@@ -225,48 +219,7 @@ script = ExtResource("1_xno0b")
|
||||
action = ExtResource("15_2j2sf")
|
||||
input_mappings = Array[ExtResource("3_scydb")]([SubResource("Resource_3owmx")])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_q6ncx"]
|
||||
script = ExtResource("4_q6ncx")
|
||||
button = 4
|
||||
|
||||
[sub_resource type="Resource" id="Resource_vnf02"]
|
||||
script = ExtResource("7_m88dc")
|
||||
|
||||
[sub_resource type="Resource" id="Resource_c647i"]
|
||||
script = ExtResource("3_scydb")
|
||||
input = SubResource("Resource_q6ncx")
|
||||
triggers = Array[ExtResource("6_c647i")]([SubResource("Resource_vnf02")])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_m88dc"]
|
||||
script = ExtResource("4_q6ncx")
|
||||
button = 6
|
||||
|
||||
[sub_resource type="Resource" id="Resource_yfqfy"]
|
||||
script = ExtResource("7_m88dc")
|
||||
|
||||
[sub_resource type="Resource" id="Resource_dsdj3"]
|
||||
script = ExtResource("3_scydb")
|
||||
input = SubResource("Resource_m88dc")
|
||||
triggers = Array[ExtResource("6_c647i")]([SubResource("Resource_yfqfy")])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_q44ew"]
|
||||
script = ExtResource("8_yfqfy")
|
||||
key = 4194305
|
||||
|
||||
[sub_resource type="Resource" id="Resource_as826"]
|
||||
script = ExtResource("7_m88dc")
|
||||
|
||||
[sub_resource type="Resource" id="Resource_erftc"]
|
||||
script = ExtResource("3_scydb")
|
||||
input = SubResource("Resource_q44ew")
|
||||
triggers = Array[ExtResource("6_c647i")]([SubResource("Resource_as826")])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_sy651"]
|
||||
script = ExtResource("1_xno0b")
|
||||
action = ExtResource("16_scydb")
|
||||
input_mappings = Array[ExtResource("3_scydb")]([SubResource("Resource_c647i"), SubResource("Resource_dsdj3"), SubResource("Resource_erftc")])
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_w5wm7")
|
||||
mappings = Array[ExtResource("1_xno0b")]([SubResource("Resource_len71"), SubResource("Resource_ruq4f"), SubResource("Resource_5hp22"), SubResource("Resource_7i3b3"), SubResource("Resource_6ptcp"), SubResource("Resource_xked7"), SubResource("Resource_qjv8h"), SubResource("Resource_p0ahg"), SubResource("Resource_sy651")])
|
||||
mappings = Array[ExtResource("1_xno0b")]([SubResource("Resource_len71"), SubResource("Resource_ruq4f"), SubResource("Resource_5hp22"), SubResource("Resource_7i3b3"), SubResource("Resource_6ptcp"), SubResource("Resource_xked7"), SubResource("Resource_qjv8h"), SubResource("Resource_p0ahg")])
|
||||
metadata/_custom_type_script = "uid://dsa1dnifd6w32"
|
||||
|
||||
Reference in New Issue
Block a user