final tutorial setup and UI fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=37 format=3 uid="uid://dmkw8cmalm5k"]
|
||||
[gd_scene load_steps=42 format=3 uid="uid://dmkw8cmalm5k"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bei4nhkf8lwdo" path="res://player_controller/PlayerController.tscn" id="1_2vsi6"]
|
||||
[ext_resource type="Texture2D" uid="uid://ca4kkq3w8cd4n" path="res://assets/sky/sky_15_2k.png" id="2_ruo5i"]
|
||||
@@ -23,6 +23,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://cjh5cnvdbq5ku" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_b_outline.svg" id="19_efsse"]
|
||||
[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://bfkj4neu0m0rm" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_rt_outline.svg" id="21_rmfv1"]
|
||||
[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")
|
||||
@@ -70,6 +71,18 @@ size = Vector3(12, 11.5, 5)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_nrosh"]
|
||||
size = Vector3(8, 16.5, 25.5)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_lnjrw"]
|
||||
size = Vector3(14, 15.5, 13.5)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_lgco8"]
|
||||
size = Vector3(12, 14.5, 11)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_51ivn"]
|
||||
size = Vector3(12, 14.5, 11)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_3w3wd"]
|
||||
size = Vector3(13, 16.5, 11.5)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_lu3yt"]
|
||||
size = Vector3(11.5, 9, 4.5)
|
||||
|
||||
@@ -206,6 +219,42 @@ collision_mask = 16
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 1.0587616, 7.5, 5.1117268)
|
||||
shape = SubResource("BoxShape3D_nrosh")
|
||||
|
||||
[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="TriggerTutoEmpoweredDash" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, -25.417572, 58, 16.138357)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoEmpoweredDash"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 3.4464645, 6.5, -4.9685373)
|
||||
shape = SubResource("BoxShape3D_lgco8")
|
||||
|
||||
[node name="TriggerTutoEmpoweredJump" type="Area3D" parent="TutoTriggers"]
|
||||
transform = Transform3D(0.9961947, 0, -0.087155744, 0, 1, 0, 0.087155744, 0, 0.9961947, -59.648212, 58, 10.263556)
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="TutoTriggers/TriggerTutoEmpoweredJump"]
|
||||
transform = Transform3D(0.9961947, 0, -0.08715595, 0, 1, 0, 0.08715595, 0, 0.9961947, 3.4464645, 6.5, -4.9685373)
|
||||
shape = SubResource("BoxShape3D_51ivn")
|
||||
|
||||
[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
|
||||
@@ -402,6 +451,30 @@ layout_mode = 2
|
||||
text = "Dash towards sword"
|
||||
label_settings = SubResource("LabelSettings_2k3fr")
|
||||
|
||||
[node name="TutoWeaponThrow" type="HBoxContainer" parent="TutorialController/PanelContainer/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 20
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="TutorialController/PanelContainer/MarginContainer/TutoWeaponThrow"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="TutorialController/PanelContainer/MarginContainer/TutoWeaponThrow/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("23_p287n")
|
||||
|
||||
[node name="Label2" type="Label" parent="TutorialController/PanelContainer/MarginContainer/TutoWeaponThrow/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "while aiming"
|
||||
label_settings = SubResource("LabelSettings_2k3fr")
|
||||
|
||||
[node name="Label3" type="Label" parent="TutorialController/PanelContainer/MarginContainer/TutoWeaponThrow"]
|
||||
layout_mode = 2
|
||||
text = "Throw weapon"
|
||||
label_settings = SubResource("LabelSettings_2k3fr")
|
||||
|
||||
[node name="TutoEmpoweredDash" type="HBoxContainer" parent="TutorialController/PanelContainer/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
@@ -458,6 +531,17 @@ layout_mode = 2
|
||||
text = "Empowered jump"
|
||||
label_settings = SubResource("LabelSettings_2k3fr")
|
||||
|
||||
[node name="TutoEnjoy" type="HBoxContainer" parent="TutorialController/PanelContainer/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 15
|
||||
|
||||
[node name="label" type="Label" parent="TutorialController/PanelContainer/MarginContainer/TutoEnjoy"]
|
||||
layout_mode = 2
|
||||
text = "Enjoy this little playground!"
|
||||
label_settings = SubResource("LabelSettings_2k3fr")
|
||||
|
||||
[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"]
|
||||
@@ -471,6 +555,14 @@ label_settings = SubResource("LabelSettings_2k3fr")
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoWallJump2" to="TutorialController" method="hide_tutorials"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TriggerTutoDash" to="TutorialController" method="_on_tuto_dash_body_entered"]
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoDash" to="TutorialController" method="hide_tutorials"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TriggerTutoWeaponThrow" to="TutorialController" method="_on_tuto_weapon_throw_body_entered"]
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoWeaponThrow" to="TutorialController" method="hide_tutorials"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TriggerTutoEmpoweredDash" to="TutorialController" method="_on_tuto_empowered_dash_body_entered"]
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoEmpoweredDash" to="TutorialController" method="hide_tutorials"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TriggerTutoEmpoweredJump" to="TutorialController" method="_on_tuto_empowered_jump_body_entered"]
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoEmpoweredJump" 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_exited" from="TutoTriggers/TutorialDoneArea" to="TutorialController" method="hide_tutorials"]
|
||||
|
||||
Reference in New Issue
Block a user