Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b9ae83cd92 | |||
| 759d972b6d | |||
| 4df4585149 | |||
| 88b0911c6c | |||
| 81ce45a0dc | |||
| 1caf202310 | |||
| 22c4301244 | |||
| 032e059826 | |||
| a8683b77e8 | |||
| 90e6cdbcde |
@@ -91,26 +91,26 @@ jobs:
|
|||||||
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
|
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
|
||||||
zip -r Windows.zip build/windows
|
zip -r Windows.zip build/windows
|
||||||
|
|
||||||
- name: Setup Butler
|
# - name: Setup Butler
|
||||||
shell: bash
|
# shell: bash
|
||||||
env:
|
# env:
|
||||||
BUTLER_API_KEY: ${{ secrets.BUTLER_TOKEN }}
|
# BUTLER_API_KEY: ${{ secrets.BUTLER_TOKEN }}
|
||||||
run: |
|
# run: |
|
||||||
mkdir ./tools 2>/dev/null || true
|
# mkdir ./tools 2>/dev/null || true
|
||||||
pushd tools
|
# pushd tools
|
||||||
curl -sSLfo ./butler.zip "https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default"
|
# curl -sSLfo ./butler.zip "https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default"
|
||||||
unzip butler.zip
|
# unzip butler.zip
|
||||||
chmod +x ./butler
|
# chmod +x ./butler
|
||||||
popd
|
# popd
|
||||||
./tools/butler -V
|
# ./tools/butler -V
|
||||||
|
#
|
||||||
- name: Upload to itch.io
|
# - name: Upload to itch.io
|
||||||
shell: bash
|
# shell: bash
|
||||||
env:
|
# env:
|
||||||
BUTLER_API_KEY: ${{ secrets.BUTLER_TOKEN }}
|
# BUTLER_API_KEY: ${{ secrets.BUTLER_TOKEN }}
|
||||||
run: |
|
# run: |
|
||||||
versionArgument="--userversion ${{ needs.BumpTag.outputs.tag_name }}"
|
# versionArgument="--userversion ${{ needs.BumpTag.outputs.tag_name }}"
|
||||||
./tools/butler push \
|
# ./tools/butler push \
|
||||||
"Windows.zip" \
|
# "Windows.zip" \
|
||||||
${{ env.ITCHIO_USERNAME }}/${{ env.ITCHIO_GAMEID }}:windows ${versionArgument}
|
# ${{ env.ITCHIO_USERNAME }}/${{ env.ITCHIO_GAMEID }}:windows ${versionArgument}
|
||||||
|
|
||||||
|
|||||||
@@ -55,10 +55,14 @@ jobs:
|
|||||||
popd
|
popd
|
||||||
./tools/butler -V
|
./tools/butler -V
|
||||||
|
|
||||||
|
- name: Remove GDUnit addon
|
||||||
|
run: |
|
||||||
|
rm -rf ${{ gitea.workspace }}/addons/gdUnit4
|
||||||
|
|
||||||
- name: Build Windows
|
- name: Build Windows
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/windows
|
mkdir -v -p build/windows
|
||||||
godot --headless --verbose --build-solutions --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
|
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --build-solutions --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
|
||||||
zip -r Windows.zip build/windows
|
zip -r Windows.zip build/windows
|
||||||
- name: Upload Windows to itch.io
|
- name: Upload Windows to itch.io
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -73,7 +77,7 @@ jobs:
|
|||||||
- name: Build Windows ARM
|
- name: Build Windows ARM
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/windowsArm
|
mkdir -v -p build/windowsArm
|
||||||
godot --headless --verbose --build-solutions --export-release "Windows ARM" build/windowsArm/${{ env.GAME_NAME }}.exe
|
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --build-solutions --export-release "Windows ARM" build/windowsArm/${{ env.GAME_NAME }}.exe
|
||||||
zip -r WindowsArm.zip build/windowsArm
|
zip -r WindowsArm.zip build/windowsArm
|
||||||
- name: Upload Windows to itch.io
|
- name: Upload Windows to itch.io
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -88,7 +92,7 @@ jobs:
|
|||||||
- name: Linux Build
|
- name: Linux Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/linux
|
mkdir -v -p build/linux
|
||||||
godot --headless --verbose --export-release "Linux/X11" build/linux/${{ env.GAME_NAME }}.x86_64
|
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "Linux/X11" build/linux/${{ env.GAME_NAME }}.x86_64
|
||||||
zip -r Linux.zip build/linux
|
zip -r Linux.zip build/linux
|
||||||
- name: Upload Windows to itch.io
|
- name: Upload Windows to itch.io
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -103,7 +107,7 @@ jobs:
|
|||||||
- name: Mac Build
|
- name: Mac Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/mac
|
mkdir -v -p build/mac
|
||||||
godot --headless --verbose --export-release "macOS" build/mac/${{ env.GAME_NAME }}.zip
|
${{ steps.setup-godot.outputs.godot_bin }} --headless --verbose --export-release "macOS" build/mac/${{ env.GAME_NAME }}.zip
|
||||||
zip -r Mac.zip build/mac
|
zip -r Mac.zip build/mac
|
||||||
- name: Upload Windows to itch.io
|
- name: Upload Windows to itch.io
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -13,8 +13,16 @@ public partial class CueHandlerInspectorPlugin : EditorInspectorPlugin
|
|||||||
public override bool _CanHandle(GodotObject @object)
|
public override bool _CanHandle(GodotObject @object)
|
||||||
{
|
{
|
||||||
// Find out if its an implementation of CueHandler without having to add [Tool] attribute to them.
|
// Find out if its an implementation of CueHandler without having to add [Tool] attribute to them.
|
||||||
if (@object?.GetScript().As<CSharpScript>() is CSharpScript script)
|
try
|
||||||
{
|
{
|
||||||
|
if (@object.GetScript().As<CSharpScript>() is not { }) return false;
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
var script = @object.GetScript().As<CSharpScript>();
|
||||||
StringName className = script.GetGlobalName();
|
StringName className = script.GetGlobalName();
|
||||||
|
|
||||||
Type baseType = typeof(ForgeCueHandler);
|
Type baseType = typeof(ForgeCueHandler);
|
||||||
@@ -28,9 +36,6 @@ public partial class CueHandlerInspectorPlugin : EditorInspectorPlugin
|
|||||||
return implementationType is not null;
|
return implementationType is not null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public override bool _ParseProperty(
|
public override bool _ParseProperty(
|
||||||
GodotObject @object,
|
GodotObject @object,
|
||||||
Variant.Type type,
|
Variant.Type type,
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
[ext_resource type="Resource" uid="uid://spo3pbqjx0eb" path="res://inputs/base_mode/parry.tres" id="30_rvpjj"]
|
[ext_resource type="Resource" uid="uid://spo3pbqjx0eb" path="res://inputs/base_mode/parry.tres" id="30_rvpjj"]
|
||||||
[ext_resource type="Resource" uid="uid://dxy0071ic1wdj" path="res://inputs/base_mode/slam.tres" id="32_s8kjn"]
|
[ext_resource type="Resource" uid="uid://dxy0071ic1wdj" path="res://inputs/base_mode/slam.tres" id="32_s8kjn"]
|
||||||
[ext_resource type="Resource" uid="uid://s1l0n1iitc6m" path="res://inputs/base_mode/move_back.tres" id="33_fykw6"]
|
[ext_resource type="Resource" uid="uid://s1l0n1iitc6m" path="res://inputs/base_mode/move_back.tres" id="33_fykw6"]
|
||||||
|
[ext_resource type="Script" uid="uid://c76fmncyucwqc" path="res://addons/guide/triggers/guide_trigger_tap.gd" id="34_2ienm"]
|
||||||
[ext_resource type="Resource" uid="uid://brswsknpgwal2" path="res://inputs/base_mode/move_front.tres" id="34_rvpjj"]
|
[ext_resource type="Resource" uid="uid://brswsknpgwal2" path="res://inputs/base_mode/move_front.tres" id="34_rvpjj"]
|
||||||
[ext_resource type="Resource" uid="uid://ca68r7n3bwba3" path="res://inputs/base_mode/toolbox.tres" id="34_s8kjn"]
|
[ext_resource type="Resource" uid="uid://ca68r7n3bwba3" path="res://inputs/base_mode/toolbox.tres" id="34_s8kjn"]
|
||||||
[ext_resource type="Resource" uid="uid://f3vs6l4m623s" path="res://inputs/base_mode/move_left.tres" id="35_s8kjn"]
|
[ext_resource type="Resource" uid="uid://f3vs6l4m623s" path="res://inputs/base_mode/move_left.tres" id="35_s8kjn"]
|
||||||
@@ -456,17 +457,17 @@ script = ExtResource("1_qmhk6")
|
|||||||
action = ExtResource("32_s8kjn")
|
action = ExtResource("32_s8kjn")
|
||||||
input_mappings = Array[ExtResource("3_yp12v")]([SubResource("Resource_v2ywt"), SubResource("Resource_s6d3g")])
|
input_mappings = Array[ExtResource("3_yp12v")]([SubResource("Resource_v2ywt"), SubResource("Resource_s6d3g")])
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_s4bc4"]
|
[sub_resource type="Resource" id="Resource_vp8bw"]
|
||||||
script = ExtResource("30_cvxqo")
|
script = ExtResource("30_cvxqo")
|
||||||
key = 4194305
|
key = 4194305
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_3exnu"]
|
[sub_resource type="Resource" id="Resource_78qyx"]
|
||||||
script = ExtResource("15_fykw6")
|
script = ExtResource("34_2ienm")
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_ai85f"]
|
[sub_resource type="Resource" id="Resource_ai85f"]
|
||||||
script = ExtResource("3_yp12v")
|
script = ExtResource("3_yp12v")
|
||||||
input = SubResource("Resource_s4bc4")
|
input = SubResource("Resource_vp8bw")
|
||||||
triggers = Array[ExtResource("8_2tfaw")]([SubResource("Resource_3exnu")])
|
triggers = Array[ExtResource("8_2tfaw")]([SubResource("Resource_78qyx")])
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_jjamb"]
|
[sub_resource type="Resource" id="Resource_jjamb"]
|
||||||
script = ExtResource("19_qkgmj")
|
script = ExtResource("19_qkgmj")
|
||||||
@@ -498,10 +499,22 @@ script = ExtResource("3_yp12v")
|
|||||||
input = SubResource("Resource_8e1uk")
|
input = SubResource("Resource_8e1uk")
|
||||||
triggers = Array[ExtResource("8_2tfaw")]([SubResource("Resource_k8i2y")])
|
triggers = Array[ExtResource("8_2tfaw")]([SubResource("Resource_k8i2y")])
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_qrtf1"]
|
||||||
|
script = ExtResource("30_cvxqo")
|
||||||
|
key = 84
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_2ienm"]
|
||||||
|
script = ExtResource("15_fykw6")
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_4uwbh"]
|
||||||
|
script = ExtResource("3_yp12v")
|
||||||
|
input = SubResource("Resource_qrtf1")
|
||||||
|
triggers = Array[ExtResource("8_2tfaw")]([SubResource("Resource_2ienm")])
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_o5fur"]
|
[sub_resource type="Resource" id="Resource_o5fur"]
|
||||||
script = ExtResource("1_qmhk6")
|
script = ExtResource("1_qmhk6")
|
||||||
action = ExtResource("34_s8kjn")
|
action = ExtResource("34_s8kjn")
|
||||||
input_mappings = Array[ExtResource("3_yp12v")]([SubResource("Resource_ilhhf")])
|
input_mappings = Array[ExtResource("3_yp12v")]([SubResource("Resource_ilhhf"), SubResource("Resource_4uwbh")])
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_kcylj"]
|
[sub_resource type="Resource" id="Resource_kcylj"]
|
||||||
script = ExtResource("30_cvxqo")
|
script = ExtResource("30_cvxqo")
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ class_name InputController
|
|||||||
@export var slam:GUIDEAction
|
@export var slam:GUIDEAction
|
||||||
|
|
||||||
signal input_device_changed(is_gamepad: bool)
|
signal input_device_changed(is_gamepad: bool)
|
||||||
var _using_gamepad = false
|
var current_input_method = GlobalHelpers.GamepadDetectionEvent.GAMEPAD
|
||||||
|
|
||||||
signal input_move(value: Vector3)
|
signal input_move(value: Vector3)
|
||||||
signal input_rotate_y(value: float)
|
signal input_rotate_y(value: float)
|
||||||
@@ -104,19 +104,15 @@ func on_input_slide_ended():
|
|||||||
input_slide_ended.emit()
|
input_slide_ended.emit()
|
||||||
|
|
||||||
func _input(event: InputEvent) -> void:
|
func _input(event: InputEvent) -> void:
|
||||||
if event is InputEventKey:
|
var event_gamepad = GlobalHelpers.is_event_gamepad(event)
|
||||||
if _using_gamepad:
|
if event_gamepad == GlobalHelpers.GamepadDetectionEvent.IRRELEVANT:
|
||||||
_using_gamepad = false
|
return
|
||||||
input_device_changed.emit(_using_gamepad)
|
|
||||||
elif event is InputEventJoypadMotion:
|
if current_input_method == event_gamepad:
|
||||||
if !_using_gamepad:
|
return
|
||||||
if abs(event.axis_value) > 0.5:
|
|
||||||
_using_gamepad = true
|
current_input_method = event_gamepad
|
||||||
input_device_changed.emit(_using_gamepad)
|
input_device_changed.emit(current_input_method == GlobalHelpers.GamepadDetectionEvent.GAMEPAD)
|
||||||
elif event is InputEventJoypadButton:
|
|
||||||
if !_using_gamepad:
|
|
||||||
_using_gamepad = true
|
|
||||||
input_device_changed.emit(_using_gamepad)
|
|
||||||
|
|
||||||
func _process(_delta: float) -> void:
|
func _process(_delta: float) -> void:
|
||||||
var value_horizontal = -move_left.value_axis_1d + move_right.value_axis_1d
|
var value_horizontal = -move_left.value_axis_1d + move_right.value_axis_1d
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
[ext_resource type="Script" uid="uid://rvttn472ix6v" path="res://addons/guide/inputs/guide_input_joy_button.gd" id="4_q6ncx"]
|
[ext_resource type="Script" uid="uid://rvttn472ix6v" path="res://addons/guide/inputs/guide_input_joy_button.gd" id="4_q6ncx"]
|
||||||
[ext_resource type="Script" uid="uid://bl8rjl4oaldje" path="res://addons/guide/modifiers/guide_modifier.gd" id="5_vnf02"]
|
[ext_resource type="Script" uid="uid://bl8rjl4oaldje" path="res://addons/guide/modifiers/guide_modifier.gd" id="5_vnf02"]
|
||||||
[ext_resource type="Script" uid="uid://x74mnwgr08a7" path="res://addons/guide/triggers/guide_trigger.gd" id="6_c647i"]
|
[ext_resource type="Script" uid="uid://x74mnwgr08a7" path="res://addons/guide/triggers/guide_trigger.gd" id="6_c647i"]
|
||||||
[ext_resource type="Script" uid="uid://biiggjw6tv4uq" path="res://addons/guide/triggers/guide_trigger_released.gd" id="7_725x1"]
|
[ext_resource type="Script" uid="uid://c76fmncyucwqc" path="res://addons/guide/triggers/guide_trigger_tap.gd" id="7_725x1"]
|
||||||
[ext_resource type="Script" uid="uid://b52rqq28tuqpg" path="res://addons/guide/triggers/guide_trigger_pressed.gd" id="7_m88dc"]
|
[ext_resource type="Script" uid="uid://b52rqq28tuqpg" path="res://addons/guide/triggers/guide_trigger_pressed.gd" id="7_m88dc"]
|
||||||
[ext_resource type="Script" uid="uid://cw71o87tvdx3q" path="res://addons/guide/inputs/guide_input_key.gd" id="8_yfqfy"]
|
[ext_resource type="Script" uid="uid://cw71o87tvdx3q" path="res://addons/guide/inputs/guide_input_key.gd" id="8_yfqfy"]
|
||||||
[ext_resource type="Resource" uid="uid://ds8quw8a7uh2u" path="res://inputs/menu_mode/select.tres" id="9_dsdj3"]
|
[ext_resource type="Resource" uid="uid://ds8quw8a7uh2u" path="res://inputs/menu_mode/select.tres" id="9_dsdj3"]
|
||||||
|
|||||||
@@ -24,9 +24,6 @@ use_collision = true
|
|||||||
size = Vector3(1, 17.5, 9.5)
|
size = Vector3(1, 17.5, 9.5)
|
||||||
material = ExtResource("3_1qo78")
|
material = ExtResource("3_1qo78")
|
||||||
|
|
||||||
[node name="Player" parent="." index="7" unique_id=1309399929]
|
|
||||||
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, 3, 0, 0)
|
|
||||||
|
|
||||||
[node name="GroundedSpawner" parent="." index="8" unique_id=580981173 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
[node name="GroundedSpawner" parent="." index="8" unique_id=580981173 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.5, 1, -42.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.5, 1, -42.5)
|
||||||
EnemyToSpawn = ExtResource("5_iq67o")
|
EnemyToSpawn = ExtResource("5_iq67o")
|
||||||
@@ -35,6 +32,7 @@ HealthInputs = ExtResource("7_ucbss")
|
|||||||
DamageInputs = ExtResource("8_2brdd")
|
DamageInputs = ExtResource("8_2brdd")
|
||||||
Target = NodePath("../Player")
|
Target = NodePath("../Player")
|
||||||
SpawnInterval = 5.0
|
SpawnInterval = 5.0
|
||||||
|
IsActiveOnStart = false
|
||||||
|
|
||||||
[node name="GroundedSpawner2" parent="." index="9" unique_id=1026317919 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
[node name="GroundedSpawner2" parent="." index="9" unique_id=1026317919 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 46.5, 11.5, -34.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 46.5, 11.5, -34.5)
|
||||||
@@ -44,6 +42,7 @@ HealthInputs = ExtResource("7_ucbss")
|
|||||||
DamageInputs = ExtResource("8_2brdd")
|
DamageInputs = ExtResource("8_2brdd")
|
||||||
Target = NodePath("../Player")
|
Target = NodePath("../Player")
|
||||||
SpawnInterval = 5.0
|
SpawnInterval = 5.0
|
||||||
|
IsActiveOnStart = false
|
||||||
|
|
||||||
[node name="GroundedSpawner3" parent="." index="10" unique_id=241829575 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
[node name="GroundedSpawner3" parent="." index="10" unique_id=241829575 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 44.5, 0, -3)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 44.5, 0, -3)
|
||||||
@@ -53,6 +52,7 @@ HealthInputs = ExtResource("7_ucbss")
|
|||||||
DamageInputs = ExtResource("8_2brdd")
|
DamageInputs = ExtResource("8_2brdd")
|
||||||
Target = NodePath("../Player")
|
Target = NodePath("../Player")
|
||||||
SpawnInterval = 5.0
|
SpawnInterval = 5.0
|
||||||
|
IsActiveOnStart = false
|
||||||
|
|
||||||
[node name="FlyingSpawner" parent="." index="11" unique_id=962840208 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
[node name="FlyingSpawner" parent="." index="11" unique_id=962840208 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.5, 19, -19.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.5, 19, -19.5)
|
||||||
@@ -62,6 +62,7 @@ HealthInputs = ExtResource("11_5jlg7")
|
|||||||
DamageInputs = ExtResource("12_pjgox")
|
DamageInputs = ExtResource("12_pjgox")
|
||||||
Target = NodePath("../Player")
|
Target = NodePath("../Player")
|
||||||
SpawnInterval = 5.0
|
SpawnInterval = 5.0
|
||||||
|
IsActiveOnStart = false
|
||||||
|
|
||||||
[node name="FlyingSpawner2" parent="." index="12" unique_id=365997644 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
[node name="FlyingSpawner2" parent="." index="12" unique_id=365997644 node_paths=PackedStringArray("Target") instance=ExtResource("4_jaqjx")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 45.5, 25.5, -42.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 45.5, 25.5, -42.5)
|
||||||
@@ -71,6 +72,7 @@ HealthInputs = ExtResource("11_5jlg7")
|
|||||||
DamageInputs = ExtResource("12_pjgox")
|
DamageInputs = ExtResource("12_pjgox")
|
||||||
Target = NodePath("../Player")
|
Target = NodePath("../Player")
|
||||||
SpawnInterval = 5.0
|
SpawnInterval = 5.0
|
||||||
|
IsActiveOnStart = false
|
||||||
|
|
||||||
[node name="Targets" type="Node3D" parent="." index="13" unique_id=1620747784]
|
[node name="Targets" type="Node3D" parent="." index="13" unique_id=1620747784]
|
||||||
|
|
||||||
@@ -103,3 +105,6 @@ transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 27, 13.5, -9)
|
|||||||
|
|
||||||
[node name="FixedDashthroughTarget3" parent="Targets" index="9" unique_id=1106453232 instance=ExtResource("13_iq67o")]
|
[node name="FixedDashthroughTarget3" parent="Targets" index="9" unique_id=1106453232 instance=ExtResource("13_iq67o")]
|
||||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 43, 6, -8.5)
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 43, 6, -8.5)
|
||||||
|
|
||||||
|
[node name="Player" parent="." index="14" unique_id=1309399929]
|
||||||
|
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, 3, 0, 0)
|
||||||
|
|||||||
@@ -20,9 +20,6 @@ size = Vector3(10.5, 12.5, 7.5)
|
|||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hocby"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_hocby"]
|
||||||
size = Vector3(3, 12.5, 7.5)
|
size = Vector3(3, 12.5, 7.5)
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ovxxa"]
|
|
||||||
size = Vector3(3, 12.5, 6)
|
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_5ibpd"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_5ibpd"]
|
||||||
size = Vector3(3.5, 7, 10.5)
|
size = Vector3(3.5, 7, 10.5)
|
||||||
|
|
||||||
@@ -37,11 +34,6 @@ size = Vector3(3, 6.5, 5.5)
|
|||||||
[node name="DirectionalLight3D" parent="." index="5" unique_id=1357990191]
|
[node name="DirectionalLight3D" parent="." index="5" unique_id=1357990191]
|
||||||
transform = Transform3D(-0.1772511, 0.44628847, 0.87715954, 0.49540228, -0.72966087, 0.4713508, 0.85038733, 0.51809436, -0.09175911, 0, 0, 0)
|
transform = Transform3D(-0.1772511, 0.44628847, 0.87715954, 0.49540228, -0.72966087, 0.4713508, 0.85038733, 0.51809436, -0.09175911, 0, 0, 0)
|
||||||
|
|
||||||
[node name="Player" parent="." index="6" unique_id=1309399929]
|
|
||||||
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -0.5, 0.4102497, 0.5415039)
|
|
||||||
HasSword = false
|
|
||||||
HasParry = false
|
|
||||||
|
|
||||||
[node name="Greybox" type="CSGCombiner3D" parent="." index="7" unique_id=2082385716]
|
[node name="Greybox" type="CSGCombiner3D" parent="." index="7" unique_id=2082385716]
|
||||||
use_collision = true
|
use_collision = true
|
||||||
collision_layer = 256
|
collision_layer = 256
|
||||||
@@ -78,9 +70,9 @@ size = Vector3(38, 16.5, 2)
|
|||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D10" type="CSGBox3D" parent="Greybox" index="5" unique_id=427936811]
|
[node name="CSGBox3D10" type="CSGBox3D" parent="Greybox" index="5" unique_id=427936811]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 8.5, -35)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.25, 8.5, -35)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(21.5, 17, 2)
|
size = Vector3(19.5, 17, 2)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D3" type="CSGBox3D" parent="Greybox" index="6" unique_id=1254886602]
|
[node name="CSGBox3D3" type="CSGBox3D" parent="Greybox" index="6" unique_id=1254886602]
|
||||||
@@ -198,9 +190,9 @@ size = Vector3(6.5, 2.5, 11.5)
|
|||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D11" type="CSGBox3D" parent="Greybox" index="15" unique_id=316945013]
|
[node name="CSGBox3D11" type="CSGBox3D" parent="Greybox" index="15" unique_id=316945013]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.75, 6.5, -35.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 6.5, -34)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(10.5, 1, 13.5)
|
size = Vector3(11, 1, 16)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D23" type="CSGBox3D" parent="Greybox" index="16" unique_id=1942257779]
|
[node name="CSGBox3D23" type="CSGBox3D" parent="Greybox" index="16" unique_id=1942257779]
|
||||||
@@ -222,117 +214,117 @@ size = Vector3(25, 7.5, 41)
|
|||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D12" type="CSGBox3D" parent="Greybox" index="19" unique_id=1227474775]
|
[node name="CSGBox3D12" type="CSGBox3D" parent="Greybox" index="19" unique_id=1227474775]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14.5, 10.25, -37.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.5, 10.25, -37.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(2, 13.5, 7.5)
|
size = Vector3(2, 13.5, 7.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D13" type="CSGBox3D" parent="Greybox" index="20" unique_id=1383851577]
|
[node name="CSGBox3D13" type="CSGBox3D" parent="Greybox" index="20" unique_id=110274826]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.5, 8, -31.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 9.75, -27.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(2, 16, 5)
|
size = Vector3(3, 5.5, 4.5)
|
||||||
material = ExtResource("5_r26ni")
|
|
||||||
|
|
||||||
[node name="CSGBox3D15" type="CSGBox3D" parent="Greybox" index="21" unique_id=238418660]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14.5, 8, -31.5)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(2, 16, 5)
|
|
||||||
material = ExtResource("5_r26ni")
|
|
||||||
|
|
||||||
[node name="CSGBox3D14" type="CSGBox3D" parent="Greybox" index="22" unique_id=437211444]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 8, -27)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(7, 16, 4)
|
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D20" type="CSGBox3D" parent="Greybox" index="23" unique_id=1913472587]
|
[node name="CSGBox3D15" type="CSGBox3D" parent="Greybox" index="21" unique_id=2074031011]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 16.5, -8.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 8.25, -28.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(9, 1, 39)
|
size = Vector3(4, 2.5, 7.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D30" type="CSGBox3D" parent="Greybox" index="24" unique_id=1594042498]
|
[node name="CSGBox3D22" type="CSGBox3D" parent="Greybox" index="22" unique_id=1005993604]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 7.5, -30)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(7, 1, 10)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D14" type="CSGBox3D" parent="Greybox" index="23" unique_id=437211444]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 8, -25.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(7, 16, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D20" type="CSGBox3D" parent="Greybox" index="24" unique_id=1913472587]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 16.5, -7)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 1, 36)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D30" type="CSGBox3D" parent="Greybox" index="25" unique_id=1594042498]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 16.5, 17.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 16.5, 17.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(5, 1, 3)
|
size = Vector3(5, 1, 3)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D54" type="CSGBox3D" parent="Greybox" index="25" unique_id=157354874]
|
[node name="CSGBox3D54" type="CSGBox3D" parent="Greybox" index="26" unique_id=157354874]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16, 15.5, 22.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16, 15.5, 22.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(5, 7, 3)
|
size = Vector3(5, 7, 3)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D38" type="CSGBox3D" parent="Greybox" index="26" unique_id=348698998]
|
[node name="CSGBox3D38" type="CSGBox3D" parent="Greybox" index="27" unique_id=348698998]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 18.5, 17.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 18.5, 17.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 13)
|
size = Vector3(1, 1, 13)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D39" type="CSGBox3D" parent="Greybox" index="27" unique_id=850320525]
|
[node name="CSGBox3D39" type="CSGBox3D" parent="Greybox" index="28" unique_id=850320525]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 13.75, 17.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 13.75, 17.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(7, 10.5, 14)
|
size = Vector3(7, 10.5, 14)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D60" type="CSGBox3D" parent="Greybox" index="28" unique_id=177087863]
|
[node name="CSGBox3D60" type="CSGBox3D" parent="Greybox" index="29" unique_id=177087863]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 22, 17.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 22, 17.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 13)
|
size = Vector3(1, 1, 13)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D61" type="CSGBox3D" parent="Greybox" index="29" unique_id=16972982]
|
[node name="CSGBox3D61" type="CSGBox3D" parent="Greybox" index="30" unique_id=16972982]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 17.25, 14.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 17.25, 14.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(7, 10.5, 20)
|
size = Vector3(7, 10.5, 20)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D37" type="CSGBox3D" parent="Greybox" index="30" unique_id=1733162117]
|
[node name="CSGBox3D37" type="CSGBox3D" parent="Greybox" index="31" unique_id=1733162117]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.75, 9.5, 17.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.75, 9.5, 17.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(22.5, 1, 14.5)
|
size = Vector3(22.5, 1, 14.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D56" type="CSGBox3D" parent="Greybox" index="31" unique_id=790895849]
|
[node name="CSGBox3D56" type="CSGBox3D" parent="Greybox" index="32" unique_id=790895849]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26.25, 11.5, 17.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26.25, 11.5, 17.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(24.5, 1, 14.5)
|
size = Vector3(24.5, 1, 14.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D34" type="CSGBox3D" parent="Greybox" index="32" unique_id=2008368941]
|
[node name="CSGBox3D34" type="CSGBox3D" parent="Greybox" index="33" unique_id=2008368941]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 12.5, 14.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 12.5, 14.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(6, 7, 8.5)
|
size = Vector3(6, 7, 8.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D43" type="CSGBox3D" parent="Greybox" index="33" unique_id=1975028151]
|
[node name="CSGBox3D43" type="CSGBox3D" parent="Greybox" index="34" unique_id=1975028151]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.5, 12.5, 17.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.5, 12.5, 17.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(4, 7, 3)
|
size = Vector3(4, 7, 3)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D44" type="CSGBox3D" parent="Greybox" index="34" unique_id=177387693]
|
[node name="CSGBox3D44" type="CSGBox3D" parent="Greybox" index="35" unique_id=177387693]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 10.5, 17.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 10.5, 17.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 3, 13.5)
|
size = Vector3(3, 3, 13.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D35" type="CSGBox3D" parent="Greybox" index="35" unique_id=570122850]
|
[node name="CSGBox3D35" type="CSGBox3D" parent="Greybox" index="36" unique_id=570122850]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11, 16.5, 17.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11, 16.5, 17.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(5, 1, 13.5)
|
size = Vector3(5, 1, 13.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D21" type="CSGBox3D" parent="Greybox" index="36" unique_id=2094633204]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9, 16.5, -29.5)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(1, 1, 9)
|
|
||||||
material = ExtResource("2_lpm4c")
|
|
||||||
|
|
||||||
[node name="CSGBox3D24" type="CSGBox3D" parent="Greybox" index="37" unique_id=761197989]
|
[node name="CSGBox3D24" type="CSGBox3D" parent="Greybox" index="37" unique_id=761197989]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 18.75, -29.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 14.25, -29.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 5.5, 9)
|
size = Vector3(1, 14.5, 9)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D26" type="CSGBox3D" parent="Greybox" index="38" unique_id=258581541]
|
[node name="CSGBox3D26" type="CSGBox3D" parent="Greybox" index="38" unique_id=258581541]
|
||||||
@@ -504,33 +496,33 @@ size = Vector3(3, 1, 6.5)
|
|||||||
material = ExtResource("5_u8sr4")
|
material = ExtResource("5_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D25" type="CSGBox3D" parent="Greybox" index="66" unique_id=1000059913]
|
[node name="CSGBox3D25" type="CSGBox3D" parent="Greybox" index="66" unique_id=1000059913]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 18.75, -29.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 14, -29.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 5.5, 9)
|
size = Vector3(1, 15, 9)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D22" type="CSGBox3D" parent="Greybox" index="67" unique_id=1623594342]
|
[node name="CSGBox3D16" type="CSGBox3D" parent="Greybox" index="67" unique_id=1660129006]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 16.5, -29.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 16.5, -25.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 9)
|
size = Vector3(7, 1, 1)
|
||||||
material = ExtResource("2_lpm4c")
|
|
||||||
|
|
||||||
[node name="CSGBox3D16" type="CSGBox3D" parent="Greybox" index="68" unique_id=1660129006]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 16.5, -28.5)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(5, 1, 1)
|
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D18" type="CSGBox3D" parent="Greybox" index="69" unique_id=528606233]
|
[node name="CSGBox3D18" type="CSGBox3D" parent="Greybox" index="68" unique_id=410504645]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 16.5, -31.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 13, -27.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 5)
|
size = Vector3(3, 1, 3.5)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D19" type="CSGBox3D" parent="Greybox" index="70" unique_id=533984919]
|
[node name="CSGBox3D19" type="CSGBox3D" parent="Greybox" index="69" unique_id=1692291429]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 16.5, -31.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 10, -29.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 5)
|
size = Vector3(4, 1, 6.5)
|
||||||
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
|
[node name="CSGBox3D21" type="CSGBox3D" parent="Greybox" index="70" unique_id=16284901]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 7.5, -35.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(7, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D36" type="CSGBox3D" parent="Greybox" index="71" unique_id=1460670998]
|
[node name="CSGBox3D36" type="CSGBox3D" parent="Greybox" index="71" unique_id=1460670998]
|
||||||
@@ -937,17 +929,7 @@ tuto_text = "Double jump"
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.25, -1.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.25, -1.75)
|
||||||
shape = SubResource("BoxShape3D_hocby")
|
shape = SubResource("BoxShape3D_hocby")
|
||||||
|
|
||||||
[node name="TutoTrigger4" parent="Tutorials" index="3" unique_id=903897281 instance=ExtResource("7_r26ni")]
|
[node name="TutoTrigger5" parent="Tutorials" index="3" unique_id=1703929757 instance=ExtResource("7_r26ni")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 7.5, -30.5)
|
|
||||||
first_input_texture = ExtResource("8_6c6r2")
|
|
||||||
complex_input_text = "against wall"
|
|
||||||
tuto_text = "Wall jump"
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger4" index="1" unique_id=1224334781]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.25, -1)
|
|
||||||
shape = SubResource("BoxShape3D_ovxxa")
|
|
||||||
|
|
||||||
[node name="TutoTrigger5" parent="Tutorials" index="4" unique_id=1703929757 instance=ExtResource("7_r26ni")]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13.5, 18.5, -30.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13.5, 18.5, -30.5)
|
||||||
first_input_texture = ExtResource("9_v7818")
|
first_input_texture = ExtResource("9_v7818")
|
||||||
complex_input_text = "with speed"
|
complex_input_text = "with speed"
|
||||||
@@ -957,7 +939,7 @@ tuto_text = "Slide"
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.75, 0.5, 12.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.75, 0.5, 12.25)
|
||||||
shape = SubResource("BoxShape3D_5ibpd")
|
shape = SubResource("BoxShape3D_5ibpd")
|
||||||
|
|
||||||
[node name="TutoTrigger6" parent="Tutorials" index="5" unique_id=1739438130 instance=ExtResource("7_r26ni")]
|
[node name="TutoTrigger6" parent="Tutorials" index="4" unique_id=1739438130 instance=ExtResource("7_r26ni")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 19, 19)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 19, 19)
|
||||||
first_input_texture = ExtResource("8_6c6r2")
|
first_input_texture = ExtResource("8_6c6r2")
|
||||||
complex_input_text = "double tap during mantle"
|
complex_input_text = "double tap during mantle"
|
||||||
@@ -967,7 +949,7 @@ tuto_text = "Improved jump"
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.25, -1.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.25, -1.5)
|
||||||
shape = SubResource("BoxShape3D_6rkcg")
|
shape = SubResource("BoxShape3D_6rkcg")
|
||||||
|
|
||||||
[node name="TutoTrigger7" parent="Tutorials" index="6" unique_id=1993844947 instance=ExtResource("7_r26ni")]
|
[node name="TutoTrigger7" parent="Tutorials" index="5" unique_id=1993844947 instance=ExtResource("7_r26ni")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.5, 21, 24)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.5, 21, 24)
|
||||||
first_input_texture = ExtResource("8_6c6r2")
|
first_input_texture = ExtResource("8_6c6r2")
|
||||||
complex_input_text = "double tap during mantle"
|
complex_input_text = "double tap during mantle"
|
||||||
@@ -977,7 +959,7 @@ tuto_text = "Try to wall run"
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.25, 0.25, -1.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.25, 0.25, -1.5)
|
||||||
shape = SubResource("BoxShape3D_6rkcg")
|
shape = SubResource("BoxShape3D_6rkcg")
|
||||||
|
|
||||||
[node name="TutoTrigger8" parent="Tutorials" index="7" unique_id=540710346 instance=ExtResource("7_r26ni")]
|
[node name="TutoTrigger8" parent="Tutorials" index="6" unique_id=540710346 instance=ExtResource("7_r26ni")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 25, 10)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 25, 10)
|
||||||
first_input_texture = ExtResource("10_hocby")
|
first_input_texture = ExtResource("10_hocby")
|
||||||
tuto_text = "dash"
|
tuto_text = "dash"
|
||||||
@@ -986,7 +968,7 @@ tuto_text = "dash"
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, -3.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, -3.75)
|
||||||
shape = SubResource("BoxShape3D_p8dgc")
|
shape = SubResource("BoxShape3D_p8dgc")
|
||||||
|
|
||||||
[node name="TutoTrigger9" parent="Tutorials" index="8" unique_id=2062889854 instance=ExtResource("7_r26ni")]
|
[node name="TutoTrigger9" parent="Tutorials" index="7" unique_id=2062889854 instance=ExtResource("7_r26ni")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 25, -6)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 25, -6)
|
||||||
first_input_texture = ExtResource("10_hocby")
|
first_input_texture = ExtResource("10_hocby")
|
||||||
tuto_text = "dash"
|
tuto_text = "dash"
|
||||||
@@ -994,3 +976,8 @@ tuto_text = "dash"
|
|||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger9" index="1" unique_id=192598019]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger9" index="1" unique_id=192598019]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, -3.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, -3.75)
|
||||||
shape = SubResource("BoxShape3D_p8dgc")
|
shape = SubResource("BoxShape3D_p8dgc")
|
||||||
|
|
||||||
|
[node name="Player" parent="." index="11" unique_id=1309399929]
|
||||||
|
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -0.5, 0.4102497, 0.5415039)
|
||||||
|
HasSword = false
|
||||||
|
HasParry = false
|
||||||
|
|||||||
@@ -10,10 +10,6 @@
|
|||||||
[ext_resource type="PackedScene" uid="uid://cmlud1hwkd6sv" path="res://scenes/enemies/flying_enemy/flying_enemy.tscn" id="8_dkfm7"]
|
[ext_resource type="PackedScene" uid="uid://cmlud1hwkd6sv" path="res://scenes/enemies/flying_enemy/flying_enemy.tscn" id="8_dkfm7"]
|
||||||
[ext_resource type="Script" uid="uid://jitubgv6judn" path="res://scenes/components/damage/RDamage.cs" id="9_ofbe2"]
|
[ext_resource type="Script" uid="uid://jitubgv6judn" path="res://scenes/components/damage/RDamage.cs" id="9_ofbe2"]
|
||||||
[ext_resource type="PackedScene" uid="uid://b8aet6m4m2i83" path="res://scenes/tuto_trigger/TutoTrigger.tscn" id="10_dkfm7"]
|
[ext_resource type="PackedScene" uid="uid://b8aet6m4m2i83" path="res://scenes/tuto_trigger/TutoTrigger.tscn" id="10_dkfm7"]
|
||||||
[ext_resource type="Texture2D" uid="uid://nrhxjdpuje3f" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_lt_outline.svg" id="11_nwk5u"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://cjh5cnvdbq5ku" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_b_outline.svg" id="12_xy0m1"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://dyjvbsvbriii4" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_rb_outline.svg" id="13_nwk5u"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://db6uqhcmcfs5t" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_lb_outline.svg" id="14_xy0m1"]
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_nwk5u"]
|
[sub_resource type="Resource" id="Resource_nwk5u"]
|
||||||
script = ExtResource("6_cgfmf")
|
script = ExtResource("6_cgfmf")
|
||||||
@@ -61,16 +57,13 @@ size = Vector3(5, 2.25, 3.75)
|
|||||||
size = Vector3(5.5, 4.5, 2)
|
size = Vector3(5.5, 4.5, 2)
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_prjj8"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_prjj8"]
|
||||||
size = Vector3(2, 3.25, 1.25)
|
size = Vector3(2, 3.25, 5.25)
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1opdv"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_1opdv"]
|
||||||
size = Vector3(8.25, 3.25, 2.75)
|
size = Vector3(8.25, 3.25, 2.75)
|
||||||
|
|
||||||
[node name="Main" unique_id=955321579 instance=ExtResource("1_8n6bu")]
|
[node name="Main" unique_id=955321579 instance=ExtResource("1_8n6bu")]
|
||||||
|
|
||||||
[node name="Player" parent="." index="6" unique_id=1309399929]
|
|
||||||
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -0.5, 0, 0)
|
|
||||||
|
|
||||||
[node name="Playground" type="Node3D" parent="." index="7" unique_id=2099606598]
|
[node name="Playground" type="Node3D" parent="." index="7" unique_id=2099606598]
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -8.25, 13, 58.5)
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -8.25, 13, 58.5)
|
||||||
|
|
||||||
@@ -364,8 +357,6 @@ RMovement = SubResource("Resource_nwk5u")
|
|||||||
|
|
||||||
[node name="TutoTrigger5" parent="Tutorial/Triggers" index="0" unique_id=840713937 instance=ExtResource("10_dkfm7")]
|
[node name="TutoTrigger5" parent="Tutorial/Triggers" index="0" unique_id=840713937 instance=ExtResource("10_dkfm7")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 23.25, -24.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 23.25, -24.25)
|
||||||
first_input_texture = ExtResource("11_nwk5u")
|
|
||||||
second_input_texture = ExtResource("12_xy0m1")
|
|
||||||
tuto_text = "Dash through target"
|
tuto_text = "Dash through target"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger5" index="1" unique_id=1895232009]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger5" index="1" unique_id=1895232009]
|
||||||
@@ -374,8 +365,6 @@ shape = SubResource("BoxShape3D_xy0m1")
|
|||||||
|
|
||||||
[node name="TutoTrigger" parent="Tutorial/Triggers" index="1" unique_id=1215265305 instance=ExtResource("10_dkfm7")]
|
[node name="TutoTrigger" parent="Tutorial/Triggers" index="1" unique_id=1215265305 instance=ExtResource("10_dkfm7")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 0, -4.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 0, -4.5)
|
||||||
first_input_texture = ExtResource("11_nwk5u")
|
|
||||||
second_input_texture = ExtResource("12_xy0m1")
|
|
||||||
tuto_text = "Aimed dash"
|
tuto_text = "Aimed dash"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger" index="1" unique_id=1774867326]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger" index="1" unique_id=1774867326]
|
||||||
@@ -384,8 +373,6 @@ shape = SubResource("BoxShape3D_05lnh")
|
|||||||
|
|
||||||
[node name="TutoTrigger2" parent="Tutorial/Triggers" index="2" unique_id=386301715 instance=ExtResource("10_dkfm7")]
|
[node name="TutoTrigger2" parent="Tutorial/Triggers" index="2" unique_id=386301715 instance=ExtResource("10_dkfm7")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.75, 0, -34.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.75, 0, -34.25)
|
||||||
first_input_texture = ExtResource("11_nwk5u")
|
|
||||||
complex_input_text = "blue target"
|
|
||||||
tuto_text = "mantle after dash"
|
tuto_text = "mantle after dash"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger2" index="1" unique_id=525906537]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger2" index="1" unique_id=525906537]
|
||||||
@@ -394,8 +381,6 @@ shape = SubResource("BoxShape3D_t5o40")
|
|||||||
|
|
||||||
[node name="TutoTrigger3" parent="Tutorial/Triggers" index="3" unique_id=460767120 instance=ExtResource("10_dkfm7")]
|
[node name="TutoTrigger3" parent="Tutorial/Triggers" index="3" unique_id=460767120 instance=ExtResource("10_dkfm7")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.75, 7, -49)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.75, 7, -49)
|
||||||
first_input_texture = ExtResource("11_nwk5u")
|
|
||||||
complex_input_text = "in air"
|
|
||||||
tuto_text = "slows down time"
|
tuto_text = "slows down time"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger3" index="1" unique_id=768845413]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger3" index="1" unique_id=768845413]
|
||||||
@@ -404,8 +389,6 @@ shape = SubResource("BoxShape3D_dkfm7")
|
|||||||
|
|
||||||
[node name="TutoTrigger4" parent="Tutorial/Triggers" index="4" unique_id=321542244 instance=ExtResource("10_dkfm7")]
|
[node name="TutoTrigger4" parent="Tutorial/Triggers" index="4" unique_id=321542244 instance=ExtResource("10_dkfm7")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.5, 17.75, -27.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.5, 17.75, -27.5)
|
||||||
first_input_texture = ExtResource("13_nwk5u")
|
|
||||||
complex_input_text = "at target"
|
|
||||||
tuto_text = "dash through"
|
tuto_text = "dash through"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger4" index="1" unique_id=1601250256]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger4" index="1" unique_id=1601250256]
|
||||||
@@ -414,8 +397,6 @@ shape = SubResource("BoxShape3D_nwk5u")
|
|||||||
|
|
||||||
[node name="TutoTrigger6" parent="Tutorial/Triggers" index="5" unique_id=26112457 instance=ExtResource("10_dkfm7")]
|
[node name="TutoTrigger6" parent="Tutorial/Triggers" index="5" unique_id=26112457 instance=ExtResource("10_dkfm7")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.75, 22.75, 11.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.75, 22.75, 11.25)
|
||||||
first_input_texture = ExtResource("13_nwk5u")
|
|
||||||
complex_input_text = "at enemy"
|
|
||||||
tuto_text = "dash through"
|
tuto_text = "dash through"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger6" index="1" unique_id=1214410006]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger6" index="1" unique_id=1214410006]
|
||||||
@@ -424,18 +405,14 @@ shape = SubResource("BoxShape3D_prjj8")
|
|||||||
|
|
||||||
[node name="TutoTrigger7" parent="Tutorial/Triggers" index="6" unique_id=271532103 instance=ExtResource("10_dkfm7")]
|
[node name="TutoTrigger7" parent="Tutorial/Triggers" index="6" unique_id=271532103 instance=ExtResource("10_dkfm7")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 22.75, 30.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 22.75, 30.25)
|
||||||
first_input_texture = ExtResource("11_nwk5u")
|
|
||||||
second_input_texture = ExtResource("13_nwk5u")
|
|
||||||
tuto_text = "throw weapon"
|
tuto_text = "throw weapon"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger7" index="1" unique_id=1932556219]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger7" index="1" unique_id=1932556219]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.875, 3.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.875, 4)
|
||||||
shape = SubResource("BoxShape3D_prjj8")
|
shape = SubResource("BoxShape3D_prjj8")
|
||||||
|
|
||||||
[node name="TutoTrigger8" parent="Tutorial/Triggers" index="7" unique_id=36196488 instance=ExtResource("10_dkfm7")]
|
[node name="TutoTrigger8" parent="Tutorial/Triggers" index="7" unique_id=36196488 instance=ExtResource("10_dkfm7")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 21.75, 28.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 21.75, 28.25)
|
||||||
first_input_texture = ExtResource("14_xy0m1")
|
|
||||||
complex_input_text = "at enemy"
|
|
||||||
tuto_text = "knockback"
|
tuto_text = "knockback"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger8" index="1" unique_id=929676345]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger8" index="1" unique_id=929676345]
|
||||||
@@ -620,9 +597,9 @@ size = Vector3(5, 1, 11)
|
|||||||
material = ExtResource("3_wsc2c")
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
[node name="CSGBox3D141" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="29" unique_id=1207463075]
|
[node name="CSGBox3D141" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="29" unique_id=1207463075]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 21.487345, 68.625)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 21.487345, 70.125)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(5, 1, 3.25)
|
size = Vector3(5, 1, 6.25)
|
||||||
material = ExtResource("3_wsc2c")
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
[node name="CSGBox3D121" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="30" unique_id=302433684]
|
[node name="CSGBox3D121" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="30" unique_id=302433684]
|
||||||
@@ -721,26 +698,38 @@ use_collision = true
|
|||||||
size = Vector3(9, 5.5, 2)
|
size = Vector3(9, 5.5, 2)
|
||||||
material = ExtResource("3_wsc2c")
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
[node name="CSGBox3D118" type="CSGBox3D" parent="Tutorial" index="20" unique_id=1950738925]
|
[node name="CSGBox3D123" type="CSGBox3D" parent="Tutorial" index="20" unique_id=765166179]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.625, 6)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 2.25, 2)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D118" type="CSGBox3D" parent="Tutorial" index="21" unique_id=1950738925]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -7.75, -10)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -7.75, -10)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(9, 2.5, 2)
|
size = Vector3(9, 2.5, 2)
|
||||||
material = ExtResource("3_wsc2c")
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
[node name="CSGBox3D120" type="CSGBox3D" parent="Tutorial" index="21" unique_id=1024529143]
|
[node name="CSGBox3D120" type="CSGBox3D" parent="Tutorial" index="22" unique_id=1024529143]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -21.75, -11.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -21.75, -11.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(9, 25.5, 37.5)
|
size = Vector3(9, 25.5, 37.5)
|
||||||
material = ExtResource("3_wsc2c")
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
[node name="CSGBox3D122" type="CSGBox3D" parent="Tutorial" index="22" unique_id=1261455320]
|
[node name="CSGBox3D122" type="CSGBox3D" parent="Tutorial" index="23" unique_id=1261455320]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15.5, 16.5, -28.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15.5, 16.5, -28.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 4)
|
size = Vector3(3, 1, 4)
|
||||||
material = ExtResource("3_wsc2c")
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
[node name="CSGBox3D143" type="CSGBox3D" parent="Tutorial" index="23" unique_id=1090375546]
|
[node name="CSGBox3D143" type="CSGBox3D" parent="Tutorial" index="24" unique_id=1090375546]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 27.625, 34)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 27.625, 34)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(2, 3.25, 1)
|
size = Vector3(2, 3.25, 1)
|
||||||
material = ExtResource("3_wsc2c")
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="Player" parent="." index="9" unique_id=1309399929]
|
||||||
|
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -0.5, 0, 0)
|
||||||
|
|
||||||
|
[node name="PlayerFellRespawn" parent="." index="10" unique_id=479136076]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 1.5, 0)
|
||||||
|
|||||||
739
maps/levels/tuto_sword_parry.tscn39615044470.tmp
Normal file
739
maps/levels/tuto_sword_parry.tscn39615044470.tmp
Normal file
@@ -0,0 +1,739 @@
|
|||||||
|
[gd_scene format=3 uid="uid://e81wsmpen58r"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://55wehh6xombr" path="res://maps/_templates/main_scene_template.tscn" id="1_8n6bu"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://y77cdg7gg3y7" path="res://maps/levels/_arenas/playtest_1.tscn" id="2_wsc2c"]
|
||||||
|
[ext_resource type="Material" uid="uid://31aulub2nqov" path="res://assets/materials/greybox/m_greybox.tres" id="3_wsc2c"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://qup00a7x2sji" path="res://scenes/fixed_dash_target/fixed_dashthrough_target.tscn" id="4_invhv"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dxt0e2ugmttqq" path="res://scenes/enemies/grounded_enemy/grounded_enemy.tscn" id="5_ofbe2"]
|
||||||
|
[ext_resource type="Script" uid="uid://dtpxijlnb2c5" path="res://scenes/components/movement/RMovement.cs" id="6_cgfmf"]
|
||||||
|
[ext_resource type="Script" uid="uid://baiapod3csndf" path="res://scenes/components/health/RHealth.cs" id="7_hr4qv"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cmlud1hwkd6sv" path="res://scenes/enemies/flying_enemy/flying_enemy.tscn" id="8_dkfm7"]
|
||||||
|
[ext_resource type="Script" uid="uid://jitubgv6judn" path="res://scenes/components/damage/RDamage.cs" id="9_ofbe2"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b8aet6m4m2i83" path="res://scenes/tuto_trigger/TutoTrigger.tscn" id="10_dkfm7"]
|
||||||
|
[ext_resource type="Resource" uid="uid://c3e0ivgaxrsyb" path="res://inputs/base_mode/aim_down.tres" id="11_dkfm7"]
|
||||||
|
[ext_resource type="Resource" uid="uid://d2r0ur8k3cuu3" path="res://inputs/base_mode/dash.tres" id="12_nwk5u"]
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_nwk5u"]
|
||||||
|
script = ExtResource("6_cgfmf")
|
||||||
|
GravityModifier = 5.0
|
||||||
|
metadata/_custom_type_script = "uid://dtpxijlnb2c5"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_xy0m1"]
|
||||||
|
script = ExtResource("7_hr4qv")
|
||||||
|
StartingHealth = 100.0
|
||||||
|
metadata/_custom_type_script = "uid://baiapod3csndf"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_invhv"]
|
||||||
|
script = ExtResource("7_hr4qv")
|
||||||
|
StartingHealth = 1.0
|
||||||
|
metadata/_custom_type_script = "uid://baiapod3csndf"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_cgfmf"]
|
||||||
|
script = ExtResource("9_ofbe2")
|
||||||
|
DamageType = 2
|
||||||
|
metadata/_custom_type_script = "uid://jitubgv6judn"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_05lnh"]
|
||||||
|
script = ExtResource("7_hr4qv")
|
||||||
|
StartingHealth = 100.0
|
||||||
|
metadata/_custom_type_script = "uid://baiapod3csndf"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_t5o40"]
|
||||||
|
script = ExtResource("7_hr4qv")
|
||||||
|
StartingHealth = 100.0
|
||||||
|
metadata/_custom_type_script = "uid://baiapod3csndf"
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_xy0m1"]
|
||||||
|
size = Vector3(3, 3.75, 3)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_05lnh"]
|
||||||
|
size = Vector3(9, 11, 19)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_t5o40"]
|
||||||
|
size = Vector3(9, 2.25, 5)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_dkfm7"]
|
||||||
|
size = Vector3(5, 2.25, 3.75)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_nwk5u"]
|
||||||
|
size = Vector3(5.5, 4.5, 2)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_prjj8"]
|
||||||
|
size = Vector3(2, 3.25, 5.25)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_1opdv"]
|
||||||
|
size = Vector3(8.25, 3.25, 2.75)
|
||||||
|
|
||||||
|
[node name="Main" unique_id=955321579 instance=ExtResource("1_8n6bu")]
|
||||||
|
|
||||||
|
[node name="Player" parent="." index="7" unique_id=1309399929]
|
||||||
|
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -0.5, 0, -2.5)
|
||||||
|
|
||||||
|
[node name="PlayerFellRespawn" parent="." index="8" unique_id=479136076]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 1.5, 0)
|
||||||
|
|
||||||
|
[node name="Playground" type="Node3D" parent="." index="11" unique_id=2099606598]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -8.25, 13, 58.5)
|
||||||
|
|
||||||
|
[node name="PlaytestArena" parent="Playground" index="0" unique_id=664535670 instance=ExtResource("2_wsc2c")]
|
||||||
|
|
||||||
|
[node name="CSGBox3D108" type="CSGBox3D" parent="Playground/PlaytestArena" index="88" unique_id=47922109]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 8.75, 2.25)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 17.5, 9.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="Targets" type="Node3D" parent="Playground" index="1" unique_id=1727473773]
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget" parent="Playground/Targets" index="0" unique_id=1291663508 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 17, 13.5, -9)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget8" parent="Playground/Targets" index="1" unique_id=475406577 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 17, 23, -34)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget9" parent="Playground/Targets" index="2" unique_id=168635463 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 35.5, 30.5, -42.5)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget10" parent="Playground/Targets" index="3" unique_id=119396227 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 26, 30.5, -42.5)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget7" parent="Playground/Targets" index="4" unique_id=282429016 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 10.5, 5.5, -9)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget6" parent="Playground/Targets" index="5" unique_id=437890277 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 8, 6, -30.5)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget4" parent="Playground/Targets" index="6" unique_id=1484691271 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 30.5, 5, -33.5)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget5" parent="Playground/Targets" index="7" unique_id=434257222 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 26.5, 9.5, -44)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget2" parent="Playground/Targets" index="8" unique_id=272400108 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 27, 13.5, -9)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget3" parent="Playground/Targets" index="9" unique_id=1008201593 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 43, 6, -8.5)
|
||||||
|
|
||||||
|
[node name="FlyingEnemies" type="Node3D" parent="Playground" index="2" unique_id=1518759273]
|
||||||
|
|
||||||
|
[node name="FlyingEnemy" parent="Playground/FlyingEnemies" index="0" unique_id=2090203407 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15.5, 7, -9)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy10" parent="Playground/FlyingEnemies" index="1" unique_id=1610354388 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32.5, 7, 0.5)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy11" parent="Playground/FlyingEnemies" index="2" unique_id=1671862122 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 28, 7, 1.5)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy4" parent="Playground/FlyingEnemies" index="3" unique_id=665537400 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 33, 6, -12)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy5" parent="Playground/FlyingEnemies" index="4" unique_id=1592183094 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 45, 6, -12)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy9" parent="Playground/FlyingEnemies" index="5" unique_id=842890582 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 45, 6, -1.5)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy2" parent="Playground/FlyingEnemies" index="6" unique_id=188061312 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 11, -24)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy12" parent="Playground/FlyingEnemies" index="7" unique_id=821624940 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.5, 8.5, -24)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy3" parent="Playground/FlyingEnemies" index="8" unique_id=412581083 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 14, -32.5)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy6" parent="Playground/FlyingEnemies" index="9" unique_id=779578466 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 23.5, -23)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy7" parent="Playground/FlyingEnemies" index="10" unique_id=1163439326 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 23.5, -23)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="FlyingEnemy8" parent="Playground/FlyingEnemies" index="11" unique_id=1979706254 node_paths=PackedStringArray("Target") instance=ExtResource("8_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 43, 23.5, -23)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="GroundedEnemies" type="Node3D" parent="Playground" index="3" unique_id=1101330520]
|
||||||
|
|
||||||
|
[node name="Enemy3" parent="Playground/GroundedEnemies" index="0" unique_id=1159989424 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 25, 0, -8.336809)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy11" parent="Playground/GroundedEnemies" index="1" unique_id=1747444936 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 17, 8, 3.6631908)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy12" parent="Playground/GroundedEnemies" index="2" unique_id=283117081 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 36.5, 11, -4.836809)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy13" parent="Playground/GroundedEnemies" index="3" unique_id=970022638 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 36.5, 12, -19.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy18" parent="Playground/GroundedEnemies" index="4" unique_id=2077088475 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 30.5, 12, -19.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy19" parent="Playground/GroundedEnemies" index="5" unique_id=2023773341 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 36.5, 7.5, -19.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy25" parent="Playground/GroundedEnemies" index="6" unique_id=1101329723 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 46, 7.5, -19.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy26" parent="Playground/GroundedEnemies" index="7" unique_id=855220553 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 46, 12, -35.336807)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy20" parent="Playground/GroundedEnemies" index="8" unique_id=1255215986 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 30.5, 7.5, -19.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy21" parent="Playground/GroundedEnemies" index="9" unique_id=2098915426 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 36.5, 0.5, -19.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy22" parent="Playground/GroundedEnemies" index="10" unique_id=246912749 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 30.5, 0.5, -19.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy14" parent="Playground/GroundedEnemies" index="11" unique_id=211015190 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 41, 17.5, -33.336807)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy15" parent="Playground/GroundedEnemies" index="12" unique_id=1164179421 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 31, 17.5, -33.336807)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy16" parent="Playground/GroundedEnemies" index="13" unique_id=1169725422 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 24.5, 17.5, -33.336807)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy17" parent="Playground/GroundedEnemies" index="14" unique_id=1951666189 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 17.5, 17.5, -22.836807)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy23" parent="Playground/GroundedEnemies" index="15" unique_id=1348057502 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 17.5, 24.5, -43.336807)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy24" parent="Playground/GroundedEnemies" index="16" unique_id=2068813971 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 45, 24.5, -43.336807)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy4" parent="Playground/GroundedEnemies" index="17" unique_id=366059658 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 10.5, 0, -18.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy7" parent="Playground/GroundedEnemies" index="18" unique_id=1389063523 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 25.5, 4, -27.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy27" parent="Playground/GroundedEnemies" index="19" unique_id=854456486 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 20, 0, -44.836807)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy10" parent="Playground/GroundedEnemies" index="20" unique_id=836898496 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 30.5, 11, -33.336807)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy8" parent="Playground/GroundedEnemies" index="21" unique_id=1015624071 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 34.5, 1.5, -27.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy9" parent="Playground/GroundedEnemies" index="22" unique_id=827865590 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 46.5, 0, -27.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy5" parent="Playground/GroundedEnemies" index="23" unique_id=1267116862 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 4, 0, -18.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy6" parent="Playground/GroundedEnemies" index="24" unique_id=1147823180 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 16.5, 7, -17.33681)
|
||||||
|
Target = NodePath("../../../Player")
|
||||||
|
RHealth = SubResource("Resource_xy0m1")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Tutorial" type="CSGCombiner3D" parent="." index="12" unique_id=1168290062]
|
||||||
|
use_collision = true
|
||||||
|
collision_layer = 256
|
||||||
|
collision_mask = 65553
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget11" parent="Tutorial" index="0" unique_id=2053952229 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -7.25, 20.5, -27.5)
|
||||||
|
|
||||||
|
[node name="FixedDashthroughTarget13" parent="Tutorial" index="1" unique_id=1470128508 instance=ExtResource("4_invhv")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 1.3647223, 23.75, -13.75)
|
||||||
|
|
||||||
|
[node name="Enemy28" parent="Tutorial" index="2" unique_id=1765389924 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -5, 22, 16.5)
|
||||||
|
Target = NodePath("../../Player")
|
||||||
|
RHealth = SubResource("Resource_invhv")
|
||||||
|
RDamage = SubResource("Resource_cgfmf")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy29" parent="Tutorial" index="3" unique_id=1071267369 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -10, 22, 28.75)
|
||||||
|
Target = NodePath("../../Player")
|
||||||
|
RHealth = SubResource("Resource_05lnh")
|
||||||
|
RDamage = SubResource("Resource_cgfmf")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Enemy30" parent="Tutorial" index="4" unique_id=1982933011 node_paths=PackedStringArray("Target") instance=ExtResource("5_ofbe2")]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0.25, 22, 28.75)
|
||||||
|
Target = NodePath("../../Player")
|
||||||
|
RHealth = SubResource("Resource_t5o40")
|
||||||
|
RDamage = SubResource("Resource_cgfmf")
|
||||||
|
RMovement = SubResource("Resource_nwk5u")
|
||||||
|
|
||||||
|
[node name="Triggers" type="Node3D" parent="Tutorial" index="5" unique_id=1531131828]
|
||||||
|
|
||||||
|
[node name="TutoTrigger5" parent="Tutorial/Triggers" index="0" unique_id=840713937 instance=ExtResource("10_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 23.25, -24.25)
|
||||||
|
input = ExtResource("11_dkfm7")
|
||||||
|
second_input = ExtResource("12_nwk5u")
|
||||||
|
tuto_text = "Dash to target"
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger5" index="1" unique_id=1895232009]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.75, 0.625, 1.75)
|
||||||
|
shape = SubResource("BoxShape3D_xy0m1")
|
||||||
|
|
||||||
|
[node name="TutoTrigger" parent="Tutorial/Triggers" index="1" unique_id=1215265305 instance=ExtResource("10_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 0, -4.5)
|
||||||
|
tuto_text = "Aimed dash"
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger" index="1" unique_id=1774867326]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, -3.75, -6.75)
|
||||||
|
shape = SubResource("BoxShape3D_05lnh")
|
||||||
|
|
||||||
|
[node name="TutoTrigger2" parent="Tutorial/Triggers" index="2" unique_id=386301715 instance=ExtResource("10_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.75, 0, -34.25)
|
||||||
|
tuto_text = "mantle after dash"
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger2" index="1" unique_id=525906537]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 0.625, 1.25)
|
||||||
|
shape = SubResource("BoxShape3D_t5o40")
|
||||||
|
|
||||||
|
[node name="TutoTrigger3" parent="Tutorial/Triggers" index="3" unique_id=460767120 instance=ExtResource("10_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.75, 7, -49)
|
||||||
|
tuto_text = "slows down time"
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger3" index="1" unique_id=768845413]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 0.625, 0.875)
|
||||||
|
shape = SubResource("BoxShape3D_dkfm7")
|
||||||
|
|
||||||
|
[node name="TutoTrigger4" parent="Tutorial/Triggers" index="4" unique_id=321542244 instance=ExtResource("10_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.5, 17.75, -27.5)
|
||||||
|
tuto_text = "dash through"
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger4" index="1" unique_id=1601250256]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 1.75, 0)
|
||||||
|
shape = SubResource("BoxShape3D_nwk5u")
|
||||||
|
|
||||||
|
[node name="TutoTrigger6" parent="Tutorial/Triggers" index="5" unique_id=26112457 instance=ExtResource("10_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.75, 22.75, 11.25)
|
||||||
|
tuto_text = "dash through"
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger6" index="1" unique_id=1214410006]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.625, 1.75, -0.75)
|
||||||
|
shape = SubResource("BoxShape3D_prjj8")
|
||||||
|
|
||||||
|
[node name="TutoTrigger7" parent="Tutorial/Triggers" index="6" unique_id=271532103 instance=ExtResource("10_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 22.75, 30.25)
|
||||||
|
tuto_text = "throw weapon"
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger7" index="1" unique_id=1932556219]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.875, 4)
|
||||||
|
shape = SubResource("BoxShape3D_prjj8")
|
||||||
|
|
||||||
|
[node name="TutoTrigger8" parent="Tutorial/Triggers" index="7" unique_id=36196488 instance=ExtResource("10_dkfm7")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 21.75, 28.25)
|
||||||
|
tuto_text = "knockback"
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorial/Triggers/TutoTrigger8" index="1" unique_id=929676345]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.125, 1.875, 0.375)
|
||||||
|
shape = SubResource("BoxShape3D_1opdv")
|
||||||
|
|
||||||
|
[node name="DashWithMantle" type="CSGCombiner3D" parent="Tutorial" index="6" unique_id=128667834]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, -36.5)
|
||||||
|
|
||||||
|
[node name="CSGBox3D109" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="0" unique_id=531736596]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -4.75, 4)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 8.5, 6)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D112" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="1" unique_id=565292599]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -6.25, 0)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 5.5, 2)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D113" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="2" unique_id=28433553]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -7.75, -2)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 2.5, 2)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D110" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="3" unique_id=731833071]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 6, -12.125)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(5, 1, 4.75)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D115" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="4" unique_id=173458015]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 5.625, -14)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 29.25, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D116" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="5" unique_id=1750512788]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 7, -12.125)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 1, 4.75)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D117" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="6" unique_id=391729778]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 7, -12.125)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 1, 4.75)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D134" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="7" unique_id=1136091363]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 21.5, 46.125)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(5, 1, 4.75)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D135" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="8" unique_id=748140231]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 22.5, 46.125)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 1, 4.75)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D136" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="9" unique_id=436209430]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 22.5, 46.125)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 1, 4.75)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D137" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="10" unique_id=1930091014]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 22.5, 58)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 1, 11)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D138" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="11" unique_id=1299444131]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 22.5, 58)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 1, 11)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D139" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="12" unique_id=1708119368]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 22.5, 68.625)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 1, 3.25)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D140" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="13" unique_id=762102441]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 22.5, 68.625)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 1, 3.25)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D120" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="14" unique_id=1446497915]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.5, 17, 6.75)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 2, 6.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D127" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="15" unique_id=1731176595]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, 17, 10.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(4, 2, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D119" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="16" unique_id=1284139577]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 0.625, 10.375)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(3, 2.25, 6.75)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D114" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="17" unique_id=1204742131]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 16.5, 4.75)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(12, 1, 2.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D118" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="18" unique_id=1985192046]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 23.125, 6.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(18, 12.25, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D130" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="19" unique_id=1502907002]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.25, 23.125, 44)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(7.5, 12.25, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D131" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="20" unique_id=632272709]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.25, 23.125, 43)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(7.5, 12.25, 3)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D123" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="21" unique_id=696789507]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.375, 23.125, 10.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(7.25, 12.25, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D125" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="22" unique_id=1937274848]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.375, 23.125, 7.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(7.25, 12.25, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D132" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="23" unique_id=249644458]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 29.625, 25.25)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(18, 0.75, 38.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D126" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="24" unique_id=1606556480]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.125, 18.25, 9)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(7.75, 2.5, 4)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D128" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="25" unique_id=1927103381]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.375, 25.375, 9)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(7.25, 7.75, 2)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D124" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="26" unique_id=1068505352]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 19.487345, 11.25)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(3, 5, 8.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D129" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="27" unique_id=302301078]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.25, 19.487345, 38.625)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9.5, 5, 11.75)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D133" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="28" unique_id=672467040]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 21.487345, 58)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(5, 1, 11)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D141" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="29" unique_id=1207463075]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 21.487345, 70.125)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(5, 1, 6.25)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D121" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="30" unique_id=302433684]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.875, 23.125, 26.25)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(13.75, 12.25, 30.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D122" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="31" unique_id=1125662345]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12.5, 23.125, 25.25)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 12.25, 36.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D111" type="CSGBox3D" parent="Tutorial/DashWithMantle" index="32" unique_id=923535141]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -11.125, -3.75)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 4.25, 21.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D142" type="CSGBox3D" parent="Tutorial" index="7" unique_id=886061699]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 22, 34)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(2, 2, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D145" type="CSGBox3D" parent="Tutorial" index="8" unique_id=1440927327]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 12.25, 34)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(12, 17.5, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D139" type="CSGBox3D" parent="Tutorial" index="9" unique_id=1561729125]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 21.5, 28.75)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(12, 1, 3.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D146" type="CSGBox3D" parent="Tutorial" index="10" unique_id=1614862969]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.75, 23, 55.75)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(19.5, 1, 3.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D147" type="CSGBox3D" parent="Tutorial" index="11" unique_id=1320459108]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.875, 23, 67.25)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(3.25, 1, 19.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D140" type="CSGBox3D" parent="Tutorial" index="12" unique_id=124463390]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, 25.125, 34)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(5, 8.25, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D141" type="CSGBox3D" parent="Tutorial" index="13" unique_id=164888540]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.5, 25.125, 34)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(5, 8.25, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D114" type="CSGBox3D" parent="Tutorial" index="14" unique_id=1217279859]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -4.75, 0)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 8.5, 14)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D116" type="CSGBox3D" parent="Tutorial" index="15" unique_id=720911926]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 9.375, -11.75)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(18, 15.25, 37.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D115" type="CSGBox3D" parent="Tutorial" index="16" unique_id=995233474]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, -1, -26.125)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(18, 1, 6.75)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D119" type="CSGBox3D" parent="Tutorial" index="17" unique_id=1412582714]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.875, -3.75, -30)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(11.75, 11, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D121" type="CSGBox3D" parent="Tutorial" index="18" unique_id=697302898]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.125, -30)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(3, 3.25, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D117" type="CSGBox3D" parent="Tutorial" index="19" unique_id=603171965]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -6.25, -8)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 5.5, 2)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D123" type="CSGBox3D" parent="Tutorial" index="20" unique_id=765166179]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.625, 6)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 2.25, 2)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D118" type="CSGBox3D" parent="Tutorial" index="21" unique_id=1950738925]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -7.75, -10)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 2.5, 2)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D120" type="CSGBox3D" parent="Tutorial" index="22" unique_id=1024529143]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -21.75, -11.75)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(9, 25.5, 37.5)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D122" type="CSGBox3D" parent="Tutorial" index="23" unique_id=1261455320]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15.5, 16.5, -28.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(3, 1, 4)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D143" type="CSGBox3D" parent="Tutorial" index="24" unique_id=1090375546]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 27.625, 34)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(2, 3.25, 1)
|
||||||
|
material = ExtResource("3_wsc2c")
|
||||||
@@ -28,7 +28,8 @@ ProjectMusicController="*uid://r5t485lr3p7t"
|
|||||||
ProjectUISoundController="*uid://cc37235kj4384"
|
ProjectUISoundController="*uid://cc37235kj4384"
|
||||||
Shaker="*uid://c7flmumgr5w3u"
|
Shaker="*uid://c7flmumgr5w3u"
|
||||||
CsgToolkitAutoload="*uid://w8ad8q4lneis"
|
CsgToolkitAutoload="*uid://w8ad8q4lneis"
|
||||||
"Forge Bootstrap"="uid://ba8fquhtwu5mu"
|
"Forge Bootstrap"="*uid://ba8fquhtwu5mu"
|
||||||
|
GlobalHelpers="*uid://dqcm83o8e66a2"
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
|
|||||||
@@ -159,8 +159,9 @@ WallHugDownwardMaxSpeed = 4.0
|
|||||||
WallHugHorizontalDeceleration = 1.0
|
WallHugHorizontalDeceleration = 1.0
|
||||||
WallRunUpwardVelocityFactor = 0.5
|
WallRunUpwardVelocityFactor = 0.5
|
||||||
MinimumWallRunUpwardSpeed = 4.0
|
MinimumWallRunUpwardSpeed = 4.0
|
||||||
|
MinimumWallRunHorizontalSpeed = 8.0
|
||||||
WallRunAltitudeLossSpeed = 8.0
|
WallRunAltitudeLossSpeed = 8.0
|
||||||
WallRunSpeedThreshold = 2.0
|
WallRunSpeedThreshold = 1.0
|
||||||
|
|
||||||
[node name="CHealth" parent="." unique_id=1244478698 instance=ExtResource("3_q7bng")]
|
[node name="CHealth" parent="." unique_id=1244478698 instance=ExtResource("3_q7bng")]
|
||||||
RHealth = ExtResource("4_m8gvy")
|
RHealth = ExtResource("4_m8gvy")
|
||||||
@@ -1119,8 +1120,8 @@ delay_in_seconds = "0.0"
|
|||||||
|
|
||||||
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/OnWall" unique_id=342055859]
|
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/OnWall" unique_id=342055859]
|
||||||
script = ExtResource("28_n7qhm")
|
script = ExtResource("28_n7qhm")
|
||||||
to = NodePath("../../Jump/SimpleJump")
|
to = NodePath("../../Jump/DoubleJump")
|
||||||
event = &"jump"
|
event = &"wall_jump"
|
||||||
delay_in_seconds = "0.0"
|
delay_in_seconds = "0.0"
|
||||||
|
|
||||||
[node name="OnDash" type="Node" parent="StateChart/Root/Movement/OnWall" unique_id=43147957]
|
[node name="OnDash" type="Node" parent="StateChart/Root/Movement/OnWall" unique_id=43147957]
|
||||||
@@ -1156,6 +1157,12 @@ script = ExtResource("27_34snm")
|
|||||||
[node name="Running" type="Node" parent="StateChart/Root/Movement/OnWall" unique_id=766545186]
|
[node name="Running" type="Node" parent="StateChart/Root/Movement/OnWall" unique_id=766545186]
|
||||||
script = ExtResource("27_34snm")
|
script = ExtResource("27_34snm")
|
||||||
|
|
||||||
|
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/OnWall/Running" unique_id=1699673966]
|
||||||
|
script = ExtResource("28_n7qhm")
|
||||||
|
to = NodePath("../../../Jump/SimpleJump")
|
||||||
|
event = &"wall_jump"
|
||||||
|
delay_in_seconds = "0.0"
|
||||||
|
|
||||||
[node name="OnLeaveWall" type="Node" parent="StateChart/Root/Movement/OnWall/Running" unique_id=73239479]
|
[node name="OnLeaveWall" type="Node" parent="StateChart/Root/Movement/OnWall/Running" unique_id=73239479]
|
||||||
script = ExtResource("28_n7qhm")
|
script = ExtResource("28_n7qhm")
|
||||||
to = NodePath("../../../Airborne/CoyoteEnabled")
|
to = NodePath("../../../Airborne/CoyoteEnabled")
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ tracks/3/keys = {
|
|||||||
}
|
}
|
||||||
tracks/4/type = "method"
|
tracks/4/type = "method"
|
||||||
tracks/4/imported = false
|
tracks/4/imported = false
|
||||||
tracks/4/enabled = true
|
tracks/4/enabled = false
|
||||||
tracks/4/path = NodePath("../..")
|
tracks/4/path = NodePath("../..")
|
||||||
tracks/4/interp = 1
|
tracks/4/interp = 1
|
||||||
tracks/4/loop_wrap = true
|
tracks/4/loop_wrap = true
|
||||||
@@ -579,7 +579,7 @@ tracks/3/keys = {
|
|||||||
}
|
}
|
||||||
tracks/4/type = "method"
|
tracks/4/type = "method"
|
||||||
tracks/4/imported = false
|
tracks/4/imported = false
|
||||||
tracks/4/enabled = true
|
tracks/4/enabled = false
|
||||||
tracks/4/path = NodePath("../..")
|
tracks/4/path = NodePath("../..")
|
||||||
tracks/4/interp = 1
|
tracks/4/interp = 1
|
||||||
tracks/4/loop_wrap = true
|
tracks/4/loop_wrap = true
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
public float MinimumWallRunHorizontalSpeed { get; set; } = 12f;
|
public float MinimumWallRunHorizontalSpeed { get; set; } = 12f;
|
||||||
[Export(PropertyHint.Range, "1,20,0.1,or_greater")]
|
[Export(PropertyHint.Range, "1,20,0.1,or_greater")]
|
||||||
public float WallRunAltitudeLossSpeed { get; set; } = 10f;
|
public float WallRunAltitudeLossSpeed { get; set; } = 10f;
|
||||||
[Export(PropertyHint.Range, "1,20,0.1,or_greater")]
|
[Export(PropertyHint.Range, "0,20,0.1,or_greater")]
|
||||||
public float WallRunSpeedThreshold { get; set; } = 8f;
|
public float WallRunSpeedThreshold { get; set; } = 8f;
|
||||||
|
|
||||||
///////////////////////////
|
///////////////////////////
|
||||||
@@ -360,6 +360,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
|
|
||||||
private Transition _onJumpFromWall;
|
private Transition _onJumpFromWall;
|
||||||
private Transition _onJumpFromWallFalling;
|
private Transition _onJumpFromWallFalling;
|
||||||
|
private Transition _onJumpFromWallRunning;
|
||||||
private Transition _onLeaveWallFromRun;
|
private Transition _onLeaveWallFromRun;
|
||||||
private Transition _onAirborneToGrounded;
|
private Transition _onAirborneToGrounded;
|
||||||
|
|
||||||
@@ -502,6 +503,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
_mantling = StateChartState.Of(GetNode("StateChart/Root/Movement/Mantling"));
|
_mantling = StateChartState.Of(GetNode("StateChart/Root/Movement/Mantling"));
|
||||||
_onJumpFromWall = Transition.Of(GetNode("StateChart/Root/Movement/OnWall/OnJump"));
|
_onJumpFromWall = Transition.Of(GetNode("StateChart/Root/Movement/OnWall/OnJump"));
|
||||||
_onJumpFromWallFalling = Transition.Of(GetNode("StateChart/Root/Movement/Airborne/Falling/OnWallJump"));
|
_onJumpFromWallFalling = Transition.Of(GetNode("StateChart/Root/Movement/Airborne/Falling/OnWallJump"));
|
||||||
|
_onJumpFromWallRunning = Transition.Of(GetNode("StateChart/Root/Movement/OnWall/Running/OnJump"));
|
||||||
_onWall = StateChartState.Of(GetNode("StateChart/Root/Movement/OnWall"));
|
_onWall = StateChartState.Of(GetNode("StateChart/Root/Movement/OnWall"));
|
||||||
_onWallHugging = StateChartState.Of(GetNode("StateChart/Root/Movement/OnWall/Hugging"));
|
_onWallHugging = StateChartState.Of(GetNode("StateChart/Root/Movement/OnWall/Hugging"));
|
||||||
_onWallHanging = StateChartState.Of(GetNode("StateChart/Root/Movement/OnWall/Hanging"));
|
_onWallHanging = StateChartState.Of(GetNode("StateChart/Root/Movement/OnWall/Hanging"));
|
||||||
@@ -629,6 +631,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
|
|
||||||
_onJumpFromWall.Taken += OnJumpFromWall;
|
_onJumpFromWall.Taken += OnJumpFromWall;
|
||||||
_onJumpFromWallFalling.Taken += OnJumpFromWall;
|
_onJumpFromWallFalling.Taken += OnJumpFromWall;
|
||||||
|
_onJumpFromWallRunning.Taken += OnJumpFromWall;
|
||||||
_onLeaveWallFromRun.Taken += OnLeaveWallFromRun;
|
_onLeaveWallFromRun.Taken += OnLeaveWallFromRun;
|
||||||
_onAirborneToGrounded.Taken += OnAirborneToGrounded;
|
_onAirborneToGrounded.Taken += OnAirborneToGrounded;
|
||||||
|
|
||||||
@@ -876,9 +879,9 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Going upwards, we stay simply airborne
|
// // Going upwards, we stay simply airborne
|
||||||
if (Velocity.AngleTo(Vector3.Up) < Math.PI / 4)
|
// if (Velocity.AngleTo(Vector3.Up) < Math.PI / 4)
|
||||||
return;
|
// return;
|
||||||
|
|
||||||
// Should we start a wall run
|
// Should we start a wall run
|
||||||
if (ShouldStartWallRun())
|
if (ShouldStartWallRun())
|
||||||
@@ -1188,15 +1191,19 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
}
|
}
|
||||||
public void OnWallDetected()
|
public void OnWallDetected()
|
||||||
{
|
{
|
||||||
if (!_onWall.Active)
|
// if (!_onWall.Active)
|
||||||
return;
|
// return;
|
||||||
|
|
||||||
var newWallNormal = WallHugSystem.WallHugNormal.UnwrapOr(Vector3.Up);
|
var newWallNormal = WallHugSystem.WallHugNormal.UnwrapOr(Vector3.Up);
|
||||||
if (newWallNormal.AngleTo(_wallHugStartNormal) > Mathf.Pi/4) return;
|
if (newWallNormal.AngleTo(_wallHugStartNormal) > Mathf.Pi/4 && _onWall.Active) return;
|
||||||
_wallHugStartNormal = newWallNormal;
|
_wallHugStartNormal = newWallNormal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private float _timeOnWall;
|
||||||
public void OnWallStarted()
|
public void OnWallStarted()
|
||||||
{
|
{
|
||||||
|
_timeOnWall = 0f;
|
||||||
if (_simpleDashCooldownTimer.IsStopped())
|
if (_simpleDashCooldownTimer.IsStopped())
|
||||||
_canDash = true;
|
_canDash = true;
|
||||||
else
|
else
|
||||||
@@ -1212,6 +1219,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
}
|
}
|
||||||
public void OnWallStopped()
|
public void OnWallStopped()
|
||||||
{
|
{
|
||||||
|
_timeOnWall = 0f;
|
||||||
}
|
}
|
||||||
public void OnLeaveWallFromRun()
|
public void OnLeaveWallFromRun()
|
||||||
{
|
{
|
||||||
@@ -1221,16 +1229,20 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
{
|
{
|
||||||
// _canDash = true;
|
// _canDash = true;
|
||||||
// _canDashAirborne = true;
|
// _canDashAirborne = true;
|
||||||
|
_timeOnWall += delta;
|
||||||
|
|
||||||
|
if (IsInputTowardsWall(_wallHugStartNormal))
|
||||||
WallHug(delta);
|
WallHug(delta);
|
||||||
if (ShouldStartWallRun())
|
else
|
||||||
{
|
MoveInAir(delta, IsGroundLike());
|
||||||
_playerState.SendEvent("wall_run");
|
// if (ShouldStartWallRun())
|
||||||
return;
|
// {
|
||||||
}
|
// _playerState.SendEvent("wall_run");
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
if (isOnFloorCustom())
|
if (isOnFloorCustom())
|
||||||
_playerState.SendEvent("grounded");
|
_playerState.SendEvent("grounded");
|
||||||
if (!WallHugSystem.IsWallHugging() || !IsInputTowardsWall(_wallHugStartNormal))
|
if (!WallHugSystem.IsWallHugging())
|
||||||
_playerState.SendEvent("start_falling");
|
_playerState.SendEvent("start_falling");
|
||||||
}
|
}
|
||||||
public void HandleWallHanging(float delta)
|
public void HandleWallHanging(float delta)
|
||||||
@@ -1252,6 +1264,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
{
|
{
|
||||||
// _canDash = false;
|
// _canDash = false;
|
||||||
// _canDashAirborne = false;
|
// _canDashAirborne = false;
|
||||||
|
_timeOnWall += delta;
|
||||||
|
|
||||||
// Find horizontal velocity projected on the current wall
|
// Find horizontal velocity projected on the current wall
|
||||||
var hvel = new Vector3(Velocity.X, 0, Velocity.Z);
|
var hvel = new Vector3(Velocity.X, 0, Velocity.Z);
|
||||||
@@ -1263,7 +1276,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
// Adapt vertical speed
|
// Adapt vertical speed
|
||||||
var verticalSpeed = Velocity.Y - WallRunAltitudeLossSpeed * delta;
|
var verticalSpeed = Velocity.Y - WallRunAltitudeLossSpeed * delta;
|
||||||
Velocity = finalHVel + Vector3.Up*verticalSpeed;
|
Velocity = finalHVel + Vector3.Up*verticalSpeed;
|
||||||
// Velocity *= 0.999f;
|
Velocity *= 0.999f;
|
||||||
|
|
||||||
_currentWallContactPoint = WallHugSystem.WallHugLocation.UnwrapOr(Vector3.Zero);
|
_currentWallContactPoint = WallHugSystem.WallHugLocation.UnwrapOr(Vector3.Zero);
|
||||||
|
|
||||||
@@ -1273,7 +1286,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
_playerState.SendEvent("grounded");
|
_playerState.SendEvent("grounded");
|
||||||
if (!WallHugSystem.IsWallHugging())
|
if (!WallHugSystem.IsWallHugging())
|
||||||
_playerState.SendEvent("start_falling");
|
_playerState.SendEvent("start_falling");
|
||||||
if (Velocity.Length() < WallRunSpeedThreshold / 2f)
|
if (!CanKeepWallRun())
|
||||||
_playerState.SendEvent("wall_hug");
|
_playerState.SendEvent("wall_hug");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1286,27 +1299,88 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
|
|
||||||
public bool ShouldStartWallRun()
|
public bool ShouldStartWallRun()
|
||||||
{
|
{
|
||||||
var wallNormal = WallHugSystem.WallHugNormal.UnwrapOr(Vector3.Zero);
|
if (_wallHugStartNormal.Length() < Mathf.Epsilon)
|
||||||
var isIndeedWall = wallNormal.Y < 0.1;
|
{
|
||||||
|
// GD.Print("No wall normal");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
var isIndeedWall = _wallHugStartNormal.Y < 0.1;
|
||||||
|
if (!isIndeedWall)
|
||||||
|
{
|
||||||
|
// GD.Print("Not a wall");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
var isThereInput = GetMoveInput().Length() > Mathf.Epsilon;
|
var isThereInput = GetMoveInput().Length() > Mathf.Epsilon;
|
||||||
|
if (!isThereInput)
|
||||||
|
{
|
||||||
|
// GD.Print("No input");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!IsInputForwardOrTowardsWall())
|
||||||
|
{
|
||||||
|
// GD.Print("Input isn't forward or towards wall");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
var canUseVelocity = Velocity.Length() > WallRunSpeedThreshold;
|
||||||
|
if (!canUseVelocity)
|
||||||
|
{
|
||||||
|
// GD.Print("Not enough speed");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
var hvel = new Vector3(Velocity.X, 0, Velocity.Z);
|
var hvel = new Vector3(Velocity.X, 0, Velocity.Z);
|
||||||
var hvelProjected = Velocity.Slide(_wallHugStartNormal);
|
var hvelProjected = hvel.Slide(_wallHugStartNormal);
|
||||||
var haveEnoughSpeed = hvelProjected.Length() > WallRunSpeedThreshold;
|
var haveEnoughSpeed = hvelProjected.Length() > WallRunSpeedThreshold;
|
||||||
var isCoplanarEnough = Math.Abs(Velocity.Dot(wallNormal)) < 0.3;
|
if (!haveEnoughSpeed)
|
||||||
var isGoingDownwards = Velocity.Dot(Vector3.Down) > 0.9;
|
{
|
||||||
var isLookingInDirectionOfRun = true; // hvelProjected.Dot(-HeadSystem.GetForwardHorizontalVector()) > 0.5;
|
// GD.Print("Not enough projected speed");
|
||||||
var shouldStart = haveEnoughSpeed && isThereInput && !isGoingDownwards && isIndeedWall && isCoplanarEnough && isLookingInDirectionOfRun;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
var debugText = "--------------\n";
|
var isCoplanarEnough = Math.Abs(Velocity.Normalized().Dot(_wallHugStartNormal)) < 0.9;
|
||||||
debugText += shouldStart ? "WALL RUN STARTED\n" : "NO WALL RUN\n";
|
if (!isCoplanarEnough)
|
||||||
debugText += $"Enough speed? {haveEnoughSpeed}\n";
|
{
|
||||||
debugText += $"Coplanar enough? {isCoplanarEnough}\n";
|
// GD.Print("Not coplanar enough");
|
||||||
debugText += $"Going downwards? {isGoingDownwards}\n";
|
return false;
|
||||||
debugText += $"Is looking in direction of run? {isLookingInDirectionOfRun}\n";
|
}
|
||||||
debugText += "--------------\n";
|
|
||||||
GD.Print(debugText);
|
|
||||||
|
|
||||||
return shouldStart;
|
var isGoingDownwards = Velocity.Normalized().Dot(Vector3.Down) > 0.7;
|
||||||
|
if (isGoingDownwards)
|
||||||
|
{
|
||||||
|
// GD.Print("Going down");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
var isLookingInDirectionOfRun = hvelProjected.Normalized().Dot(-HeadSystem.GetForwardHorizontalVector()) > 0.5;
|
||||||
|
if (!isLookingInDirectionOfRun)
|
||||||
|
{
|
||||||
|
// GD.Print("Not looking in direction of run");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsInputForwardOrTowardsWall()
|
||||||
|
{
|
||||||
|
return IsPlayerInputtingForward() || IsInputTowardsWall(_wallHugStartNormal);
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool CanKeepWallRun()
|
||||||
|
{
|
||||||
|
var isThereInput = GetMoveInput().Length() > Mathf.Epsilon;
|
||||||
|
if (!isThereInput) return false;
|
||||||
|
|
||||||
|
if (!IsInputForwardOrTowardsWall()) return false;
|
||||||
|
|
||||||
|
var haveEnoughSpeed = Velocity.Length() > WallRunSpeedThreshold;
|
||||||
|
if (!haveEnoughSpeed) return false;
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void WallHug(float delta)
|
public void WallHug(float delta)
|
||||||
@@ -1319,6 +1393,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
}
|
}
|
||||||
public void WallHang(float delta)
|
public void WallHang(float delta)
|
||||||
{
|
{
|
||||||
|
_timeOnWall += 1; // Consider we've already spent quite some time on wall
|
||||||
Velocity = Vector3.Zero;
|
Velocity = Vector3.Zero;
|
||||||
GlobalPosition = _wallHugStartLocation;
|
GlobalPosition = _wallHugStartLocation;
|
||||||
}
|
}
|
||||||
@@ -1366,10 +1441,14 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (WallHugSystem.IsWallHugging())
|
|
||||||
|
if (_onWall.Active) // Always allow jumping out of wall run and hang
|
||||||
{
|
{
|
||||||
_playerState.SendEvent("wall_jump");
|
_playerState.SendEvent("wall_jump");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Regular jump
|
||||||
_playerState.SendEvent("jump");
|
_playerState.SendEvent("jump");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1465,13 +1544,13 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
|
|
||||||
SetHorizontalVelocity(currentHorizontalVelocity + wallJumpHorizontalVelocity);
|
SetHorizontalVelocity(currentHorizontalVelocity + wallJumpHorizontalVelocity);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnJumpFromWall()
|
public void OnJumpFromWall()
|
||||||
{
|
{
|
||||||
if (!IsFacingWall() || (!_isWallJumpAvailable && IsFacingWall()))
|
if (!IsFacingWall() || (!_isWallJumpAvailable && IsFacingWall()) || _onWallRunning.Active)
|
||||||
{
|
|
||||||
ComputeJumpFromWallHSpeed(WallJumpStartVelocity);
|
ComputeJumpFromWallHSpeed(WallJumpStartVelocity);
|
||||||
}
|
|
||||||
|
|
||||||
|
// OnJumpStarted(DoubleJumpStartVelocity);
|
||||||
// Remove the ability to dash straight away so you cannot scale up the wall
|
// Remove the ability to dash straight away so you cannot scale up the wall
|
||||||
// _canDashAirborne = false;
|
// _canDashAirborne = false;
|
||||||
_airborneDashCooldownTimer.Start();
|
_airborneDashCooldownTimer.Start();
|
||||||
@@ -2243,6 +2322,9 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
private PhysicsDirectSpaceState3D _spaceState;
|
private PhysicsDirectSpaceState3D _spaceState;
|
||||||
public void StartDashAction(bool isParry)
|
public void StartDashAction(bool isParry)
|
||||||
{
|
{
|
||||||
|
if (isParry) HeadSystem.OnParry();
|
||||||
|
else HeadSystem.OnHit();
|
||||||
|
|
||||||
var streamName = isParry ? "parry" : "attacks";
|
var streamName = isParry ? "parry" : "attacks";
|
||||||
_audioStream!.SwitchToClipByName(streamName);
|
_audioStream!.SwitchToClipByName(streamName);
|
||||||
IsInvincible = true;
|
IsInvincible = true;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
[gd_scene format=3 uid="uid://b8aet6m4m2i83"]
|
[gd_scene format=3 uid="uid://b8aet6m4m2i83"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://bnqhh6b5iusam" path="res://scenes/tuto_trigger/tuto_trigger.gd" id="1_w8mpv"]
|
[ext_resource type="Script" uid="uid://bnqhh6b5iusam" path="res://scenes/tuto_trigger/tuto_trigger.gd" id="1_w8mpv"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dl73t0kxkaxp0" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_a_outline.svg" id="2_w8mpv"]
|
||||||
|
|
||||||
[sub_resource type="LabelSettings" id="LabelSettings_4vbx1"]
|
[sub_resource type="LabelSettings" id="LabelSettings_4vbx1"]
|
||||||
font_size = 30
|
font_size = 30
|
||||||
@@ -11,9 +12,9 @@ font_size = 30
|
|||||||
[node name="TutoTrigger" type="Area3D" unique_id=840713937]
|
[node name="TutoTrigger" type="Area3D" unique_id=840713937]
|
||||||
collision_layer = 0
|
collision_layer = 0
|
||||||
script = ExtResource("1_w8mpv")
|
script = ExtResource("1_w8mpv")
|
||||||
|
tuto_text = null
|
||||||
|
|
||||||
[node name="Control" type="Control" parent="." unique_id=1871566632]
|
[node name="Control" type="Control" parent="." unique_id=1871566632]
|
||||||
visible = false
|
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
@@ -44,16 +45,19 @@ theme_override_constants/separation = 20
|
|||||||
|
|
||||||
[node name="MultipleInputsContainer" type="HBoxContainer" parent="Control/PanelContainer/MarginContainer/HBoxContainer" unique_id=487996484]
|
[node name="MultipleInputsContainer" type="HBoxContainer" parent="Control/PanelContainer/MarginContainer/HBoxContainer" unique_id=487996484]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
|
visible = false
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_constants/separation = 0
|
theme_override_constants/separation = 0
|
||||||
|
|
||||||
[node name="FirstInput" type="TextureRect" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=490808492]
|
[node name="FirstInput" type="TextureRect" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=490808492]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
texture = ExtResource("2_w8mpv")
|
||||||
|
|
||||||
[node name="ComplexInputLabel" type="Label" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=103193503]
|
[node name="ComplexInputLabel" type="Label" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=103193503]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
text = "while airborne"
|
||||||
label_settings = SubResource("LabelSettings_4vbx1")
|
label_settings = SubResource("LabelSettings_4vbx1")
|
||||||
|
|
||||||
[node name="SecondInput" type="TextureRect" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=523697392]
|
[node name="SecondInput" type="TextureRect" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=523697392]
|
||||||
@@ -65,5 +69,14 @@ unique_name_in_owner = true
|
|||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
label_settings = SubResource("LabelSettings_g04tr")
|
label_settings = SubResource("LabelSettings_g04tr")
|
||||||
|
|
||||||
|
[node name="InputPrompt" type="RichTextLabel" parent="Control/PanelContainer/MarginContainer/HBoxContainer" unique_id=683811955]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
custom_minimum_size = Vector2(256, 0)
|
||||||
|
layout_mode = 2
|
||||||
|
text = "hello there"
|
||||||
|
fit_content = true
|
||||||
|
horizontal_alignment = 1
|
||||||
|
vertical_alignment = 1
|
||||||
|
|
||||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||||
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|
||||||
|
|||||||
@@ -1,37 +1,35 @@
|
|||||||
extends Area3D
|
extends Area3D
|
||||||
|
class_name TutoTrigger
|
||||||
|
|
||||||
@onready var control: Control = $Control
|
@export var input: GUIDEAction
|
||||||
|
@export var second_input: GUIDEAction = null
|
||||||
@onready var multiple_inputs_container: HBoxContainer = %MultipleInputsContainer
|
|
||||||
@onready var first_input: TextureRect = %FirstInput
|
|
||||||
@onready var complex_input_label: Label = %ComplexInputLabel
|
|
||||||
@onready var second_input: TextureRect = %SecondInput
|
|
||||||
@onready var tuto_label: Label = %TutoText
|
|
||||||
|
|
||||||
|
|
||||||
@export var first_input_texture: CompressedTexture2D
|
|
||||||
@export var second_input_texture: CompressedTexture2D
|
|
||||||
@export var complex_input_text: String
|
|
||||||
@export var tuto_text: String
|
@export var tuto_text: String
|
||||||
|
|
||||||
|
@onready var input_prompt: RichTextLabel = %InputPrompt
|
||||||
|
@onready var control: Control = $Control
|
||||||
|
|
||||||
|
var current_input_method = GlobalHelpers.GamepadDetectionEvent.GAMEPAD
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
tuto_label.text = tuto_text
|
control.visible = false
|
||||||
first_input.texture = first_input_texture
|
_on_input_mappings_changed()
|
||||||
second_input.texture = second_input_texture
|
|
||||||
complex_input_label.text = complex_input_text
|
|
||||||
|
|
||||||
if second_input_texture != null:
|
func _input(event: InputEvent) -> void:
|
||||||
complex_input_label.text = "+"
|
var event_gamepad = GlobalHelpers.is_event_gamepad(event)
|
||||||
|
if event_gamepad == GlobalHelpers.GamepadDetectionEvent.IRRELEVANT:
|
||||||
|
return
|
||||||
|
if current_input_method == event_gamepad:
|
||||||
|
return
|
||||||
|
|
||||||
if second_input_texture == null and complex_input_text.is_empty():
|
current_input_method = event_gamepad
|
||||||
complex_input_label.visible = false
|
_on_input_mappings_changed()
|
||||||
second_input.visible = false
|
|
||||||
|
func _on_input_mappings_changed():
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
func _on_body_entered(body: Node3D) -> void:
|
func _on_body_entered(body: Node3D) -> void:
|
||||||
control.visible = true
|
control.visible = true
|
||||||
|
|
||||||
|
|
||||||
func _on_body_exited(body: Node3D) -> void:
|
func _on_body_exited(body: Node3D) -> void:
|
||||||
control.visible = false
|
control.visible = false
|
||||||
|
|||||||
17
tools/global_helpers.gd
Normal file
17
tools/global_helpers.gd
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
extends Node
|
||||||
|
|
||||||
|
enum GamepadDetectionEvent {
|
||||||
|
GAMEPAD,
|
||||||
|
KEYBOARD,
|
||||||
|
IRRELEVANT
|
||||||
|
}
|
||||||
|
|
||||||
|
static func is_event_gamepad(event: InputEvent) -> GamepadDetectionEvent:
|
||||||
|
if event is InputEventKey || event is InputEventMouseButton:
|
||||||
|
return GamepadDetectionEvent.KEYBOARD
|
||||||
|
elif event is InputEventJoypadMotion:
|
||||||
|
if abs(event.axis_value) > 0.5:
|
||||||
|
return GamepadDetectionEvent.GAMEPAD
|
||||||
|
elif event is InputEventJoypadButton:
|
||||||
|
return GamepadDetectionEvent.GAMEPAD
|
||||||
|
return GamepadDetectionEvent.IRRELEVANT
|
||||||
1
tools/global_helpers.gd.uid
Normal file
1
tools/global_helpers.gd.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://dqcm83o8e66a2
|
||||||
Reference in New Issue
Block a user