Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 80306bd095 | |||
| 9207295a99 | |||
| 4474ba22fa | |||
| 6101406f45 | |||
| c792c98ad2 | |||
| 74876a9a5d | |||
| bbb5149184 | |||
| 9e39528b9a | |||
| 1d2290b025 | |||
| b9ae83cd92 | |||
| 759d972b6d |
@@ -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}
|
||||||
|
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -14,3 +14,5 @@
|
|||||||
|
|
||||||
# Imported translations (automatically generated from CSV files)
|
# Imported translations (automatically generated from CSV files)
|
||||||
*.translation
|
*.translation
|
||||||
|
|
||||||
|
.output.txt
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
|
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
|
||||||
<TestSessionTimeout>180000</TestSessionTimeout>
|
<TestSessionTimeout>180000</TestSessionTimeout>
|
||||||
<TreatNoTestsAsError>true</TreatNoTestsAsError>
|
<TreatNoTestsAsError>true</TreatNoTestsAsError>
|
||||||
<EnvironmentVariables>
|
|
||||||
<GODOT_BIN>d:\development\Godot_v4.5-stable_mono_win64\Godot_v4.5-stable_mono_win64.exe</GODOT_BIN>
|
|
||||||
</EnvironmentVariables>
|
|
||||||
</RunConfiguration>
|
</RunConfiguration>
|
||||||
|
|
||||||
<LoggerRunSettings>
|
<LoggerRunSettings>
|
||||||
@@ -33,7 +30,7 @@
|
|||||||
|
|
||||||
<GdUnit4>
|
<GdUnit4>
|
||||||
<!-- Additional Godot runtime parameters. These are passed to the Godot executable when running tests.-->
|
<!-- Additional Godot runtime parameters. These are passed to the Godot executable when running tests.-->
|
||||||
<Parameters>"--verbose"</Parameters>
|
<Parameters>"--verbose --headless"</Parameters>
|
||||||
|
|
||||||
<!-- Controls the display name format of test cases in the test results.
|
<!-- Controls the display name format of test cases in the test results.
|
||||||
Allowed values:
|
Allowed values:
|
||||||
|
|||||||
@@ -5,139 +5,153 @@
|
|||||||
<RootNamespace>Movementtests</RootNamespace>
|
<RootNamespace>Movementtests</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include=".runsettings"/>
|
<Content Include=".runsettings" />
|
||||||
<Content Include="export_presets.cfg"/>
|
<Content Include="export_presets.cfg" />
|
||||||
<Content Include="menus\assets\git_logo\Git-Logo-2Color.png"/>
|
<Content Include="menus\assets\git_logo\Git-Logo-2Color.png" />
|
||||||
<Content Include="menus\assets\git_logo\Git-Logo-2Color.png.import"/>
|
<Content Include="menus\assets\git_logo\Git-Logo-2Color.png.import" />
|
||||||
<Content Include="menus\assets\git_logo\LICENSE.txt"/>
|
<Content Include="menus\assets\git_logo\LICENSE.txt" />
|
||||||
<Content Include="menus\assets\godot_engine_logo\LICENSE.txt"/>
|
<Content Include="menus\assets\godot_engine_logo\LICENSE.txt" />
|
||||||
<Content Include="menus\assets\godot_engine_logo\logo_vertical_color_dark.png"/>
|
<Content Include="menus\assets\godot_engine_logo\logo_vertical_color_dark.png" />
|
||||||
<Content Include="menus\assets\godot_engine_logo\logo_vertical_color_dark.png.import"/>
|
<Content Include="menus\assets\godot_engine_logo\logo_vertical_color_dark.png.import" />
|
||||||
<Content Include="menus\assets\icon.png"/>
|
<Content Include="menus\assets\icon.png" />
|
||||||
<Content Include="menus\assets\icon.png.import"/>
|
<Content Include="menus\assets\icon.png.import" />
|
||||||
<Content Include="menus\ATTRIBUTION.md"/>
|
<Content Include="menus\ATTRIBUTION.md" />
|
||||||
<Content Include="menus\resources\themes\expedition.tres"/>
|
<Content Include="menus\resources\themes\expedition.tres" />
|
||||||
<Content Include="menus\resources\themes\gravity.tres"/>
|
<Content Include="menus\resources\themes\gravity.tres" />
|
||||||
<Content Include="menus\resources\themes\grow.tres"/>
|
<Content Include="menus\resources\themes\grow.tres" />
|
||||||
<Content Include="menus\resources\themes\lab.tres"/>
|
<Content Include="menus\resources\themes\lab.tres" />
|
||||||
<Content Include="menus\resources\themes\lore.tres"/>
|
<Content Include="menus\resources\themes\lore.tres" />
|
||||||
<Content Include="menus\resources\themes\steal_this_theme.tres"/>
|
<Content Include="menus\resources\themes\steal_this_theme.tres" />
|
||||||
<Content Include="menus\scenes\credits\scrollable_credits.gd"/>
|
<Content Include="menus\scenes\credits\scrollable_credits.gd" />
|
||||||
<Content Include="menus\scenes\credits\scrollable_credits.gd.uid"/>
|
<Content Include="menus\scenes\credits\scrollable_credits.gd.uid" />
|
||||||
<Content Include="menus\scenes\credits\scrollable_credits.tscn"/>
|
<Content Include="menus\scenes\credits\scrollable_credits.tscn" />
|
||||||
<Content Include="menus\scenes\credits\scrolling_credits.gd"/>
|
<Content Include="menus\scenes\credits\scrolling_credits.gd" />
|
||||||
<Content Include="menus\scenes\credits\scrolling_credits.gd.uid"/>
|
<Content Include="menus\scenes\credits\scrolling_credits.gd.uid" />
|
||||||
<Content Include="menus\scenes\credits\scrolling_credits.tscn"/>
|
<Content Include="menus\scenes\credits\scrolling_credits.tscn" />
|
||||||
<Content Include="menus\scenes\end_credits\end_credits.gd"/>
|
<Content Include="menus\scenes\end_credits\end_credits.gd" />
|
||||||
<Content Include="menus\scenes\end_credits\end_credits.gd.uid"/>
|
<Content Include="menus\scenes\end_credits\end_credits.gd.uid" />
|
||||||
<Content Include="menus\scenes\end_credits\end_credits.tscn"/>
|
<Content Include="menus\scenes\end_credits\end_credits.tscn" />
|
||||||
<Content Include="menus\scenes\game_scene\configurable_sub_viewport.gd"/>
|
<Content Include="menus\scenes\game_scene\configurable_sub_viewport.gd" />
|
||||||
<Content Include="menus\scenes\game_scene\configurable_sub_viewport.gd.uid"/>
|
<Content Include="menus\scenes\game_scene\configurable_sub_viewport.gd.uid" />
|
||||||
<Content Include="menus\scenes\game_scene\game_ui.tscn"/>
|
<Content Include="menus\scenes\game_scene\game_ui.tscn" />
|
||||||
<Content Include="menus\scenes\game_scene\input_display_label.gd"/>
|
<Content Include="menus\scenes\game_scene\input_display_label.gd" />
|
||||||
<Content Include="menus\scenes\game_scene\input_display_label.gd.uid"/>
|
<Content Include="menus\scenes\game_scene\input_display_label.gd.uid" />
|
||||||
<Content Include="menus\scenes\game_scene\levels\level.gd"/>
|
<Content Include="menus\scenes\game_scene\levels\level.gd" />
|
||||||
<Content Include="menus\scenes\game_scene\levels\level.gd.uid"/>
|
<Content Include="menus\scenes\game_scene\levels\level.gd.uid" />
|
||||||
<Content Include="menus\scenes\game_scene\levels\level_1.tscn"/>
|
<Content Include="menus\scenes\game_scene\levels\level_1.tscn" />
|
||||||
<Content Include="menus\scenes\game_scene\levels\level_2.tscn"/>
|
<Content Include="menus\scenes\game_scene\levels\level_2.tscn" />
|
||||||
<Content Include="menus\scenes\game_scene\levels\level_3.tscn"/>
|
<Content Include="menus\scenes\game_scene\levels\level_3.tscn" />
|
||||||
<Content Include="menus\scenes\game_scene\tutorials\tutorial_1.tscn"/>
|
<Content Include="menus\scenes\game_scene\tutorials\tutorial_1.tscn" />
|
||||||
<Content Include="menus\scenes\game_scene\tutorials\tutorial_2.tscn"/>
|
<Content Include="menus\scenes\game_scene\tutorials\tutorial_2.tscn" />
|
||||||
<Content Include="menus\scenes\game_scene\tutorials\tutorial_3.tscn"/>
|
<Content Include="menus\scenes\game_scene\tutorials\tutorial_3.tscn" />
|
||||||
<Content Include="menus\scenes\game_scene\tutorial_manager.gd"/>
|
<Content Include="menus\scenes\game_scene\tutorial_manager.gd" />
|
||||||
<Content Include="menus\scenes\game_scene\tutorial_manager.gd.uid"/>
|
<Content Include="menus\scenes\game_scene\tutorial_manager.gd.uid" />
|
||||||
<Content Include="menus\scenes\loading_screen\level_loading_screen.tscn"/>
|
<Content Include="menus\scenes\loading_screen\level_loading_screen.tscn" />
|
||||||
<Content Include="menus\scenes\loading_screen\loading_screen.gd"/>
|
<Content Include="menus\scenes\loading_screen\loading_screen.gd" />
|
||||||
<Content Include="menus\scenes\loading_screen\loading_screen.gd.uid"/>
|
<Content Include="menus\scenes\loading_screen\loading_screen.gd.uid" />
|
||||||
<Content Include="menus\scenes\loading_screen\loading_screen.tscn"/>
|
<Content Include="menus\scenes\loading_screen\loading_screen.tscn" />
|
||||||
<Content Include="menus\scenes\loading_screen\loading_screen_with_shader_caching.gd"/>
|
<Content Include="menus\scenes\loading_screen\loading_screen_with_shader_caching.gd" />
|
||||||
<Content Include="menus\scenes\loading_screen\loading_screen_with_shader_caching.gd.uid"/>
|
<Content Include="menus\scenes\loading_screen\loading_screen_with_shader_caching.gd.uid" />
|
||||||
<Content Include="menus\scenes\loading_screen\loading_screen_with_shader_caching.tscn"/>
|
<Content Include="menus\scenes\loading_screen\loading_screen_with_shader_caching.tscn" />
|
||||||
<Content Include="menus\scenes\menus\level_select_menu\level_select_menu.gd"/>
|
<Content Include="menus\scenes\menus\level_select_menu\level_select_menu.gd" />
|
||||||
<Content Include="menus\scenes\menus\level_select_menu\level_select_menu.gd.uid"/>
|
<Content Include="menus\scenes\menus\level_select_menu\level_select_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\level_select_menu\level_select_menu.tscn"/>
|
<Content Include="menus\scenes\menus\level_select_menu\level_select_menu.tscn" />
|
||||||
<Content Include="menus\scenes\menus\main_menu\main_menu.gd"/>
|
<Content Include="menus\scenes\menus\main_menu\main_menu.gd" />
|
||||||
<Content Include="menus\scenes\menus\main_menu\main_menu.gd.uid"/>
|
<Content Include="menus\scenes\menus\main_menu\main_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\main_menu\main_menu.tscn"/>
|
<Content Include="menus\scenes\menus\main_menu\main_menu.tscn" />
|
||||||
<Content Include="menus\scenes\menus\main_menu\main_menu_with_animations.gd"/>
|
<Content Include="menus\scenes\menus\main_menu\main_menu_with_animations.gd" />
|
||||||
<Content Include="menus\scenes\menus\main_menu\main_menu_with_animations.gd.uid"/>
|
<Content Include="menus\scenes\menus\main_menu\main_menu_with_animations.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\main_menu\main_menu_with_animations.tscn"/>
|
<Content Include="menus\scenes\menus\main_menu\main_menu_with_animations.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\audio\audio_input_option_control.gd"/>
|
<Content Include="menus\scenes\menus\options_menu\audio\audio_input_option_control.gd" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\audio\audio_input_option_control.gd.uid"/>
|
<Content Include="menus\scenes\menus\options_menu\audio\audio_input_option_control.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\audio\audio_input_option_control.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\audio\audio_input_option_control.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\audio\audio_options_menu.gd"/>
|
<Content Include="menus\scenes\menus\options_menu\audio\audio_options_menu.gd" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\audio\audio_options_menu.gd.uid"/>
|
<Content Include="menus\scenes\menus\options_menu\audio\audio_options_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\audio\audio_options_menu.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\audio\audio_options_menu.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\game\game_options_menu.gd"/>
|
<Content Include="menus\scenes\menus\options_menu\game\game_options_menu.gd" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\game\game_options_menu.gd.uid"/>
|
<Content Include="menus\scenes\menus\options_menu\game\game_options_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\game\game_options_menu.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\game\game_options_menu.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\game\reset_game_control\reset_game_control.gd"/>
|
<Content Include="menus\scenes\menus\options_menu\game\reset_game_control\reset_game_control.gd" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\game\reset_game_control\reset_game_control.gd.uid"/>
|
<Content Include="menus\scenes\menus\options_menu\game\reset_game_control\reset_game_control.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\game\reset_game_control\reset_game_control.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\game\reset_game_control\reset_game_control.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\input\input_extras_menu.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\input\input_extras_menu.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\input\input_options_menu.gd"/>
|
<Content Include="menus\scenes\menus\options_menu\input\input_options_menu.gd" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\input\input_options_menu.gd.uid"/>
|
<Content Include="menus\scenes\menus\options_menu\input\input_options_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\input\input_options_menu.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\input\input_options_menu.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\input\input_options_menu_with_mouse_sensitivity.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\input\input_options_menu_with_mouse_sensitivity.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\master_options_menu.gd"/>
|
<Content Include="menus\scenes\menus\options_menu\master_options_menu.gd" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\master_options_menu.gd.uid"/>
|
<Content Include="menus\scenes\menus\options_menu\master_options_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\master_options_menu.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\master_options_menu.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\master_options_menu_with_tabs.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\master_options_menu_with_tabs.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\mini_options_menu.gd"/>
|
<Content Include="menus\scenes\menus\options_menu\mini_options_menu.gd" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\mini_options_menu.gd.uid"/>
|
<Content Include="menus\scenes\menus\options_menu\mini_options_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\mini_options_menu.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\mini_options_menu.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\mini_options_menu_with_reset.gd"/>
|
<Content Include="menus\scenes\menus\options_menu\mini_options_menu_with_reset.gd" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\mini_options_menu_with_reset.gd.uid"/>
|
<Content Include="menus\scenes\menus\options_menu\mini_options_menu_with_reset.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\mini_options_menu_with_reset.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\mini_options_menu_with_reset.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\video\video_options_menu.gd"/>
|
<Content Include="menus\scenes\menus\options_menu\video\video_options_menu.gd" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\video\video_options_menu.gd.uid"/>
|
<Content Include="menus\scenes\menus\options_menu\video\video_options_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\video\video_options_menu.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\video\video_options_menu.tscn" />
|
||||||
<Content Include="menus\scenes\menus\options_menu\video\video_options_menu_with_extras.tscn"/>
|
<Content Include="menus\scenes\menus\options_menu\video\video_options_menu_with_extras.tscn" />
|
||||||
<Content Include="menus\scenes\opening\opening.gd"/>
|
<Content Include="menus\scenes\opening\opening.gd" />
|
||||||
<Content Include="menus\scenes\opening\opening.gd.uid"/>
|
<Content Include="menus\scenes\opening\opening.gd.uid" />
|
||||||
<Content Include="menus\scenes\opening\opening.tscn"/>
|
<Content Include="menus\scenes\opening\opening.tscn" />
|
||||||
<Content Include="menus\scenes\opening\opening_with_logo.tscn"/>
|
<Content Include="menus\scenes\opening\opening_with_logo.tscn" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\game_won_menu.gd"/>
|
<Content Include="menus\scenes\overlaid_menus\game_won_menu.gd" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\game_won_menu.gd.uid"/>
|
<Content Include="menus\scenes\overlaid_menus\game_won_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\game_won_menu.tscn"/>
|
<Content Include="menus\scenes\overlaid_menus\game_won_menu.tscn" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\level_lost_menu.gd"/>
|
<Content Include="menus\scenes\overlaid_menus\level_lost_menu.gd" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\level_lost_menu.gd.uid"/>
|
<Content Include="menus\scenes\overlaid_menus\level_lost_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\level_lost_menu.tscn"/>
|
<Content Include="menus\scenes\overlaid_menus\level_lost_menu.tscn" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\level_won_menu.gd"/>
|
<Content Include="menus\scenes\overlaid_menus\level_won_menu.gd" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\level_won_menu.gd.uid"/>
|
<Content Include="menus\scenes\overlaid_menus\level_won_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\level_won_menu.tscn"/>
|
<Content Include="menus\scenes\overlaid_menus\level_won_menu.tscn" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\mini_options_overlaid_menu.tscn"/>
|
<Content Include="menus\scenes\overlaid_menus\mini_options_overlaid_menu.tscn" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\overlaid_menu.gd"/>
|
<Content Include="menus\scenes\overlaid_menus\overlaid_menu.gd" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\overlaid_menu.gd.uid"/>
|
<Content Include="menus\scenes\overlaid_menus\overlaid_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\overlaid_menu.tscn"/>
|
<Content Include="menus\scenes\overlaid_menus\overlaid_menu.tscn" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\overlaid_menu_container.gd"/>
|
<Content Include="menus\scenes\overlaid_menus\overlaid_menu_container.gd" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\overlaid_menu_container.gd.uid"/>
|
<Content Include="menus\scenes\overlaid_menus\overlaid_menu_container.gd.uid" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\overlaid_menu_container.tscn"/>
|
<Content Include="menus\scenes\overlaid_menus\overlaid_menu_container.tscn" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\pause_menu.gd"/>
|
<Content Include="menus\scenes\overlaid_menus\pause_menu.gd" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\pause_menu.gd.uid"/>
|
<Content Include="menus\scenes\overlaid_menus\pause_menu.gd.uid" />
|
||||||
<Content Include="menus\scenes\overlaid_menus\pause_menu.tscn"/>
|
<Content Include="menus\scenes\overlaid_menus\pause_menu.tscn" />
|
||||||
<Content Include="menus\scripts\game_state.gd"/>
|
<Content Include="menus\scripts\game_state.gd" />
|
||||||
<Content Include="menus\scripts\game_state.gd.uid"/>
|
<Content Include="menus\scripts\game_state.gd.uid" />
|
||||||
<Content Include="menus\scripts\level_list_and_state_manager.gd"/>
|
<Content Include="menus\scripts\level_list_and_state_manager.gd" />
|
||||||
<Content Include="menus\scripts\level_list_and_state_manager.gd.uid"/>
|
<Content Include="menus\scripts\level_list_and_state_manager.gd.uid" />
|
||||||
<Content Include="menus\scripts\level_state.gd"/>
|
<Content Include="menus\scripts\level_state.gd" />
|
||||||
<Content Include="menus\scripts\level_state.gd.uid"/>
|
<Content Include="menus\scripts\level_state.gd.uid" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="addons\"/>
|
<Folder Include="addons\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="RustyOptions" Version="0.10.1"/>
|
<PackageReference Include="RustyOptions" Version="0.10.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<Import Project="addons/forge/Forge.props" />
|
||||||
|
|
||||||
|
<!-- XUnit -->
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Using Include="Xunit" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="xunit.v3.mtp-v2" Version="3.2.2" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- gdUnit4 package dependencies -->
|
<!-- gdUnit4 package dependencies -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0"/>
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
|
||||||
<PackageReference Include="gdUnit4.api" Version="5.1.0-rc3"/>
|
<PackageReference Include="gdUnit4.api" Version="5.1.0-rc3" />
|
||||||
<PackageReference Include="gdUnit4.test.adapter" Version="3.0.0"/>
|
<PackageReference Include="gdUnit4.test.adapter" Version="3.0.0" />
|
||||||
<PackageReference Include="gdUnit4.analyzers" Version="1.0.0">
|
<PackageReference Include="gdUnit4.analyzers" Version="1.0.0">
|
||||||
<PrivateAssets>none</PrivateAssets>
|
<PrivateAssets>none</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="addons/forge/Forge.props"/>
|
|
||||||
</Project>
|
</Project>
|
||||||
@@ -5,6 +5,7 @@
|
|||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANode_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003F716d154fef5cbe863cd637bd32beda6e3cec5f12e8fed2dc5b2d8149a0d558ab_003FNode_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANode_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003F716d154fef5cbe863cd637bd32beda6e3cec5f12e8fed2dc5b2d8149a0d558ab_003FNode_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANode_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003Fdf73a4db74df89d59655c5fb6326406f47fbfa9af1fa81518fe0a07c49d34133_003FNode_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANode_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003Fdf73a4db74df89d59655c5fb6326406f47fbfa9af1fa81518fe0a07c49d34133_003FNode_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ASceneTree_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003F8d6960554e939a669841b1ece03d27df4ab42f92bb80be3767eaec8cdaccf84b_003FSceneTree_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ASceneTree_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003F8d6960554e939a669841b1ece03d27df4ab42f92bb80be3767eaec8cdaccf84b_003FSceneTree_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
|
||||||
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=dd9a7ac6_002Dbb9b_002D4001_002Db145_002D15e6509b7e78/@EntryIndexedValue"><SessionState ContinuousTestingMode="0" IsActive="True" Name="All tests from Solution" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session">
|
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=dd9a7ac6_002Dbb9b_002D4001_002Db145_002D15e6509b7e78/@EntryIndexedValue"><SessionState ContinuousTestingMode="0" IsActive="True" Name="All tests from Solution" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session">
|
||||||
<Solution />
|
<Solution />
|
||||||
</SessionState></s:String>
|
</SessionState></s:String>
|
||||||
|
|||||||
28
agents.md
Normal file
28
agents.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
### Project Overview: Godot C# Movement Tests
|
||||||
|
This project is a high-performance 3D character controller for Godot 4.x using C# 13 and .NET 9. It focuses on modular movement systems (Dash, Mantle, Stairs) and robust combat mechanics (Damage, Health, Knockback) decoupled through interfaces.
|
||||||
|
|
||||||
|
### Core Architecture
|
||||||
|
- **Modular Systems**: The `PlayerController.cs` acts as a central hub for multiple specialized "Systems" (e.g., `DashSystem`, `MantleSystem`, `HeadSystem`, `StairsSystem`).
|
||||||
|
- **State Management**: Uses `GodotStateCharts` for complex movement and action states. Look for state transitions and triggers within the system scripts.
|
||||||
|
- **Interface-Driven Design**: Located in `/interfaces/`, these define how objects interact (e.g., `IDamageable`, `IHealthable`, `IKnockbackable`). Always implement these interfaces for new interactable entities.
|
||||||
|
- **Node Composition**: Most systems are attached to the `PlayerController` scene as child nodes and initialized via their respective `Init()` methods or exported fields.
|
||||||
|
|
||||||
|
### Key Directories
|
||||||
|
- `/scenes/player_controller/`: Contains the main player scene, the central `PlayerController.cs`, and its sub-systems.
|
||||||
|
- `/scenes/player_controller/components/`: Modular logic for specific features like Dash, Mantle, and Weapons.
|
||||||
|
- `/interfaces/`: Core C# interfaces and shared records (e.g., `DamageRecord`, `HealthChangedRecord`).
|
||||||
|
- `/tests/`: Automated unit and integration tests using `GdUnit4` and `xUnit`.
|
||||||
|
|
||||||
|
### Coding Standards & Idioms
|
||||||
|
- **C# 13 & .NET 9**: Use modern C# features (records, primary constructors, collection expressions).
|
||||||
|
- **Godot Partial Classes**: All Godot scripts must be `partial` and use `[GlobalClass]` where appropriate for editor visibility.
|
||||||
|
- **RustyOptions**: The project uses `RustyOptions` for safer null handling and result types (`Option<T>`, `Result<T, E>`).
|
||||||
|
- **Signals**: Use `[Signal]` and the `EventHandler` pattern for Godot signals.
|
||||||
|
- **Dependency Injection**: Systems are typically assigned to fields in `PlayerController` via the editor or `GetNode<T>()` in `_Ready()`.
|
||||||
|
|
||||||
|
### LLM Interaction Tips
|
||||||
|
1. **Partial Classes**: When suggesting changes to `PlayerController.cs` or systems, remember they are `partial`. Large files like `PlayerController.cs` (2500+ lines) are often split or contain many regions.
|
||||||
|
2. **Node Hierarchy**: Always check `PlayerController.tscn` or system scenes (`head_system.tscn`) when dealing with node references (`GetNode`).
|
||||||
|
3. **GdUnit4**: For testing, follow the pattern in `tests/PlayerMovementTest.cs`. Use `ISceneRunner` to simulate inputs and await frames/milliseconds.
|
||||||
|
4. **Vector Operations**: Use Godot's built-in `Vector3` methods for movement logic. The project often uses `GlobalPosition` and `DirectionTo`.
|
||||||
|
5. **Boilerplate**: When creating new systems, mirror the `Init()` and `_PhysicsProcess` patterns found in existing systems like `DashSystem.cs` or `MantleSystem.cs`.
|
||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://crw70luu8rge"
|
uid="uid://crw70luu8rge"
|
||||||
path="res://.godot/imported/keyboard_arrows_up_outline.svg-aafaf4b2d7e165925a5a6f57129acf05.ctex"
|
path.s3tc="res://.godot/imported/keyboard_arrows_up_outline.svg-aafaf4b2d7e165925a5a6f57129acf05.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/keyboard_arrows_up_outline.svg-aafaf4b2d7e165925a5a6f57129acf05.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_arrows_up_outline.svg"
|
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_arrows_up_outline.svg"
|
||||||
dest_files=["res://.godot/imported/keyboard_arrows_up_outline.svg-aafaf4b2d7e165925a5a6f57129acf05.ctex"]
|
dest_files=["res://.godot/imported/keyboard_arrows_up_outline.svg-aafaf4b2d7e165925a5a6f57129acf05.s3tc.ctex", "res://.godot/imported/keyboard_arrows_up_outline.svg-aafaf4b2d7e165925a5a6f57129acf05.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://cseyilgg2iwnk"
|
uid="uid://cseyilgg2iwnk"
|
||||||
path="res://.godot/imported/keyboard_ctrl_outline.svg-4cd77d73fedb6d8a91f633c33a63524c.ctex"
|
path.s3tc="res://.godot/imported/keyboard_ctrl_outline.svg-4cd77d73fedb6d8a91f633c33a63524c.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/keyboard_ctrl_outline.svg-4cd77d73fedb6d8a91f633c33a63524c.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_ctrl_outline.svg"
|
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_ctrl_outline.svg"
|
||||||
dest_files=["res://.godot/imported/keyboard_ctrl_outline.svg-4cd77d73fedb6d8a91f633c33a63524c.ctex"]
|
dest_files=["res://.godot/imported/keyboard_ctrl_outline.svg-4cd77d73fedb6d8a91f633c33a63524c.s3tc.ctex", "res://.godot/imported/keyboard_ctrl_outline.svg-4cd77d73fedb6d8a91f633c33a63524c.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://ybwqghk70io"
|
uid="uid://ybwqghk70io"
|
||||||
path="res://.godot/imported/keyboard_f_outline.svg-b058b2f7ef3b61453846db2e3d1f7f04.ctex"
|
path.s3tc="res://.godot/imported/keyboard_f_outline.svg-b058b2f7ef3b61453846db2e3d1f7f04.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/keyboard_f_outline.svg-b058b2f7ef3b61453846db2e3d1f7f04.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_f_outline.svg"
|
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_f_outline.svg"
|
||||||
dest_files=["res://.godot/imported/keyboard_f_outline.svg-b058b2f7ef3b61453846db2e3d1f7f04.ctex"]
|
dest_files=["res://.godot/imported/keyboard_f_outline.svg-b058b2f7ef3b61453846db2e3d1f7f04.s3tc.ctex", "res://.godot/imported/keyboard_f_outline.svg-b058b2f7ef3b61453846db2e3d1f7f04.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://bsxtadecl3657"
|
uid="uid://bsxtadecl3657"
|
||||||
path="res://.godot/imported/keyboard_shift_outline.svg-b2954174b97e4b2e82a8cdd72f79d4d5.ctex"
|
path.s3tc="res://.godot/imported/keyboard_shift_outline.svg-b2954174b97e4b2e82a8cdd72f79d4d5.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/keyboard_shift_outline.svg-b2954174b97e4b2e82a8cdd72f79d4d5.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_shift_outline.svg"
|
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_shift_outline.svg"
|
||||||
dest_files=["res://.godot/imported/keyboard_shift_outline.svg-b2954174b97e4b2e82a8cdd72f79d4d5.ctex"]
|
dest_files=["res://.godot/imported/keyboard_shift_outline.svg-b2954174b97e4b2e82a8cdd72f79d4d5.s3tc.ctex", "res://.godot/imported/keyboard_shift_outline.svg-b2954174b97e4b2e82a8cdd72f79d4d5.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://b1rhan716dxw0"
|
uid="uid://b1rhan716dxw0"
|
||||||
path="res://.godot/imported/keyboard_space_outline.svg-53ff196166ac0ee9f4b558e0b10199b9.ctex"
|
path.s3tc="res://.godot/imported/keyboard_space_outline.svg-53ff196166ac0ee9f4b558e0b10199b9.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/keyboard_space_outline.svg-53ff196166ac0ee9f4b558e0b10199b9.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_space_outline.svg"
|
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_space_outline.svg"
|
||||||
dest_files=["res://.godot/imported/keyboard_space_outline.svg-53ff196166ac0ee9f4b558e0b10199b9.ctex"]
|
dest_files=["res://.godot/imported/keyboard_space_outline.svg-53ff196166ac0ee9f4b558e0b10199b9.s3tc.ctex", "res://.godot/imported/keyboard_space_outline.svg-53ff196166ac0ee9f4b558e0b10199b9.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://bhlrmh5v3fa2n"
|
uid="uid://bhlrmh5v3fa2n"
|
||||||
path="res://.godot/imported/mouse_left_outline.svg-82caa661d58d820c50e229162b6f0b05.ctex"
|
path.s3tc="res://.godot/imported/mouse_left_outline.svg-82caa661d58d820c50e229162b6f0b05.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/mouse_left_outline.svg-82caa661d58d820c50e229162b6f0b05.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/mouse_left_outline.svg"
|
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/mouse_left_outline.svg"
|
||||||
dest_files=["res://.godot/imported/mouse_left_outline.svg-82caa661d58d820c50e229162b6f0b05.ctex"]
|
dest_files=["res://.godot/imported/mouse_left_outline.svg-82caa661d58d820c50e229162b6f0b05.s3tc.ctex", "res://.godot/imported/mouse_left_outline.svg-82caa661d58d820c50e229162b6f0b05.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dlt8uv1mtq4a0"
|
uid="uid://dlt8uv1mtq4a0"
|
||||||
path="res://.godot/imported/mouse_right.svg-66cb44804e2971b729668b5953fcbd42.ctex"
|
path.s3tc="res://.godot/imported/mouse_right.svg-66cb44804e2971b729668b5953fcbd42.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/mouse_right.svg-66cb44804e2971b729668b5953fcbd42.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/mouse_right.svg"
|
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/mouse_right.svg"
|
||||||
dest_files=["res://.godot/imported/mouse_right.svg-66cb44804e2971b729668b5953fcbd42.ctex"]
|
dest_files=["res://.godot/imported/mouse_right.svg-66cb44804e2971b729668b5953fcbd42.s3tc.ctex", "res://.godot/imported/mouse_right.svg-66cb44804e2971b729668b5953fcbd42.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dx2mk8qd6g8uh"
|
uid="uid://dx2mk8qd6g8uh"
|
||||||
path="res://.godot/imported/mouse_right_outline.svg-054f7e0a0342193a0b801bac0edb20cf.ctex"
|
path.s3tc="res://.godot/imported/mouse_right_outline.svg-054f7e0a0342193a0b801bac0edb20cf.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/mouse_right_outline.svg-054f7e0a0342193a0b801bac0edb20cf.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/mouse_right_outline.svg"
|
source_file="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/mouse_right_outline.svg"
|
||||||
dest_files=["res://.godot/imported/mouse_right_outline.svg-054f7e0a0342193a0b801bac0edb20cf.ctex"]
|
dest_files=["res://.godot/imported/mouse_right_outline.svg-054f7e0a0342193a0b801bac0edb20cf.s3tc.ctex", "res://.godot/imported/mouse_right_outline.svg-054f7e0a0342193a0b801bac0edb20cf.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://cywwtfvguv5e6"
|
uid="uid://cywwtfvguv5e6"
|
||||||
path="res://.godot/imported/xbox_button_back_icon_outline.svg-2773343c084e1613d54e400e515d6edb.ctex"
|
path.s3tc="res://.godot/imported/xbox_button_back_icon_outline.svg-2773343c084e1613d54e400e515d6edb.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/xbox_button_back_icon_outline.svg-2773343c084e1613d54e400e515d6edb.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_back_icon_outline.svg"
|
source_file="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_back_icon_outline.svg"
|
||||||
dest_files=["res://.godot/imported/xbox_button_back_icon_outline.svg-2773343c084e1613d54e400e515d6edb.ctex"]
|
dest_files=["res://.godot/imported/xbox_button_back_icon_outline.svg-2773343c084e1613d54e400e515d6edb.s3tc.ctex", "res://.godot/imported/xbox_button_back_icon_outline.svg-2773343c084e1613d54e400e515d6edb.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
@@ -3,19 +3,21 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://2h3y7dj0iwet"
|
uid="uid://2h3y7dj0iwet"
|
||||||
path="res://.godot/imported/xbox_stick_l_up.svg-975fb97f7402ac676369ec43294b0bdd.ctex"
|
path.s3tc="res://.godot/imported/xbox_stick_l_up.svg-975fb97f7402ac676369ec43294b0bdd.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/xbox_stick_l_up.svg-975fb97f7402ac676369ec43294b0bdd.etc2.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_stick_l_up.svg"
|
source_file="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_stick_l_up.svg"
|
||||||
dest_files=["res://.godot/imported/xbox_stick_l_up.svg-975fb97f7402ac676369ec43294b0bdd.ctex"]
|
dest_files=["res://.godot/imported/xbox_stick_l_up.svg-975fb97f7402ac676369ec43294b0bdd.s3tc.ctex", "res://.godot/imported/xbox_stick_l_up.svg-975fb97f7402ac676369ec43294b0bdd.etc2.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/uastc_level=0
|
compress/uastc_level=0
|
||||||
@@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
|
|||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -37,7 +39,7 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
||||||
editor/scale_with_editor_scale=false
|
editor/scale_with_editor_scale=false
|
||||||
editor/convert_colors_with_editor_theme=false
|
editor/convert_colors_with_editor_theme=false
|
||||||
|
|||||||
14
gdunit4_testadapter_v5/GdUnit4TestRunnerScene.cs
Normal file
14
gdunit4_testadapter_v5/GdUnit4TestRunnerScene.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// Copyright (c) 2025 Mike Schulze
|
||||||
|
// MIT License - See LICENSE file in the repository root for full license text
|
||||||
|
|
||||||
|
// ReSharper disable once CheckNamespace
|
||||||
|
namespace GdUnit4.TestRunner;
|
||||||
|
|
||||||
|
using Core.Runners;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The GdUnit4Net test runner scene.
|
||||||
|
/// </summary>
|
||||||
|
public partial class GdUnit4TestRunnerScene : GdUnit4TestRunnerSceneCore
|
||||||
|
{
|
||||||
|
}
|
||||||
1
gdunit4_testadapter_v5/GdUnit4TestRunnerScene.cs.uid
Normal file
1
gdunit4_testadapter_v5/GdUnit4TestRunnerScene.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://40hk5xnli78u
|
||||||
5
global.json
Normal file
5
global.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"test": {
|
||||||
|
"runner": "Microsoft.Testing.Platform"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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)
|
||||||
@@ -74,6 +74,8 @@ func _ready() -> void:
|
|||||||
dash.triggered.connect(on_input_dash)
|
dash.triggered.connect(on_input_dash)
|
||||||
slam.triggered.connect(on_input_slam)
|
slam.triggered.connect(on_input_slam)
|
||||||
|
|
||||||
|
input_device_changed.emit(current_input_method == GlobalHelpers.GamepadDetectionEvent.GAMEPAD)
|
||||||
|
|
||||||
|
|
||||||
func on_input_hit():
|
func on_input_hit():
|
||||||
input_hit.emit()
|
input_hit.emit()
|
||||||
@@ -103,20 +105,17 @@ func on_input_slide_started():
|
|||||||
func on_input_slide_ended():
|
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
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ 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)
|
||||||
@@ -42,7 +41,6 @@ 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)
|
||||||
@@ -52,7 +50,6 @@ 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,7 +59,6 @@ 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)
|
||||||
@@ -72,7 +68,6 @@ 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]
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,13 @@
|
|||||||
[ext_resource type="PackedScene" uid="uid://y77cdg7gg3y7" path="res://maps/levels/_arenas/playtest_1.tscn" id="6_qd7a7"]
|
[ext_resource type="PackedScene" uid="uid://y77cdg7gg3y7" path="res://maps/levels/_arenas/playtest_1.tscn" id="6_qd7a7"]
|
||||||
[ext_resource type="PackedScene" uid="uid://b8aet6m4m2i83" path="res://scenes/tuto_trigger/TutoTrigger.tscn" id="7_r26ni"]
|
[ext_resource type="PackedScene" uid="uid://b8aet6m4m2i83" path="res://scenes/tuto_trigger/TutoTrigger.tscn" id="7_r26ni"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dl73t0kxkaxp0" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_a_outline.svg" id="8_6c6r2"]
|
[ext_resource type="Texture2D" uid="uid://dl73t0kxkaxp0" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_a_outline.svg" id="8_6c6r2"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bfkj4neu0m0rm" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_rt_outline.svg" id="9_v7818"]
|
[ext_resource type="Texture2D" uid="uid://b1rhan716dxw0" path="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_space_outline.svg" id="9_v7818"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cjh5cnvdbq5ku" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_b_outline.svg" id="10_hocby"]
|
[ext_resource type="Texture2D" uid="uid://cjh5cnvdbq5ku" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_b_outline.svg" id="10_hocby"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bfkj4neu0m0rm" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_rt_outline.svg" id="10_ovxxa"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cseyilgg2iwnk" path="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_ctrl_outline.svg" id="11_5ibpd"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://2h3y7dj0iwet" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_stick_l_up.svg" id="12_pu6f4"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bsxtadecl3657" path="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_shift_outline.svg" id="13_6rkcg"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://crw70luu8rge" path="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_arrows_up_outline.svg" id="13_rbrma"]
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_6c6r2"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_6c6r2"]
|
||||||
size = Vector3(6.5, 9, 7.5)
|
size = Vector3(6.5, 9, 7.5)
|
||||||
@@ -40,15 +45,15 @@ collision_layer = 256
|
|||||||
collision_mask = 65553
|
collision_mask = 65553
|
||||||
|
|
||||||
[node name="CSGBox3D" type="CSGBox3D" parent="Greybox" index="0" unique_id=681973284]
|
[node name="CSGBox3D" type="CSGBox3D" parent="Greybox" index="0" unique_id=681973284]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.0960007, -0.5, -19.2085)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.8460007, -0.5, -15.7085)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(21, 1, 44.5)
|
size = Vector3(23.5, 1, 51.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D2" type="CSGBox3D" parent="Greybox" index="1" unique_id=663820033]
|
[node name="CSGBox3D2" type="CSGBox3D" parent="Greybox" index="1" unique_id=663820033]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.09600067, 4.5, 3.3005066)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.09600067, 4.5, 3.8005066)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(10, 9, 2)
|
size = Vector3(10, 9, 3)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D5" type="CSGBox3D" parent="Greybox" index="2" unique_id=1332226948]
|
[node name="CSGBox3D5" type="CSGBox3D" parent="Greybox" index="2" unique_id=1332226948]
|
||||||
@@ -58,15 +63,15 @@ size = Vector3(16, 8.5, 2)
|
|||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D6" type="CSGBox3D" parent="Greybox" index="3" unique_id=868182610]
|
[node name="CSGBox3D6" type="CSGBox3D" parent="Greybox" index="3" unique_id=868182610]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.096001, 4.25, -8.699493)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.846001, 4.25, 0.17550659)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(16, 8.5, 2)
|
size = Vector3(15.5, 8.5, 19.75)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D9" type="CSGBox3D" parent="Greybox" index="4" unique_id=1175427795]
|
[node name="CSGBox3D9" type="CSGBox3D" parent="Greybox" index="4" unique_id=1175427795]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.25, -42)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 7.75, -41.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(38, 16.5, 2)
|
size = Vector3(35, 17.5, 1.5)
|
||||||
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]
|
||||||
@@ -82,9 +87,9 @@ size = Vector3(18, 9, 2)
|
|||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D7" type="CSGBox3D" parent="Greybox" index="7" unique_id=133005848]
|
[node name="CSGBox3D7" type="CSGBox3D" parent="Greybox" index="7" unique_id=133005848]
|
||||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -18.096, 8, -25.449493)
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -17.846, 8, -25.449493)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(31.5, 16, 2)
|
size = Vector3(31.5, 16, 1.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D8" type="CSGBox3D" parent="Greybox" index="8" unique_id=1267333699]
|
[node name="CSGBox3D8" type="CSGBox3D" parent="Greybox" index="8" unique_id=1267333699]
|
||||||
@@ -202,21 +207,21 @@ size = Vector3(9, 5.5, 8.5)
|
|||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D46" type="CSGBox3D" parent="Greybox" index="17" unique_id=1824745168]
|
[node name="CSGBox3D46" type="CSGBox3D" parent="Greybox" index="17" unique_id=1824745168]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.5, 16.75, -38.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 30, -38.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(28, 1.5, 8.5)
|
size = Vector3(35, 28, 8.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D70" type="CSGBox3D" parent="Greybox" index="18" unique_id=1330738104]
|
[node name="CSGBox3D70" type="CSGBox3D" parent="Greybox" index="18" unique_id=1330738104]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 12.25, -15.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 26.25, -12.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(25, 7.5, 41)
|
size = Vector3(25, 35.5, 47)
|
||||||
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, 16.5, 10.25, -37.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 8, -37.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(2, 13.5, 7.5)
|
size = Vector3(1, 18, 7.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D13" type="CSGBox3D" parent="Greybox" index="20" unique_id=110274826]
|
[node name="CSGBox3D13" type="CSGBox3D" parent="Greybox" index="20" unique_id=110274826]
|
||||||
@@ -280,9 +285,9 @@ size = Vector3(1, 1, 13)
|
|||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D61" type="CSGBox3D" parent="Greybox" index="30" 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, -37, 16.75, 14.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(7, 10.5, 20)
|
size = Vector3(5, 11.5, 20)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D37" type="CSGBox3D" parent="Greybox" index="31" unique_id=1733162117]
|
[node name="CSGBox3D37" type="CSGBox3D" parent="Greybox" index="31" unique_id=1733162117]
|
||||||
@@ -334,27 +339,27 @@ size = Vector3(3, 6.5, 36)
|
|||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D42" type="CSGBox3D" parent="Greybox" index="39" unique_id=1332460934]
|
[node name="CSGBox3D42" type="CSGBox3D" parent="Greybox" index="39" unique_id=1332460934]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 25.75, -15.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.375, 32.75, -15.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(9, 8.5, 52.5)
|
size = Vector3(10.25, 22.5, 52.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D27" type="CSGBox3D" parent="Greybox" index="40" unique_id=1484621306]
|
[node name="CSGBox3D27" type="CSGBox3D" parent="Greybox" index="40" unique_id=1484621306]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 22.5, -0.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 14.5, -0.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 15, 49)
|
size = Vector3(3, 31, 49)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D31" type="CSGBox3D" parent="Greybox" index="41" unique_id=1289594807]
|
[node name="CSGBox3D31" type="CSGBox3D" parent="Greybox" index="41" unique_id=1289594807]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 19.25, 24.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 14.5, 24.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(35, 21.5, 1)
|
size = Vector3(35, 31, 1)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D57" type="CSGBox3D" parent="Greybox" index="42" unique_id=652826918]
|
[node name="CSGBox3D57" type="CSGBox3D" parent="Greybox" index="42" unique_id=652826918]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -27, 14.25, 24.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -27, 9.5, 24.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(17, 11.5, 1)
|
size = Vector3(17, 21, 1)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D58" type="CSGBox3D" parent="Greybox" index="43" unique_id=1738066207]
|
[node name="CSGBox3D58" type="CSGBox3D" parent="Greybox" index="43" unique_id=1738066207]
|
||||||
@@ -370,378 +375,414 @@ size = Vector3(16, 3, 1)
|
|||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D63" type="CSGBox3D" parent="Greybox" index="45" unique_id=1781215916]
|
[node name="CSGBox3D63" type="CSGBox3D" parent="Greybox" index="45" unique_id=1781215916]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 26.25, 24.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 14.5, 24.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(7, 7.5, 1)
|
size = Vector3(5, 31, 1)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D64" type="CSGBox3D" parent="Greybox" index="46" unique_id=1515829063]
|
[node name="CSGBox3D64" type="CSGBox3D" parent="Greybox" index="46" unique_id=1515829063]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -39, 21.25, 14.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40.75, 14.5, 16.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 17.5, 20.5)
|
size = Vector3(4.5, 31, 17)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D65" type="CSGBox3D" parent="Greybox" index="47" unique_id=807471618]
|
[node name="CSGBox3D65" type="CSGBox3D" parent="Greybox" index="47" unique_id=807471618]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -35, 21.25, 7.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -35, 21.25, 9)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 17.5, 5.5)
|
size = Vector3(1, 17.5, 2)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D73" type="CSGBox3D" parent="Greybox" index="48" unique_id=1654535689]
|
[node name="CSGBox3D79" type="CSGBox3D" parent="Greybox" index="48" unique_id=780854741]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -31.5, 20.25, -15.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, -9.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 19.5, 40.5)
|
size = Vector3(12, 1, 4.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D75" type="CSGBox3D" parent="Greybox" index="49" unique_id=1061275423]
|
[node name="CSGBox3D100" type="CSGBox3D" parent="Greybox" index="49" unique_id=251951336]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -33.25, 20.25, 4.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25.5, 19.25, -48.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(4.5, 19.5, 2.5)
|
size = Vector3(3, 21.5, 3)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D76" type="CSGBox3D" parent="Greybox" index="50" unique_id=2120571329]
|
[node name="CSGBox3D106" type="CSGBox3D" parent="Greybox" index="50" unique_id=1694005286]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40.75, 20.25, 4.75)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(4.5, 19.5, 2.5)
|
|
||||||
material = ExtResource("2_lpm4c")
|
|
||||||
|
|
||||||
[node name="CSGBox3D79" type="CSGBox3D" parent="Greybox" index="51" unique_id=780854741]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -33.25, 20.25, -9.75)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(4.5, 19.5, 5.5)
|
|
||||||
material = ExtResource("2_lpm4c")
|
|
||||||
|
|
||||||
[node name="CSGBox3D80" type="CSGBox3D" parent="Greybox" index="52" unique_id=231628410]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40.75, 20.25, -9.75)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(4.5, 19.5, 5.5)
|
|
||||||
material = ExtResource("2_lpm4c")
|
|
||||||
|
|
||||||
[node name="CSGBox3D95" type="CSGBox3D" parent="Greybox" index="53" unique_id=1030736240]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -31, 20.25, -34.25)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(9, 19.5, 5.5)
|
|
||||||
material = ExtResource("2_lpm4c")
|
|
||||||
|
|
||||||
[node name="CSGBox3D100" type="CSGBox3D" parent="Greybox" index="54" unique_id=251951336]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25.5, 20.25, -40.75)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(3, 19.5, 18.5)
|
|
||||||
material = ExtResource("2_lpm4c")
|
|
||||||
|
|
||||||
[node name="CSGBox3D106" type="CSGBox3D" parent="Greybox" index="55" unique_id=1694005286]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.25, 37, -42.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.25, 37, -42.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(25.5, 14, 22.5)
|
size = Vector3(25.5, 14, 22.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D107" type="CSGBox3D" parent="Greybox" index="56" unique_id=1819732168]
|
[node name="CSGBox3D107" type="CSGBox3D" parent="Greybox" index="51" unique_id=1819732168]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 30.5, -3.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 37, -3.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(12, 1, 56.5)
|
size = Vector3(12, 14, 56.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D108" type="CSGBox3D" parent="Greybox" index="57" unique_id=791611886]
|
[node name="CSGBox3D108" type="CSGBox3D" parent="Greybox" index="52" unique_id=791611886]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.25, 30.5, 17.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.25, 30.5, 17.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(47.5, 1, 15)
|
size = Vector3(47.5, 1, 15)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D96" type="CSGBox3D" parent="Greybox" index="58" unique_id=1113234130]
|
[node name="CSGBox3D97" type="CSGBox3D" parent="Greybox" index="53" unique_id=28477813]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40.75, 20.25, -34.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24.375, 19.25, -53.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(4.5, 19.5, 5.5)
|
size = Vector3(13.75, 21.5, 1)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D97" type="CSGBox3D" parent="Greybox" index="59" unique_id=28477813]
|
[node name="CSGBox3D40" type="CSGBox3D" parent="Greybox" index="54" unique_id=149448218]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.25, 19.25, -53.5)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(25.5, 21.5, 1)
|
|
||||||
material = ExtResource("2_lpm4c")
|
|
||||||
|
|
||||||
[node name="CSGBox3D74" type="CSGBox3D" parent="Greybox" index="60" unique_id=163691033]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42.5, 20.25, -24.25)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(1, 19.5, 57.5)
|
|
||||||
material = ExtResource("2_lpm4c")
|
|
||||||
|
|
||||||
[node name="CSGBox3D40" type="CSGBox3D" parent="Greybox" index="61" unique_id=149448218]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 19.5, 10.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 19.5, 10.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(43, 22, 1)
|
size = Vector3(43, 22, 1)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D28" type="CSGBox3D" parent="Greybox" index="62" unique_id=34926235]
|
[node name="CSGBox3D28" type="CSGBox3D" parent="Greybox" index="55" unique_id=34926235]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 20.25, -10.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 20.25, -10.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 2.5, 6.5)
|
size = Vector3(3, 2.5, 6.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D29" type="CSGBox3D" parent="Greybox" index="63" unique_id=1236916367]
|
[node name="CSGBox3D29" type="CSGBox3D" parent="Greybox" index="56" unique_id=1236916367]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 18.5, -10.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 18.5, -10.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 6.5)
|
size = Vector3(3, 1, 6.5)
|
||||||
material = ExtResource("5_u8sr4")
|
material = ExtResource("5_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D32" type="CSGBox3D" parent="Greybox" index="64" unique_id=1361663538]
|
[node name="CSGBox3D32" type="CSGBox3D" parent="Greybox" index="57" unique_id=1361663538]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 20.25, 7.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 20.25, 7.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 2.5, 6.5)
|
size = Vector3(3, 2.5, 6.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D33" type="CSGBox3D" parent="Greybox" index="65" unique_id=2014293618]
|
[node name="CSGBox3D33" type="CSGBox3D" parent="Greybox" index="58" unique_id=2014293618]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 18.5, 7.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 18.5, 7.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 6.5)
|
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="59" unique_id=1000059913]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 14, -29.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 10.25, -29.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 15, 9)
|
size = Vector3(1, 22.5, 9)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D16" type="CSGBox3D" parent="Greybox" index="67" unique_id=1660129006]
|
[node name="CSGBox3D16" type="CSGBox3D" parent="Greybox" index="60" unique_id=1660129006]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 16.5, -25.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(7, 1, 1)
|
size = Vector3(7, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D18" type="CSGBox3D" parent="Greybox" index="68" unique_id=410504645]
|
[node name="CSGBox3D18" type="CSGBox3D" parent="Greybox" index="61" unique_id=410504645]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 13, -27.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 13, -27.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 3.5)
|
size = Vector3(3, 1, 3.5)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D19" type="CSGBox3D" parent="Greybox" index="69" unique_id=1692291429]
|
[node name="CSGBox3D19" type="CSGBox3D" parent="Greybox" index="62" unique_id=1692291429]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 10, -29.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 10, -29.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(4, 1, 6.5)
|
size = Vector3(4, 1, 6.5)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D21" type="CSGBox3D" parent="Greybox" index="70" unique_id=16284901]
|
[node name="CSGBox3D21" type="CSGBox3D" parent="Greybox" index="63" unique_id=16284901]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 7.5, -35.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 7.5, -35.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(7, 1, 1)
|
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="64" unique_id=1460670998]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 16.5, 13.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 16.5, 13.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 5)
|
size = Vector3(1, 1, 5)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D49" type="CSGBox3D" parent="Greybox" index="72" unique_id=1821984513]
|
[node name="CSGBox3D49" type="CSGBox3D" parent="Greybox" index="65" unique_id=1821984513]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 12.5, 17.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5, 12.5, 17.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(6, 7, 13.5)
|
size = Vector3(6, 7, 13.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D50" type="CSGBox3D" parent="Greybox" index="73" unique_id=935249000]
|
[node name="CSGBox3D50" type="CSGBox3D" parent="Greybox" index="66" unique_id=935249000]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 16.5, 13.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 16.5, 13.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 5)
|
size = Vector3(1, 1, 5)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D51" type="CSGBox3D" parent="Greybox" index="74" unique_id=2063626202]
|
[node name="CSGBox3D51" type="CSGBox3D" parent="Greybox" index="67" unique_id=2063626202]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 16.5, 21.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 16.5, 21.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 5)
|
size = Vector3(1, 1, 5)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D45" type="CSGBox3D" parent="Greybox" index="75" unique_id=1969803797]
|
[node name="CSGBox3D45" type="CSGBox3D" parent="Greybox" index="68" unique_id=1969803797]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 17.5, 17.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 17.5, 17.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 3)
|
size = Vector3(1, 1, 3)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D62" type="CSGBox3D" parent="Greybox" index="76" unique_id=246528851]
|
[node name="CSGBox3D62" type="CSGBox3D" parent="Greybox" index="69" unique_id=246528851]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 19.5, 22.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 19.5, 22.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 3)
|
size = Vector3(1, 1, 3)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D41" type="CSGBox3D" parent="Greybox" index="77" unique_id=902325179]
|
[node name="CSGBox3D41" type="CSGBox3D" parent="Greybox" index="70" unique_id=902325179]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 12.5, 13.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 12.5, 13.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 5)
|
size = Vector3(1, 1, 5)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D55" type="CSGBox3D" parent="Greybox" index="78" unique_id=1746662054]
|
[node name="CSGBox3D55" type="CSGBox3D" parent="Greybox" index="71" unique_id=1746662054]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.75, 12.5, 16)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.75, 12.5, 16)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1.5, 3, 11)
|
size = Vector3(1.5, 3, 11)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D52" type="CSGBox3D" parent="Greybox" index="79" unique_id=1613606807]
|
[node name="CSGBox3D52" type="CSGBox3D" parent="Greybox" index="72" unique_id=1613606807]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 14.5, 17.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 14.5, 17.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 7, 13.5)
|
size = Vector3(1, 7, 13.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D53" type="CSGBox3D" parent="Greybox" index="80" unique_id=2043849714]
|
[node name="CSGBox3D53" type="CSGBox3D" parent="Greybox" index="73" unique_id=2043849714]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 18.5, 16)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 18.5, 16)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 10)
|
size = Vector3(1, 1, 10)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D48" type="CSGBox3D" parent="Greybox" index="81" unique_id=998426919]
|
[node name="CSGBox3D48" type="CSGBox3D" parent="Greybox" index="74" unique_id=998426919]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, 14.5, 16)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, 14.5, 16)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 10)
|
size = Vector3(1, 1, 10)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D66" type="CSGBox3D" parent="Greybox" index="82" unique_id=1549586957]
|
[node name="CSGBox3D66" type="CSGBox3D" parent="Greybox" index="75" unique_id=1549586957]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 19.5, 4)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 19.5, 4)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 4, 1)
|
size = Vector3(5, 4, 1)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D78" type="CSGBox3D" parent="Greybox" index="83" unique_id=1305480601]
|
[node name="CSGBox3D78" type="CSGBox3D" parent="Greybox" index="76" unique_id=1305480601]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37.5, 15.75, -7.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 15, -7.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(11, 13.5, 8.5)
|
size = Vector3(12, 13, 8.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D67" type="CSGBox3D" parent="Greybox" index="84" unique_id=11222487]
|
[node name="CSGBox3D67" type="CSGBox3D" parent="Greybox" index="77" unique_id=11222487]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, 4)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, 4)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 1)
|
size = Vector3(5, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D86" type="CSGBox3D" parent="Greybox" index="85" unique_id=905628818]
|
[node name="CSGBox3D86" type="CSGBox3D" parent="Greybox" index="78" unique_id=905628818]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, -12)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, -12)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 1)
|
size = Vector3(3, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D77" type="CSGBox3D" parent="Greybox" index="86" unique_id=582978856]
|
[node name="CSGBox3D77" type="CSGBox3D" parent="Greybox" index="79" unique_id=582978856]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, -2.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 21, -2.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(10, 1, 1)
|
size = Vector3(12, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D87" type="CSGBox3D" parent="Greybox" index="87" unique_id=1897627146]
|
[node name="CSGBox3D80" type="CSGBox3D" parent="Greybox" index="80" unique_id=953873354]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 15.75, -31.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, -6.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(10, 13.5, 8.5)
|
size = Vector3(12, 1, 1)
|
||||||
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
|
[node name="CSGBox3D87" type="CSGBox3D" parent="Greybox" index="81" unique_id=1897627146]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 17, -31.75)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(12, 11, 8.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D88" type="CSGBox3D" parent="Greybox" index="88" unique_id=854998014]
|
[node name="CSGBox3D88" type="CSGBox3D" parent="Greybox" index="82" unique_id=854998014]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, -27)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, -27)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(10, 1, 1)
|
size = Vector3(12, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D98" type="CSGBox3D" parent="Greybox" index="89" unique_id=447434163]
|
[node name="CSGBox3D98" type="CSGBox3D" parent="Greybox" index="83" unique_id=447434163]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -23.75, 15.5, -51.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -23.75, 15.5, -51.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(12.5, 14, 3)
|
size = Vector3(12.5, 14, 3)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D101" type="CSGBox3D" parent="Greybox" index="90" unique_id=1996176072]
|
[node name="CSGBox3D103" type="CSGBox3D" parent="Greybox" index="84" unique_id=1712967829]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -41.5, 21.25, -52.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(3, 19.5, 3)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D104" type="CSGBox3D" parent="Greybox" index="85" unique_id=388008150]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -43.5, 26.25, -35.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D105" type="CSGBox3D" parent="Greybox" index="86" unique_id=1085449408]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.5, 26.25, -35.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D110" type="CSGBox3D" parent="Greybox" index="87" unique_id=1046441166]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.5, 26.25, -27)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D111" type="CSGBox3D" parent="Greybox" index="88" unique_id=1840692828]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -43.5, 26.25, -27)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D112" type="CSGBox3D" parent="Greybox" index="89" unique_id=1947925783]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -43.5, 26.25, -11)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D113" type="CSGBox3D" parent="Greybox" index="90" unique_id=562884530]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -43.5, 26.25, -2.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D114" type="CSGBox3D" parent="Greybox" index="91" unique_id=2138118967]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.5, 26.25, -11)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D115" type="CSGBox3D" parent="Greybox" index="92" unique_id=1401839399]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.5, 26.25, -2.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D116" type="CSGBox3D" parent="Greybox" index="93" unique_id=1720469954]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -43.5, 26.25, 8.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D117" type="CSGBox3D" parent="Greybox" index="94" unique_id=591144943]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.5, 26.25, 8.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 35.5, 1)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D102" type="CSGBox3D" parent="Greybox" index="95" unique_id=1496381891]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -29, 10, -44.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(4, 3, 17)
|
||||||
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
|
[node name="CSGBox3D101" type="CSGBox3D" parent="Greybox" index="96" unique_id=1996176072]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -20.75, 19.25, -48.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -20.75, 19.25, -48.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(6.5, 21.5, 3)
|
size = Vector3(6.5, 21.5, 3)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D99" type="CSGBox3D" parent="Greybox" index="91" unique_id=2008353765]
|
[node name="CSGBox3D99" type="CSGBox3D" parent="Greybox" index="97" unique_id=2008353765]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -28.5, 22, -49.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -28.5, 22, -49.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 1)
|
size = Vector3(3, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D109" type="CSGBox3D" parent="Greybox" index="92" unique_id=519906200]
|
[node name="CSGBox3D109" type="CSGBox3D" parent="Greybox" index="98" unique_id=519906200]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.5, 22, -51)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.5, 22, -51)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 4)
|
size = Vector3(1, 1, 4)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D68" type="CSGBox3D" parent="Greybox" index="93" unique_id=743815889]
|
[node name="CSGBox3D68" type="CSGBox3D" parent="Greybox" index="99" unique_id=743815889]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -36.5, 16.5, 0.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 16.5, 3.25)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(12, 4, 8)
|
size = Vector3(12, 4, 13.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D69" type="CSGBox3D" parent="Greybox" index="94" unique_id=1709107988]
|
[node name="CSGBox3D69" type="CSGBox3D" parent="Greybox" index="100" unique_id=1709107988]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -36.5, 19.5, -2.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 19.5, -2.75)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(12, 4, 1.5)
|
size = Vector3(12, 4, 1.5)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D72" type="CSGBox3D" parent="Greybox" index="95" unique_id=547486564]
|
[node name="CSGBox3D72" type="CSGBox3D" parent="Greybox" index="101" unique_id=547486564]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34.75, 10, -24.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 10, -30.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(19.5, 3, 58.5)
|
size = Vector3(12, 3, 47)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D81" type="CSGBox3D" parent="Greybox" index="96" unique_id=1566599507]
|
[node name="CSGBox3D81" type="CSGBox3D" parent="Greybox" index="102" unique_id=1566599507]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 19.5, -12)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 19.5, -12)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 4, 1)
|
size = Vector3(3, 4, 1)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D82" type="CSGBox3D" parent="Greybox" index="97" unique_id=1617624220]
|
[node name="CSGBox3D82" type="CSGBox3D" parent="Greybox" index="103" unique_id=1617624220]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 16, -12.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 16, -12.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 3, 2)
|
size = Vector3(3, 3, 2)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D83" type="CSGBox3D" parent="Greybox" index="98" unique_id=1568985583]
|
[node name="CSGBox3D83" type="CSGBox3D" parent="Greybox" index="104" unique_id=1568985583]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 18, -13)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 18, -13)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 1)
|
size = Vector3(3, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D84" type="CSGBox3D" parent="Greybox" index="99" unique_id=631880926]
|
[node name="CSGBox3D84" type="CSGBox3D" parent="Greybox" index="105" unique_id=631880926]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 13, -13)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 13, -13)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 3, 3)
|
size = Vector3(3, 3, 3)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D85" type="CSGBox3D" parent="Greybox" index="100" unique_id=996930960]
|
[node name="CSGBox3D85" type="CSGBox3D" parent="Greybox" index="106" unique_id=996930960]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 15, -14)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 15, -14)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 1)
|
size = Vector3(3, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D89" type="CSGBox3D" parent="Greybox" index="101" unique_id=1602075080]
|
[node name="CSGBox3D89" type="CSGBox3D" parent="Greybox" index="107" unique_id=1602075080]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, -36.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 22, -36.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 1)
|
size = Vector3(3, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D90" type="CSGBox3D" parent="Greybox" index="102" unique_id=1904513833]
|
[node name="CSGBox3D90" type="CSGBox3D" parent="Greybox" index="108" unique_id=1904513833]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 19.5, -36.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 19.5, -36.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 4, 1)
|
size = Vector3(3, 4, 1)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D91" type="CSGBox3D" parent="Greybox" index="103" unique_id=1314237812]
|
[node name="CSGBox3D91" type="CSGBox3D" parent="Greybox" index="109" unique_id=1314237812]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 16, -37)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 16, -37)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 3, 2)
|
size = Vector3(3, 3, 2)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D92" type="CSGBox3D" parent="Greybox" index="104" unique_id=560010720]
|
[node name="CSGBox3D92" type="CSGBox3D" parent="Greybox" index="110" unique_id=560010720]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 18, -37.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 18, -37.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 1)
|
size = Vector3(3, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D93" type="CSGBox3D" parent="Greybox" index="105" unique_id=147254481]
|
[node name="CSGBox3D93" type="CSGBox3D" parent="Greybox" index="111" unique_id=147254481]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 13, -37.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 13, -37.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 3, 3)
|
size = Vector3(3, 3, 3)
|
||||||
material = ExtResource("2_lpm4c")
|
material = ExtResource("2_lpm4c")
|
||||||
|
|
||||||
[node name="CSGBox3D94" type="CSGBox3D" parent="Greybox" index="106" unique_id=691195821]
|
[node name="CSGBox3D94" type="CSGBox3D" parent="Greybox" index="112" unique_id=691195821]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 15, -38.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 15, -38.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(3, 1, 1)
|
size = Vector3(3, 1, 1)
|
||||||
material = ExtResource("3_u8sr4")
|
material = ExtResource("3_u8sr4")
|
||||||
|
|
||||||
[node name="CSGBox3D47" type="CSGBox3D" parent="Greybox" index="107" unique_id=1635436254]
|
[node name="CSGBox3D47" type="CSGBox3D" parent="Greybox" index="113" unique_id=1635436254]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 12.5, 21.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 12.5, 21.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(1, 1, 5)
|
size = Vector3(1, 1, 5)
|
||||||
@@ -794,8 +835,8 @@ light_energy = 1.695
|
|||||||
omni_range = 6.5
|
omni_range = 6.5
|
||||||
|
|
||||||
[node name="OmniLight3D6" type="OmniLight3D" parent="Lights" index="9" unique_id=342293346]
|
[node name="OmniLight3D6" type="OmniLight3D" parent="Lights" index="9" unique_id=342293346]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 10.5, -32)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 12.5, -32)
|
||||||
omni_range = 3.5
|
omni_range = 7.5
|
||||||
|
|
||||||
[node name="OmniLight3D7" type="OmniLight3D" parent="Lights" index="10" unique_id=1443833930]
|
[node name="OmniLight3D7" type="OmniLight3D" parent="Lights" index="10" unique_id=1443833930]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 19.5, -32)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 19.5, -32)
|
||||||
@@ -827,8 +868,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5, 21, 22.5)
|
|||||||
omni_range = 3.5
|
omni_range = 3.5
|
||||||
|
|
||||||
[node name="OmniLight3D18" type="OmniLight3D" parent="Lights" index="17" unique_id=277657948]
|
[node name="OmniLight3D18" type="OmniLight3D" parent="Lights" index="17" unique_id=277657948]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24.5, 24.5, 17.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24.5, 21.75, 17.5)
|
||||||
light_energy = 5.293
|
light_energy = 8.648
|
||||||
omni_range = 15.5
|
omni_range = 15.5
|
||||||
|
|
||||||
[node name="OmniLight3D13" type="OmniLight3D" parent="Lights" index="18" unique_id=305122268]
|
[node name="OmniLight3D13" type="OmniLight3D" parent="Lights" index="18" unique_id=305122268]
|
||||||
@@ -866,11 +907,11 @@ light_energy = 4.004
|
|||||||
omni_range = 7.0
|
omni_range = 7.0
|
||||||
|
|
||||||
[node name="OmniLight3D20" type="OmniLight3D" parent="Lights" index="25" unique_id=1665621589]
|
[node name="OmniLight3D20" type="OmniLight3D" parent="Lights" index="25" unique_id=1665621589]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 24.5, -29)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 24.5, -35.25)
|
||||||
omni_range = 7.0
|
omni_range = 7.0
|
||||||
|
|
||||||
[node name="OmniLight3D21" type="OmniLight3D" parent="Lights" index="26" unique_id=1870279999]
|
[node name="OmniLight3D21" type="OmniLight3D" parent="Lights" index="26" unique_id=1870279999]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 24.5, -29)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37, 24.5, -24)
|
||||||
light_energy = 3.654
|
light_energy = 3.654
|
||||||
omni_range = 7.0
|
omni_range = 7.0
|
||||||
|
|
||||||
@@ -903,7 +944,8 @@ omni_range = 4.5
|
|||||||
|
|
||||||
[node name="TutoTrigger" parent="Tutorials" index="0" unique_id=840713937 instance=ExtResource("7_r26ni")]
|
[node name="TutoTrigger" parent="Tutorials" index="0" unique_id=840713937 instance=ExtResource("7_r26ni")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.5, 1, -20)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.5, 1, -20)
|
||||||
first_input_texture = ExtResource("8_6c6r2")
|
first_input_icon = ExtResource("8_6c6r2")
|
||||||
|
first_input_icon_keyboard = ExtResource("9_v7818")
|
||||||
tuto_text = "Mantle"
|
tuto_text = "Mantle"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger" index="1" unique_id=518998736]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger" index="1" unique_id=518998736]
|
||||||
@@ -912,7 +954,8 @@ shape = SubResource("BoxShape3D_6c6r2")
|
|||||||
|
|
||||||
[node name="TutoTrigger2" parent="Tutorials" index="1" unique_id=878603028 instance=ExtResource("7_r26ni")]
|
[node name="TutoTrigger2" parent="Tutorials" index="1" unique_id=878603028 instance=ExtResource("7_r26ni")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 2.5, -37.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 2.5, -37.5)
|
||||||
first_input_texture = ExtResource("8_6c6r2")
|
first_input_icon = ExtResource("8_6c6r2")
|
||||||
|
first_input_icon_keyboard = ExtResource("9_v7818")
|
||||||
tuto_text = "Jump"
|
tuto_text = "Jump"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger2" index="1" unique_id=1454863883]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger2" index="1" unique_id=1454863883]
|
||||||
@@ -921,8 +964,10 @@ shape = SubResource("BoxShape3D_v7818")
|
|||||||
|
|
||||||
[node name="TutoTrigger3" parent="Tutorials" index="2" unique_id=1537320837 instance=ExtResource("7_r26ni")]
|
[node name="TutoTrigger3" parent="Tutorials" index="2" unique_id=1537320837 instance=ExtResource("7_r26ni")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.5, -37.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.5, -37.5)
|
||||||
first_input_texture = ExtResource("8_6c6r2")
|
first_input_icon = ExtResource("8_6c6r2")
|
||||||
second_input_texture = ExtResource("8_6c6r2")
|
first_input_icon_keyboard = ExtResource("9_v7818")
|
||||||
|
second_input_icon = ExtResource("8_6c6r2")
|
||||||
|
second_input_icon_keyboard = ExtResource("9_v7818")
|
||||||
tuto_text = "Double jump"
|
tuto_text = "Double jump"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger3" index="1" unique_id=216496744]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger3" index="1" unique_id=216496744]
|
||||||
@@ -931,8 +976,9 @@ shape = SubResource("BoxShape3D_hocby")
|
|||||||
|
|
||||||
[node name="TutoTrigger5" parent="Tutorials" index="3" unique_id=1703929757 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, 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_icon = ExtResource("10_ovxxa")
|
||||||
complex_input_text = "with speed"
|
first_input_icon_keyboard = ExtResource("11_5ibpd")
|
||||||
|
input_related_text = "with speed"
|
||||||
tuto_text = "Slide"
|
tuto_text = "Slide"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger5" index="1" unique_id=614350904]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger5" index="1" unique_id=614350904]
|
||||||
@@ -941,8 +987,9 @@ shape = SubResource("BoxShape3D_5ibpd")
|
|||||||
|
|
||||||
[node name="TutoTrigger6" parent="Tutorials" index="4" 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_icon = ExtResource("8_6c6r2")
|
||||||
complex_input_text = "double tap during mantle"
|
first_input_icon_keyboard = ExtResource("9_v7818")
|
||||||
|
input_related_text = "double tap during mantle"
|
||||||
tuto_text = "Improved jump"
|
tuto_text = "Improved jump"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger6" index="1" unique_id=821335302]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger6" index="1" unique_id=821335302]
|
||||||
@@ -951,8 +998,9 @@ shape = SubResource("BoxShape3D_6rkcg")
|
|||||||
|
|
||||||
[node name="TutoTrigger7" parent="Tutorials" index="5" 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_icon = ExtResource("8_6c6r2")
|
||||||
complex_input_text = "double tap during mantle"
|
first_input_icon_keyboard = ExtResource("9_v7818")
|
||||||
|
input_related_text = "double tap during mantle"
|
||||||
tuto_text = "Try to wall run"
|
tuto_text = "Try to wall run"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger7" index="1" unique_id=1194306224]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger7" index="1" unique_id=1194306224]
|
||||||
@@ -960,9 +1008,12 @@ 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="6" 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, 8)
|
||||||
first_input_texture = ExtResource("10_hocby")
|
first_input_icon = ExtResource("12_pu6f4")
|
||||||
tuto_text = "dash"
|
first_input_icon_keyboard = ExtResource("13_rbrma")
|
||||||
|
second_input_icon = ExtResource("10_hocby")
|
||||||
|
second_input_icon_keyboard = ExtResource("13_6rkcg")
|
||||||
|
tuto_text = "Dash"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger8" index="1" unique_id=1793181148]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Tutorials/TutoTrigger8" index="1" unique_id=1793181148]
|
||||||
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)
|
||||||
@@ -970,8 +1021,12 @@ shape = SubResource("BoxShape3D_p8dgc")
|
|||||||
|
|
||||||
[node name="TutoTrigger9" parent="Tutorials" index="7" 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_icon = ExtResource("12_pu6f4")
|
||||||
tuto_text = "dash"
|
first_input_icon_keyboard = ExtResource("13_rbrma")
|
||||||
|
second_input_icon = ExtResource("10_hocby")
|
||||||
|
second_input_icon_keyboard = ExtResource("13_6rkcg")
|
||||||
|
input_related_text = "in air"
|
||||||
|
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)
|
||||||
@@ -981,3 +1036,6 @@ shape = SubResource("BoxShape3D_p8dgc")
|
|||||||
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -0.5, 0.4102497, 0.5415039)
|
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -0.5, 0.4102497, 0.5415039)
|
||||||
HasSword = false
|
HasSword = false
|
||||||
HasParry = false
|
HasParry = false
|
||||||
|
|
||||||
|
[node name="PlayerFellRespawn" parent="." index="12" unique_id=479136076]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.25, -1.25)
|
||||||
|
|||||||
@@ -10,10 +10,14 @@
|
|||||||
[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://nrhxjdpuje3f" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_lt_outline.svg" id="11_xy0m1"]
|
||||||
[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://dx2mk8qd6g8uh" path="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/mouse_right_outline.svg" id="12_t5o40"]
|
||||||
[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://cjh5cnvdbq5ku" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_b_outline.svg" id="13_t5o40"]
|
||||||
[ext_resource type="Texture2D" uid="uid://db6uqhcmcfs5t" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_lb_outline.svg" id="14_xy0m1"]
|
[ext_resource type="Texture2D" uid="uid://bsxtadecl3657" path="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_shift_outline.svg" id="14_prjj8"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dyjvbsvbriii4" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_rb_outline.svg" id="15_05lnh"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bhlrmh5v3fa2n" path="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/mouse_left_outline.svg" id="16_t5o40"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://db6uqhcmcfs5t" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_lb_outline.svg" id="17_prjj8"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://ybwqghk70io" path="res://assets/ui/input-prompts/Keyboard & Mouse/Vector/keyboard_f_outline.svg" id="18_1opdv"]
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_nwk5u"]
|
[sub_resource type="Resource" id="Resource_nwk5u"]
|
||||||
script = ExtResource("6_cgfmf")
|
script = ExtResource("6_cgfmf")
|
||||||
@@ -51,9 +55,6 @@ size = Vector3(3, 3.75, 3)
|
|||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_05lnh"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_05lnh"]
|
||||||
size = Vector3(9, 11, 19)
|
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"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_dkfm7"]
|
||||||
size = Vector3(5, 2.25, 3.75)
|
size = Vector3(5, 2.25, 3.75)
|
||||||
|
|
||||||
@@ -361,9 +362,12 @@ 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")
|
first_input_icon = ExtResource("11_xy0m1")
|
||||||
second_input_texture = ExtResource("12_xy0m1")
|
first_input_icon_keyboard = ExtResource("12_t5o40")
|
||||||
tuto_text = "Dash through target"
|
second_input_icon = ExtResource("13_t5o40")
|
||||||
|
second_input_icon_keyboard = ExtResource("14_prjj8")
|
||||||
|
input_related_text = "while aiming at target"
|
||||||
|
tuto_text = "Blink through"
|
||||||
|
|
||||||
[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]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.75, 0.625, 1.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.75, 0.625, 1.75)
|
||||||
@@ -371,68 +375,66 @@ 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")
|
first_input_icon = ExtResource("11_xy0m1")
|
||||||
second_input_texture = ExtResource("12_xy0m1")
|
first_input_icon_keyboard = ExtResource("12_t5o40")
|
||||||
tuto_text = "Aimed dash"
|
second_input_icon = ExtResource("13_t5o40")
|
||||||
|
second_input_icon_keyboard = ExtResource("14_prjj8")
|
||||||
|
tuto_text = "Blink"
|
||||||
|
|
||||||
[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]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, -3.75, -6.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, -3.75, -6.75)
|
||||||
shape = SubResource("BoxShape3D_05lnh")
|
shape = SubResource("BoxShape3D_05lnh")
|
||||||
|
|
||||||
[node name="TutoTrigger2" parent="Tutorial/Triggers" index="2" unique_id=386301715 instance=ExtResource("10_dkfm7")]
|
[node name="TutoTrigger3" parent="Tutorial/Triggers" index="2" unique_id=460767120 instance=ExtResource("10_dkfm7")]
|
||||||
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"
|
|
||||||
|
|
||||||
[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)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.75, 7, -49)
|
||||||
first_input_texture = ExtResource("11_nwk5u")
|
first_input_icon = ExtResource("11_xy0m1")
|
||||||
complex_input_text = "in air"
|
first_input_icon_keyboard = ExtResource("12_t5o40")
|
||||||
|
input_related_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]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 0.625, 0.875)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 0.625, 0.875)
|
||||||
shape = SubResource("BoxShape3D_dkfm7")
|
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="3" 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")
|
first_input_icon = ExtResource("15_05lnh")
|
||||||
complex_input_text = "at target"
|
first_input_icon_keyboard = ExtResource("16_t5o40")
|
||||||
|
input_related_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]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 1.75, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 1.75, 0)
|
||||||
shape = SubResource("BoxShape3D_nwk5u")
|
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="4" 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")
|
first_input_icon = ExtResource("15_05lnh")
|
||||||
complex_input_text = "at enemy"
|
first_input_icon_keyboard = ExtResource("16_t5o40")
|
||||||
|
input_related_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]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.625, 1.75, -0.75)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.625, 1.75, -0.75)
|
||||||
shape = SubResource("BoxShape3D_prjj8")
|
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="5" 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")
|
first_input_icon = ExtResource("11_xy0m1")
|
||||||
second_input_texture = ExtResource("13_nwk5u")
|
first_input_icon_keyboard = ExtResource("12_t5o40")
|
||||||
|
second_input_icon = ExtResource("15_05lnh")
|
||||||
|
second_input_icon_keyboard = ExtResource("16_t5o40")
|
||||||
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, 4)
|
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="6" 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")
|
first_input_icon = ExtResource("17_prjj8")
|
||||||
complex_input_text = "at enemy"
|
first_input_icon_keyboard = ExtResource("18_1opdv")
|
||||||
|
input_related_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]
|
||||||
@@ -617,9 +619,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, 70.125)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 21.487345, 70.5)
|
||||||
use_collision = true
|
use_collision = true
|
||||||
size = Vector3(5, 1, 6.25)
|
size = Vector3(5, 1, 7)
|
||||||
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]
|
||||||
|
|||||||
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")
|
||||||
79
obj/movement-tests.csproj.nuget.dgspec.json
Normal file
79
obj/movement-tests.csproj.nuget.dgspec.json
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"D:\\Godot\\Projects\\movement-tests\\movement-tests.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"D:\\Godot\\Projects\\movement-tests\\movement-tests.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\Godot\\Projects\\movement-tests\\movement-tests.csproj",
|
||||||
|
"projectName": "movement-tests",
|
||||||
|
"projectPath": "D:\\Godot\\Projects\\movement-tests\\movement-tests.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Minimata\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\Godot\\Projects\\movement-tests\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\Minimata\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net8.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.300"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"dependencies": {
|
||||||
|
"xunit.v3.mtp-v2": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[3.2.2, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.301/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
25
obj/movement-tests.csproj.nuget.g.props
Normal file
25
obj/movement-tests.csproj.nuget.g.props
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Minimata\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.14.0</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="C:\Users\Minimata\.nuget\packages\" />
|
||||||
|
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.testing.platform\2.0.2\buildTransitive\net8.0\Microsoft.Testing.Platform.props" Condition="Exists('$(NuGetPackageRoot)microsoft.testing.platform\2.0.2\buildTransitive\net8.0\Microsoft.Testing.Platform.props')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.testing.platform.msbuild\2.0.2\buildTransitive\Microsoft.Testing.Platform.MSBuild.props" Condition="Exists('$(NuGetPackageRoot)microsoft.testing.platform.msbuild\2.0.2\buildTransitive\Microsoft.Testing.Platform.MSBuild.props')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.testing.extensions.telemetry\2.0.2\buildTransitive\net8.0\Microsoft.Testing.Extensions.Telemetry.props" Condition="Exists('$(NuGetPackageRoot)microsoft.testing.extensions.telemetry\2.0.2\buildTransitive\net8.0\Microsoft.Testing.Extensions.Telemetry.props')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)xunit.v3.core.mtp-v2\3.2.2\buildTransitive\xunit.v3.core.mtp-v2.props" Condition="Exists('$(NuGetPackageRoot)xunit.v3.core.mtp-v2\3.2.2\buildTransitive\xunit.v3.core.mtp-v2.props')" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<Pkgxunit_analyzers Condition=" '$(Pkgxunit_analyzers)' == '' ">C:\Users\Minimata\.nuget\packages\xunit.analyzers\1.27.0</Pkgxunit_analyzers>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
8
obj/movement-tests.csproj.nuget.g.targets
Normal file
8
obj/movement-tests.csproj.nuget.g.targets
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.testing.platform\2.0.2\buildTransitive\net8.0\Microsoft.Testing.Platform.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.testing.platform\2.0.2\buildTransitive\net8.0\Microsoft.Testing.Platform.targets')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.testing.platform.msbuild\2.0.2\buildTransitive\Microsoft.Testing.Platform.MSBuild.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.testing.platform.msbuild\2.0.2\buildTransitive\Microsoft.Testing.Platform.MSBuild.targets')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)xunit.v3.core.mtp-v2\3.2.2\buildTransitive\xunit.v3.core.mtp-v2.targets" Condition="Exists('$(NuGetPackageRoot)xunit.v3.core.mtp-v2\3.2.2\buildTransitive\xunit.v3.core.mtp-v2.targets')" />
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
1160
obj/project.assets.json
Normal file
1160
obj/project.assets.json
Normal file
File diff suppressed because it is too large
Load Diff
28
obj/project.nuget.cache
Normal file
28
obj/project.nuget.cache
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "C+vE0OBbgVo=",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "D:\\Godot\\Projects\\movement-tests\\movement-tests.csproj",
|
||||||
|
"expectedPackageFiles": [
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\microsoft.applicationinsights\\2.23.0\\microsoft.applicationinsights.2.23.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\6.0.0\\microsoft.bcl.asyncinterfaces.6.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\microsoft.netcore.platforms\\5.0.0\\microsoft.netcore.platforms.5.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\microsoft.testing.extensions.telemetry\\2.0.2\\microsoft.testing.extensions.telemetry.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\microsoft.testing.extensions.trxreport.abstractions\\2.0.2\\microsoft.testing.extensions.trxreport.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\microsoft.testing.platform\\2.0.2\\microsoft.testing.platform.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\microsoft.testing.platform.msbuild\\2.0.2\\microsoft.testing.platform.msbuild.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\microsoft.win32.registry\\5.0.0\\microsoft.win32.registry.5.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\system.diagnostics.diagnosticsource\\5.0.0\\system.diagnostics.diagnosticsource.5.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\system.security.accesscontrol\\5.0.0\\system.security.accesscontrol.5.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\system.security.principal.windows\\5.0.0\\system.security.principal.windows.5.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\xunit.analyzers\\1.27.0\\xunit.analyzers.1.27.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\xunit.v3.assert\\3.2.2\\xunit.v3.assert.3.2.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\xunit.v3.common\\3.2.2\\xunit.v3.common.3.2.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\xunit.v3.core.mtp-v2\\3.2.2\\xunit.v3.core.mtp-v2.3.2.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\xunit.v3.extensibility.core\\3.2.2\\xunit.v3.extensibility.core.3.2.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\xunit.v3.mtp-v2\\3.2.2\\xunit.v3.mtp-v2.3.2.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\xunit.v3.runner.common\\3.2.2\\xunit.v3.runner.common.3.2.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Minimata\\.nuget\\packages\\xunit.v3.runner.inproc.console\\3.2.2\\xunit.v3.runner.inproc.console.3.2.2.nupkg.sha512"
|
||||||
|
],
|
||||||
|
"logs": []
|
||||||
|
}
|
||||||
@@ -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]
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Movementtests.systems.damage;
|
|||||||
[GlobalClass]
|
[GlobalClass]
|
||||||
public partial class RDamageModifier : Resource, IDamageable
|
public partial class RDamageModifier : Resource, IDamageable
|
||||||
{
|
{
|
||||||
public event Action<IDamageable, DamageRecord> DamageTaken;
|
public event Action<IDamageable, DamageRecord> DamageTaken = null!;
|
||||||
|
|
||||||
[Export]
|
[Export]
|
||||||
public EDamageTypes DamageType { get; set;}
|
public EDamageTypes DamageType { get; set;}
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ using Movementtests.interfaces;
|
|||||||
[GlobalClass, Icon("res://assets/ui/IconGodotNode/white/icon_heart.png")]
|
[GlobalClass, Icon("res://assets/ui/IconGodotNode/white/icon_heart.png")]
|
||||||
public partial class CHealth : Node, IHealthable
|
public partial class CHealth : Node, IHealthable
|
||||||
{
|
{
|
||||||
public event Action<IHealthable, HealthChangedRecord> HealthChanged;
|
public event Action<IHealthable, HealthChangedRecord> HealthChanged = null!;
|
||||||
public event Action<IHealthable> HealthDepleted;
|
public event Action<IHealthable> HealthDepleted = null!;
|
||||||
|
|
||||||
[Export]
|
[Export]
|
||||||
public RHealth RHealth { get; set; }
|
public RHealth RHealth { get; set; } = null!;
|
||||||
|
|
||||||
public float CurrentHealth { get; set; }
|
public float CurrentHealth { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ using Movementtests.interfaces;
|
|||||||
[GlobalClass, Icon("res://assets/ui/IconGodotNode/node_3D/icon_wind.png")]
|
[GlobalClass, Icon("res://assets/ui/IconGodotNode/node_3D/icon_wind.png")]
|
||||||
public partial class CKnockback : Node3D, IKnockbackable
|
public partial class CKnockback : Node3D, IKnockbackable
|
||||||
{
|
{
|
||||||
[Export] public RKnockback RKnockback { get; set;}
|
[Export] public RKnockback RKnockback { get; set;} = null!;
|
||||||
|
|
||||||
private KnockbackRecord _knockbackRecord = null;
|
private KnockbackRecord _knockbackRecord = null!;
|
||||||
|
|
||||||
public void RegisterKnockback(KnockbackRecord knockbackRecord)
|
public void RegisterKnockback(KnockbackRecord knockbackRecord)
|
||||||
{
|
{
|
||||||
@@ -20,7 +20,7 @@ public partial class CKnockback : Node3D, IKnockbackable
|
|||||||
|
|
||||||
var knockbackDirection = GlobalPosition - _knockbackRecord.DamageRecord.SourceLocation;
|
var knockbackDirection = GlobalPosition - _knockbackRecord.DamageRecord.SourceLocation;
|
||||||
var finalKnockback = knockbackDirection.Normalized() * RKnockback.Modifier * _knockbackRecord.ForceMultiplier;
|
var finalKnockback = knockbackDirection.Normalized() * RKnockback.Modifier * _knockbackRecord.ForceMultiplier;
|
||||||
_knockbackRecord = null;
|
_knockbackRecord = null!;
|
||||||
return finalKnockback;
|
return finalKnockback;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,10 +6,9 @@ namespace Movementtests.scenes.movement;
|
|||||||
[GlobalClass, Icon("res://assets/ui/IconGodotNode/node_3D/icon_path_follow.png")]
|
[GlobalClass, Icon("res://assets/ui/IconGodotNode/node_3D/icon_path_follow.png")]
|
||||||
public partial class CGroundedMovement : Node3D, IMoveable
|
public partial class CGroundedMovement : Node3D, IMoveable
|
||||||
{
|
{
|
||||||
[Export] public RMovement RMovement { get; set; }
|
[Export] public RMovement RMovement { get; set; } = null!;
|
||||||
|
|
||||||
[Export]
|
[Export] public RayCast3D WallInFrontRayCast { get; set; } = null!;
|
||||||
public RayCast3D WallInFrontRayCast { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public Vector3 ComputeVelocity(MovementInputs inputs)
|
public Vector3 ComputeVelocity(MovementInputs inputs)
|
||||||
|
|||||||
@@ -16,36 +16,37 @@ public partial class Enemy : CharacterBody3D,
|
|||||||
IStunnable
|
IStunnable
|
||||||
{
|
{
|
||||||
// Signals and events
|
// Signals and events
|
||||||
public event Action<IDamageable, DamageRecord> DamageTaken;
|
public event Action<IDamageable, DamageRecord> DamageTaken = null!;
|
||||||
public event Action<IHealthable, HealthChangedRecord> HealthChanged;
|
public event Action<IHealthable, HealthChangedRecord> HealthChanged = null!;
|
||||||
public event Action<IHealthable> HealthDepleted;
|
public event Action<IHealthable> HealthDepleted = null!;
|
||||||
|
|
||||||
// Public export components
|
// Public export components
|
||||||
[Export]
|
[Export]
|
||||||
public Node3D Target { get; set; }
|
public Node3D Target { get; set; } = null!;
|
||||||
|
|
||||||
[Export]
|
[Export]
|
||||||
public float EnemyHeight { get; set; } = 1f;
|
public float EnemyHeight { get; set; } = 1f;
|
||||||
|
|
||||||
[ExportGroup("Health")]
|
[ExportGroup("Health")]
|
||||||
[Export]
|
[Export]
|
||||||
public RHealth RHealth { get; set; }
|
public RHealth RHealth { get; set; } = null!;
|
||||||
[Export]
|
[Export]
|
||||||
public RDeathEffect[] DeathEffects { get; set; }
|
public RDeathEffect[] DeathEffects { get; set; } = null!;
|
||||||
public IHealthable CHealth { get; set; }
|
public IHealthable CHealth { get; set; } = null!;
|
||||||
|
|
||||||
[ExportGroup("Damage")]
|
[ExportGroup("Damage")]
|
||||||
[Export]
|
[Export]
|
||||||
public RDamage RDamage { get; set; }
|
public RDamage RDamage { get; set; } = null!;
|
||||||
public IDamageable CDamageable { get; set; }
|
public IDamageable CDamageable { get; set; } = null!;
|
||||||
|
|
||||||
[Export]
|
[Export]
|
||||||
public RKnockback RKnockback { get; set; }
|
public RKnockback RKnockback { get; set; } = null!;
|
||||||
public IKnockbackable CKnockback { get; set; }
|
public IKnockbackable CKnockback { get; set; } = null!;
|
||||||
|
|
||||||
[ExportGroup("Movement")]
|
[ExportGroup("Movement")]
|
||||||
[Export]
|
[Export]
|
||||||
public RMovement RMovement { get; set; }
|
public RMovement RMovement { get; set; } = null!;
|
||||||
public IMoveable CMovement { get; set; }
|
public IMoveable CMovement { get; set; } = null!;
|
||||||
|
|
||||||
// Public stuff
|
// Public stuff
|
||||||
public float CurrentHealth
|
public float CurrentHealth
|
||||||
@@ -55,9 +56,9 @@ public partial class Enemy : CharacterBody3D,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Private stuff
|
// Private stuff
|
||||||
private Area3D _damageBox;
|
private Area3D _damageBox = null!;
|
||||||
private Node3D _target;
|
internal Node3D _target = null!;
|
||||||
private Healthbar _healthbar;
|
private Healthbar _healthbar = null!;
|
||||||
|
|
||||||
public override void _Ready()
|
public override void _Ready()
|
||||||
{
|
{
|
||||||
@@ -70,34 +71,28 @@ public partial class Enemy : CharacterBody3D,
|
|||||||
_damageBox = GetNode<Area3D>("DamageBox");
|
_damageBox = GetNode<Area3D>("DamageBox");
|
||||||
_target = GetNode<Node3D>("CTarget");
|
_target = GetNode<Node3D>("CTarget");
|
||||||
|
|
||||||
CDamageable = GetNode<Node>("CDamageable") as IDamageable;
|
CDamageable = (GetNode<Node>("CDamageable") as IDamageable)!;
|
||||||
CMovement = GetNode<Node>("CMovement") as IMoveable;
|
CMovement = (GetNode<Node>("CMovement") as IMoveable)!;
|
||||||
CHealth = GetNode<Node>("CHealth") as IHealthable;
|
CHealth = (GetNode<Node>("CHealth") as IHealthable)!;
|
||||||
CKnockback = GetNode<Node>("CKnockback") as IKnockbackable;
|
CKnockback = (GetNode<Node>("CKnockback") as IKnockbackable)!;
|
||||||
if (CDamageable is null) GD.PrintErr("This node needs a 'CDamage' child of type IDamageable!");
|
|
||||||
if (CMovement is null) GD.PrintErr("This node needs a 'CMovement' child of type IMoveable!");
|
|
||||||
if (CHealth is null) GD.PrintErr("This node needs a 'CHealth' child of type IHealthable!");
|
|
||||||
if (CKnockback is null) GD.PrintErr("This node needs a 'CKnockback' child of type IKnockbackable!");
|
|
||||||
|
|
||||||
_healthbar = GetNode<CHealthbar>("CHealthBar").Healthbar;
|
_healthbar = GetNode<CHealthbar>("CHealthBar").Healthbar;
|
||||||
|
|
||||||
if (RMovement != null) CMovement!.RMovement = RMovement;
|
CMovement.RMovement = RMovement;
|
||||||
if (RHealth != null)
|
CHealth.RHealth = RHealth;
|
||||||
{
|
CHealth.CurrentHealth = RHealth.StartingHealth;
|
||||||
CHealth!.RHealth = RHealth;
|
CKnockback.RKnockback = RKnockback;
|
||||||
CHealth.CurrentHealth = RHealth.StartingHealth;
|
|
||||||
}
|
_healthbar.Initialize(CHealth.CurrentHealth);
|
||||||
if (RKnockback != null) CKnockback!.RKnockback = RKnockback;
|
|
||||||
_healthbar.Initialize(CHealth!.CurrentHealth);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetupSignals()
|
public void SetupSignals()
|
||||||
{
|
{
|
||||||
// Anonymous function call to erase return values of ReduceHealth
|
// Anonymous function call to erase return values of ReduceHealth
|
||||||
CDamageable.DamageTaken += (source, record) => ReduceHealth(source, record);
|
CDamageable.DamageTaken += (source, record) => ReduceHealth(source, record);
|
||||||
CDamageable.DamageTaken += (source, record) => RegisterKnockback(new KnockbackRecord(record));
|
CDamageable.DamageTaken += (_, record) => RegisterKnockback(new KnockbackRecord(record));
|
||||||
CHealth.HealthDepleted += Kill;
|
CHealth.HealthDepleted += Kill;
|
||||||
HealthChanged += (source, record) => _healthbar.SetHealth(record.CurrentHealth);
|
HealthChanged += (_, record) => _healthbar.SetHealth(record.CurrentHealth);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void _PhysicsProcess(double delta)
|
public override void _PhysicsProcess(double delta)
|
||||||
@@ -187,24 +182,21 @@ public partial class Enemy : CharacterBody3D,
|
|||||||
|
|
||||||
public void RegisterKnockback(KnockbackRecord knockbackRecord)
|
public void RegisterKnockback(KnockbackRecord knockbackRecord)
|
||||||
{
|
{
|
||||||
if (CKnockback is null) return;
|
|
||||||
CKnockback.RegisterKnockback(knockbackRecord);
|
CKnockback.RegisterKnockback(knockbackRecord);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector3 ComputeKnockback()
|
public Vector3 ComputeKnockback()
|
||||||
{
|
{
|
||||||
if (CKnockback is null) return Vector3.Zero;
|
|
||||||
return CKnockback.ComputeKnockback();
|
return CKnockback.ComputeKnockback();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector3 GetTargetGlobalPosition()
|
public Vector3 GetTargetGlobalPosition()
|
||||||
{
|
{
|
||||||
if (_target is null) return GlobalPosition;
|
return _target == null ? GlobalPosition : _target.GlobalPosition;
|
||||||
return _target.GlobalPosition;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stun management
|
// Stun management
|
||||||
public bool IsStunned { get; set; } = false;
|
public bool IsStunned { get; set; }
|
||||||
|
|
||||||
[Export(PropertyHint.Range, "0.1, 2, 0.1, or_greater")]
|
[Export(PropertyHint.Range, "0.1, 2, 0.1, or_greater")]
|
||||||
public float StunDuration { get; set; } = 1f;
|
public float StunDuration { get; set; } = 1f;
|
||||||
|
|||||||
@@ -1154,6 +1154,12 @@ delay_in_seconds = "0.0"
|
|||||||
[node name="Hanging" type="Node" parent="StateChart/Root/Movement/OnWall" unique_id=1208015492]
|
[node name="Hanging" type="Node" parent="StateChart/Root/Movement/OnWall" unique_id=1208015492]
|
||||||
script = ExtResource("27_34snm")
|
script = ExtResource("27_34snm")
|
||||||
|
|
||||||
|
[node name="OnMove" type="Node" parent="StateChart/Root/Movement/OnWall/Hanging" unique_id=751408886]
|
||||||
|
script = ExtResource("28_n7qhm")
|
||||||
|
to = NodePath("../../Hugging")
|
||||||
|
event = &"move"
|
||||||
|
delay_in_seconds = "0.0"
|
||||||
|
|
||||||
[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")
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Movementtests.interfaces;
|
|||||||
[GlobalClass, Icon("res://assets/ui/IconGodotNode/control/icon_text_panel.png")]
|
[GlobalClass, Icon("res://assets/ui/IconGodotNode/control/icon_text_panel.png")]
|
||||||
public partial class PlayerUi : Control
|
public partial class PlayerUi : Control
|
||||||
{
|
{
|
||||||
private TextureRect[] _dashIcons = new TextureRect[3];
|
internal TextureRect[] _dashIcons = new TextureRect[3];
|
||||||
private TextureRect _enemyTarget;
|
private TextureRect _enemyTarget;
|
||||||
private Healthbar _healthbar;
|
private Healthbar _healthbar;
|
||||||
|
|
||||||
|
|||||||
@@ -26,18 +26,18 @@ public partial class DashSystem: Node3D
|
|||||||
public Vector3 PlannedMantleLocation { get; set; }
|
public Vector3 PlannedMantleLocation { get; set; }
|
||||||
public MantleSystem MantleSystem { get; set; }
|
public MantleSystem MantleSystem { get; set; }
|
||||||
|
|
||||||
private HeadSystem _head;
|
internal HeadSystem _head;
|
||||||
public ShapeCast3D DashCast3D;
|
public ShapeCast3D DashCast3D;
|
||||||
private Camera3D _camera;
|
internal Camera3D _camera;
|
||||||
private Vector3 _dashDirection = Vector3.Zero;
|
internal Vector3 _dashDirection = Vector3.Zero;
|
||||||
|
|
||||||
private ShapeCast3D _dashCastDrop;
|
internal ShapeCast3D _dashCastDrop;
|
||||||
private MeshInstance3D _dashDropIndicator;
|
internal MeshInstance3D _dashDropIndicator;
|
||||||
private MeshInstance3D _dashDropLocationIndicator;
|
internal MeshInstance3D _dashDropLocationIndicator;
|
||||||
|
|
||||||
private MeshInstance3D _dashTarget;
|
internal MeshInstance3D _dashTarget;
|
||||||
private CpuParticles3D _dashIndicator;
|
internal CpuParticles3D _dashIndicator;
|
||||||
private AnimationPlayer _dashIndicatorAnim;
|
internal AnimationPlayer _dashIndicatorAnim;
|
||||||
|
|
||||||
[Export]
|
[Export]
|
||||||
public PackedScene DashIndicatorScene { get; set; }
|
public PackedScene DashIndicatorScene { get; set; }
|
||||||
@@ -77,7 +77,7 @@ public partial class DashSystem: Node3D
|
|||||||
_dashIndicatorAnim = GetNode<AnimationPlayer>("DashIndicator/AnimationPlayer");
|
_dashIndicatorAnim = GetNode<AnimationPlayer>("DashIndicator/AnimationPlayer");
|
||||||
}
|
}
|
||||||
|
|
||||||
private DashLocation ComputeDashLocation()
|
internal DashLocation ComputeDashLocation()
|
||||||
{
|
{
|
||||||
var targetLocation = DashCast3D.ToGlobal(DashCast3D.TargetPosition);
|
var targetLocation = DashCast3D.ToGlobal(DashCast3D.TargetPosition);
|
||||||
var hasHit = DashCast3D.IsColliding();
|
var hasHit = DashCast3D.IsColliding();
|
||||||
|
|||||||
@@ -39,10 +39,10 @@ public partial class HeadSystem : Node3D
|
|||||||
float BobbingMultiplier,
|
float BobbingMultiplier,
|
||||||
float FovMultiplier);
|
float FovMultiplier);
|
||||||
|
|
||||||
private Camera3D _camera;
|
internal Camera3D _camera;
|
||||||
private Marker3D _cameraAnchor;
|
internal Marker3D _cameraAnchor;
|
||||||
private AnimationPlayer _animationPlayer;
|
internal AnimationPlayer _animationPlayer;
|
||||||
private AnimationTree _animationTree;
|
internal AnimationTree _animationTree;
|
||||||
|
|
||||||
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
||||||
public float LookSensitivity { get; set; } = 1f;
|
public float LookSensitivity { get; set; } = 1f;
|
||||||
@@ -63,11 +63,11 @@ public partial class HeadSystem : Node3D
|
|||||||
[Export(PropertyHint.Range, "0,1,0.01,or_greater")]
|
[Export(PropertyHint.Range, "0,1,0.01,or_greater")]
|
||||||
public float SlidingJitterAmplitude { get; set; } = 0.1f;
|
public float SlidingJitterAmplitude { get; set; } = 0.1f;
|
||||||
|
|
||||||
private FastNoiseLite _slidingNoise = new FastNoiseLite();
|
internal FastNoiseLite _slidingNoise = new FastNoiseLite();
|
||||||
|
|
||||||
[ExportGroup("Bobbing")]
|
[ExportGroup("Bobbing")]
|
||||||
|
|
||||||
private float _bobbingAccumulator; // Constantly increases when player moves in X or/and Z axis
|
internal float _bobbingAccumulator; // Constantly increases when player moves in X or/and Z axis
|
||||||
[Export(PropertyHint.Range, "0,10,0.01,or_greater")]
|
[Export(PropertyHint.Range, "0,10,0.01,or_greater")]
|
||||||
public float BobbingFrequency { set; get; } = 2.4f;
|
public float BobbingFrequency { set; get; } = 2.4f;
|
||||||
[Export(PropertyHint.Range, "0,0.4,0.01,or_greater")]
|
[Export(PropertyHint.Range, "0,0.4,0.01,or_greater")]
|
||||||
@@ -84,11 +84,11 @@ public partial class HeadSystem : Node3D
|
|||||||
public float FovMaxedOutSpeed { get; set; } = 20f;
|
public float FovMaxedOutSpeed { get; set; } = 20f;
|
||||||
|
|
||||||
[ExportGroup("First Person rig")]
|
[ExportGroup("First Person rig")]
|
||||||
private Node3D _fpRig;
|
internal Node3D _fpRig;
|
||||||
private Node3D _rightHandedWeapon;
|
internal Node3D _rightHandedWeapon;
|
||||||
private Node3D _leftHandedWeapon;
|
internal Node3D _leftHandedWeapon;
|
||||||
private Node3D _fpDisplacedRig;
|
internal Node3D _fpDisplacedRig;
|
||||||
private Vector3 _fpDisplacedRigInitialRotation;
|
internal Vector3 _fpDisplacedRigInitialRotation;
|
||||||
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
||||||
public float WeaponSway { get; set; } = 5f;
|
public float WeaponSway { get; set; } = 5f;
|
||||||
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
||||||
@@ -190,8 +190,8 @@ public partial class HeadSystem : Node3D
|
|||||||
EmitSignalHitboxDeactivated();
|
EmitSignalHitboxDeactivated();
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool _footstepEmitted;
|
internal bool _footstepEmitted;
|
||||||
private bool _isPlayingForcingAnim;
|
internal bool _isPlayingForcingAnim;
|
||||||
|
|
||||||
public void ResetHeadBobbing()
|
public void ResetHeadBobbing()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -265,8 +265,8 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
private float _inputRotateFloorplane;
|
private float _inputRotateFloorplane;
|
||||||
|
|
||||||
// Basic falling
|
// Basic falling
|
||||||
private float _targetSpeed;
|
internal float _targetSpeed;
|
||||||
private float _gravity;
|
internal float _gravity;
|
||||||
|
|
||||||
// Jump stuff
|
// Jump stuff
|
||||||
private int _currentInputBufferFrames;
|
private int _currentInputBufferFrames;
|
||||||
@@ -290,7 +290,7 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
private Vector3 _currentWallContactPoint = Vector3.Zero;
|
private Vector3 _currentWallContactPoint = Vector3.Zero;
|
||||||
|
|
||||||
// Dash stuff
|
// Dash stuff
|
||||||
private bool _canDash = true;
|
internal bool _canDash = true;
|
||||||
private bool _canDashAirborne = true;
|
private bool _canDashAirborne = true;
|
||||||
private float _playerHeight;
|
private float _playerHeight;
|
||||||
private float _playerRadius;
|
private float _playerRadius;
|
||||||
@@ -1200,10 +1200,8 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private float _timeOnWall;
|
|
||||||
public void OnWallStarted()
|
public void OnWallStarted()
|
||||||
{
|
{
|
||||||
_timeOnWall = 0f;
|
|
||||||
if (_simpleDashCooldownTimer.IsStopped())
|
if (_simpleDashCooldownTimer.IsStopped())
|
||||||
_canDash = true;
|
_canDash = true;
|
||||||
else
|
else
|
||||||
@@ -1219,7 +1217,6 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
}
|
}
|
||||||
public void OnWallStopped()
|
public void OnWallStopped()
|
||||||
{
|
{
|
||||||
_timeOnWall = 0f;
|
|
||||||
}
|
}
|
||||||
public void OnLeaveWallFromRun()
|
public void OnLeaveWallFromRun()
|
||||||
{
|
{
|
||||||
@@ -1229,7 +1226,6 @@ public partial class PlayerController : CharacterBody3D,
|
|||||||
{
|
{
|
||||||
// _canDash = true;
|
// _canDash = true;
|
||||||
// _canDashAirborne = true;
|
// _canDashAirborne = true;
|
||||||
_timeOnWall += delta;
|
|
||||||
|
|
||||||
if (IsInputTowardsWall(_wallHugStartNormal))
|
if (IsInputTowardsWall(_wallHugStartNormal))
|
||||||
WallHug(delta);
|
WallHug(delta);
|
||||||
@@ -1264,7 +1260,6 @@ 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);
|
||||||
@@ -1393,9 +1388,10 @@ 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;
|
||||||
|
if (GetGlobalMoveInput().Length() > Mathf.Epsilon)
|
||||||
|
_playerState.SendEvent("move");
|
||||||
}
|
}
|
||||||
public bool IsFacingWall()
|
public bool IsFacingWall()
|
||||||
{
|
{
|
||||||
@@ -2322,6 +2318,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,8 @@
|
|||||||
[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"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cjh5cnvdbq5ku" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_b_outline.svg" id="3_njayx"]
|
||||||
|
|
||||||
[sub_resource type="LabelSettings" id="LabelSettings_4vbx1"]
|
[sub_resource type="LabelSettings" id="LabelSettings_4vbx1"]
|
||||||
font_size = 30
|
font_size = 30
|
||||||
@@ -50,19 +52,43 @@ 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")
|
||||||
|
stretch_mode = 3
|
||||||
|
|
||||||
[node name="ComplexInputLabel" type="Label" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=103193503]
|
[node name="first_plus_sign" type="Label" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=1236204840]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
text = "+"
|
||||||
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]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
texture = ExtResource("3_njayx")
|
||||||
|
stretch_mode = 3
|
||||||
|
|
||||||
|
[node name="second_plus_sign" type="Label" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=632487691]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
text = "+"
|
||||||
|
label_settings = SubResource("LabelSettings_4vbx1")
|
||||||
|
|
||||||
|
[node name="ThirdInput" type="TextureRect" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=150712319]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
texture = ExtResource("3_njayx")
|
||||||
|
stretch_mode = 3
|
||||||
|
|
||||||
|
[node name="ComplexInputLabel" type="Label" parent="Control/PanelContainer/MarginContainer/HBoxContainer/MultipleInputsContainer" unique_id=103193503]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
text = "while airborne"
|
||||||
|
label_settings = SubResource("LabelSettings_4vbx1")
|
||||||
|
|
||||||
[node name="TutoText" type="Label" parent="Control/PanelContainer/MarginContainer/HBoxContainer" unique_id=970615593]
|
[node name="TutoText" type="Label" parent="Control/PanelContainer/MarginContainer/HBoxContainer" unique_id=970615593]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
text = "jump"
|
||||||
label_settings = SubResource("LabelSettings_g04tr")
|
label_settings = SubResource("LabelSettings_g04tr")
|
||||||
|
|
||||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||||
|
|||||||
@@ -1,38 +1,69 @@
|
|||||||
extends Area3D
|
extends Area3D
|
||||||
class_name TutoTrigger
|
class_name TutoTrigger
|
||||||
|
|
||||||
@onready var control: Control = $Control
|
@export_group("First input")
|
||||||
|
@export var first_input_icon: Texture
|
||||||
|
@export var first_input_icon_keyboard: Texture
|
||||||
|
@export_group("Second input")
|
||||||
|
@export var second_input_icon: Texture
|
||||||
|
@export var second_input_icon_keyboard: Texture
|
||||||
|
@export_group("Third input")
|
||||||
|
@export var third_input_icon: Texture
|
||||||
|
@export var third_input_icon_keyboard: Texture
|
||||||
|
|
||||||
@onready var multiple_inputs_container: HBoxContainer = %MultipleInputsContainer
|
@export_group("Text")
|
||||||
@onready var first_input: TextureRect = %FirstInput
|
@export var input_related_text: String
|
||||||
@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 control: Control = $Control
|
||||||
|
@onready var inputs_container: HBoxContainer = %MultipleInputsContainer
|
||||||
|
@onready var first_input: TextureRect = %FirstInput
|
||||||
|
@onready var first_plus_sign: Label = %first_plus_sign
|
||||||
|
@onready var second_input: TextureRect = %SecondInput
|
||||||
|
@onready var second_plus_sign: Label = %second_plus_sign
|
||||||
|
@onready var third_input: TextureRect = %ThirdInput
|
||||||
|
@onready var complex_input_label: Label = %ComplexInputLabel
|
||||||
|
@onready var tuto_text_label: Label = %TutoText
|
||||||
|
|
||||||
|
var current_input_method = GlobalHelpers.GamepadDetectionEvent.GAMEPAD
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
tuto_label.text = tuto_text
|
complex_input_label.visible = !input_related_text.is_empty()
|
||||||
first_input.texture = first_input_texture
|
complex_input_label.text = input_related_text
|
||||||
second_input.texture = second_input_texture
|
tuto_text_label.text = tuto_text
|
||||||
complex_input_label.text = complex_input_text
|
|
||||||
|
|
||||||
if second_input_texture != null:
|
_on_input_mappings_changed()
|
||||||
complex_input_label.text = "+"
|
|
||||||
|
|
||||||
if second_input_texture == null and complex_input_text.is_empty():
|
func _input(event: InputEvent) -> void:
|
||||||
complex_input_label.visible = false
|
var event_gamepad = GlobalHelpers.is_event_gamepad(event)
|
||||||
second_input.visible = false
|
if event_gamepad == GlobalHelpers.GamepadDetectionEvent.IRRELEVANT:
|
||||||
|
return
|
||||||
|
if current_input_method == event_gamepad:
|
||||||
|
return
|
||||||
|
|
||||||
|
current_input_method = event_gamepad
|
||||||
|
_on_input_mappings_changed()
|
||||||
|
|
||||||
|
func _on_input_mappings_changed():
|
||||||
|
var is_gamepad = current_input_method == GlobalHelpers.GamepadDetectionEvent.GAMEPAD
|
||||||
|
|
||||||
|
first_input.visible = first_input_icon != null
|
||||||
|
if first_input.visible:
|
||||||
|
first_input.texture = first_input_icon if is_gamepad else first_input_icon_keyboard
|
||||||
|
|
||||||
|
second_input.visible = second_input_icon != null
|
||||||
|
first_plus_sign.visible = second_input.visible
|
||||||
|
if second_input.visible:
|
||||||
|
second_input.texture = second_input_icon if is_gamepad else second_input_icon_keyboard
|
||||||
|
|
||||||
|
third_input.visible = third_input_icon != null
|
||||||
|
second_plus_sign.visible = third_input.visible
|
||||||
|
if third_input.visible:
|
||||||
|
third_input.texture = third_input_icon if is_gamepad else third_input_icon_keyboard
|
||||||
|
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
namespace Movementtests.tests;
|
|
||||||
|
|
||||||
using GdUnit4;
|
|
||||||
using static GdUnit4.Assertions;
|
|
||||||
|
|
||||||
[TestSuite]
|
|
||||||
public class ExampleTest
|
|
||||||
{
|
|
||||||
[Before]
|
|
||||||
public void Setup() {
|
|
||||||
// Setup suite-level shared resources, expensive setup
|
|
||||||
}
|
|
||||||
|
|
||||||
[After]
|
|
||||||
public void Cleanup() {
|
|
||||||
// Cleanup suite-level shared resources, expensive setup
|
|
||||||
}
|
|
||||||
|
|
||||||
[TestCase]
|
|
||||||
public void StringToLower() {
|
|
||||||
AssertString("AbcD".ToLower()).IsEqual("abcd");
|
|
||||||
}
|
|
||||||
|
|
||||||
[TestCase]
|
|
||||||
public void StringToUpper() {
|
|
||||||
AssertString("AbcD".ToUpper()).IsEqual("ABCD");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
uid://cs8i2bp4wr00u
|
|
||||||
59
tests/components/DamageComponentUnitTest.cs
Normal file
59
tests/components/DamageComponentUnitTest.cs
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
using Godot;
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
using Movementtests.systems.damage;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class DamageComponentUnitTest
|
||||||
|
{
|
||||||
|
[TestCase]
|
||||||
|
public void DamageModifier_Applies_WhenTypeMatches()
|
||||||
|
{
|
||||||
|
var modifier = new RDamageModifier(EDamageTypes.Normal, 2.0f);
|
||||||
|
var input = new DamageRecord(Vector3.Zero, new RDamage(10.0f, EDamageTypes.Normal));
|
||||||
|
|
||||||
|
var result = modifier.TakeDamage(input);
|
||||||
|
AssertFloat(result.Damage.DamageDealt).IsEqual(20.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void DamageModifier_Ignores_WhenTypeDifferent()
|
||||||
|
{
|
||||||
|
var modifier = new RDamageModifier(EDamageTypes.Fire, 3.0f);
|
||||||
|
var input = new DamageRecord(Vector3.Zero, new RDamage(10.0f, EDamageTypes.Normal));
|
||||||
|
|
||||||
|
var result = modifier.TakeDamage(input);
|
||||||
|
AssertFloat(result.Damage.DamageDealt).IsEqual(0.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void CDamageable_Sums_All_Modifiers()
|
||||||
|
{
|
||||||
|
var mod1 = new RDamageModifier(EDamageTypes.Normal, 1.0f);
|
||||||
|
var mod2 = new RDamageModifier(EDamageTypes.Normal, 0.5f);
|
||||||
|
|
||||||
|
var cDamageable = new CDamageable();
|
||||||
|
cDamageable.DamageModifiers = new[] { mod1, mod2 };
|
||||||
|
|
||||||
|
var input = new DamageRecord(Vector3.Zero, new RDamage(10.0f, EDamageTypes.Normal));
|
||||||
|
var result = cDamageable.TakeDamage(input);
|
||||||
|
|
||||||
|
// 10*1.0 + 10*0.5 = 15
|
||||||
|
AssertFloat(result.Damage.DamageDealt).IsEqual(15.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void CDamageable_ComputeDamage_DoesNotEmit()
|
||||||
|
{
|
||||||
|
var mod = new RDamageModifier(EDamageTypes.Normal, 2.0f);
|
||||||
|
var cDamageable = new CDamageable();
|
||||||
|
cDamageable.DamageModifiers = new[] { mod };
|
||||||
|
|
||||||
|
var input = new DamageRecord(Vector3.Zero, new RDamage(5.0f, EDamageTypes.Normal));
|
||||||
|
var result = cDamageable.ComputeDamage(input);
|
||||||
|
AssertFloat(result.Damage.DamageDealt).IsEqual(10.0f);
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/components/DamageComponentUnitTest.cs.uid
Normal file
1
tests/components/DamageComponentUnitTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://db6rva7uccppc
|
||||||
56
tests/components/HealthComponentUnitTest.cs
Normal file
56
tests/components/HealthComponentUnitTest.cs
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
using Godot;
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
using Movementtests.systems.damage;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class HealthComponentUnitTest
|
||||||
|
{
|
||||||
|
[TestCase]
|
||||||
|
public void ReadyInitializesCurrentHealth()
|
||||||
|
{
|
||||||
|
var cHealth = new CHealth();
|
||||||
|
cHealth.RHealth = new RHealth(150.0f);
|
||||||
|
// Simulate Godot ready
|
||||||
|
cHealth._Ready();
|
||||||
|
AssertFloat(cHealth.CurrentHealth).IsEqual(150.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void ReduceHealthDecreasesAndDoesNotDeplete()
|
||||||
|
{
|
||||||
|
var cHealth = new CHealth();
|
||||||
|
cHealth.RHealth = new RHealth(100.0f);
|
||||||
|
cHealth.CurrentHealth = 100.0f;
|
||||||
|
|
||||||
|
var damage = new DamageRecord(Vector3.Zero, new RDamage(25.0f, EDamageTypes.Normal));
|
||||||
|
var record = cHealth.ReduceHealth(source: null!, damageRecord: damage);
|
||||||
|
|
||||||
|
AssertFloat(cHealth.CurrentHealth).IsEqual(75.0f);
|
||||||
|
AssertFloat(record.CurrentHealth).IsEqual(75.0f);
|
||||||
|
AssertFloat(record.PreviousHealth).IsEqual(100.0f);
|
||||||
|
AssertFloat(record.MaxHealth).IsEqual(100.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void ReduceHealthTriggersDepletionToZero()
|
||||||
|
{
|
||||||
|
var cHealth = new CHealth();
|
||||||
|
cHealth.RHealth = new RHealth(50.0f);
|
||||||
|
cHealth.CurrentHealth = 50.0f;
|
||||||
|
|
||||||
|
bool depleted = false;
|
||||||
|
cHealth.HealthDepleted += _ => depleted = true;
|
||||||
|
|
||||||
|
var damage = new DamageRecord(Vector3.Zero, new RDamage(100.0f, EDamageTypes.Normal));
|
||||||
|
var record = cHealth.ReduceHealth(source: null!, damageRecord: damage);
|
||||||
|
|
||||||
|
AssertBool(depleted).IsTrue();
|
||||||
|
AssertFloat(cHealth.CurrentHealth).IsEqual(0.0f);
|
||||||
|
AssertFloat(record.CurrentHealth).IsEqual(-50.0f);
|
||||||
|
AssertFloat(record.MaxHealth).IsEqual(50.0f);
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/components/HealthComponentUnitTest.cs.uid
Normal file
1
tests/components/HealthComponentUnitTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://bd52i51hncgmf
|
||||||
31
tests/components/KnockbackComponentUnitTest.cs
Normal file
31
tests/components/KnockbackComponentUnitTest.cs
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
using Godot;
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class KnockbackComponentUnitTest
|
||||||
|
{
|
||||||
|
[TestCase]
|
||||||
|
public void RegisterAndComputeKnockback_Works_And_Resets()
|
||||||
|
{
|
||||||
|
var cKnock = new CKnockback();
|
||||||
|
cKnock.RKnockback = new RKnockback(2.0f);
|
||||||
|
cKnock.GlobalPosition = Vector3.Zero;
|
||||||
|
|
||||||
|
var damage = new DamageRecord(new Vector3(10, 0, 0), new RDamage(0, Movementtests.systems.damage.EDamageTypes.Normal));
|
||||||
|
var record = new KnockbackRecord(damage, 1.5f);
|
||||||
|
|
||||||
|
cKnock.RegisterKnockback(record);
|
||||||
|
var force = cKnock.ComputeKnockback();
|
||||||
|
|
||||||
|
// Direction from source(10,0,0) to target(0,0,0) is (-1,0,0), scaled by modifier(2) and multiplier(1.5) => (-3,0,0)
|
||||||
|
AssertVector(force).IsEqual(new Vector3(-3, 0, 0));
|
||||||
|
|
||||||
|
// Second call returns zero since internal state resets
|
||||||
|
var second = cKnock.ComputeKnockback();
|
||||||
|
AssertVector(second).IsEqual(Vector3.Zero);
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/components/KnockbackComponentUnitTest.cs.uid
Normal file
1
tests/components/KnockbackComponentUnitTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://bv0eionbgbig5
|
||||||
32
tests/components/MovementSystemUnitTest.cs
Normal file
32
tests/components/MovementSystemUnitTest.cs
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
using Godot;
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
using Movementtests.scenes.movement;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class MovementSystemUnitTest
|
||||||
|
{
|
||||||
|
[TestCase]
|
||||||
|
public void GroundedMovement_Accelerates_And_Applies_Gravity()
|
||||||
|
{
|
||||||
|
var move = new CGroundedMovement();
|
||||||
|
move.RMovement = new RMovement(speed: 10.0f, acceleration: 1.0f, gravityModifier: 0.5f, targetHeight: 0.0f);
|
||||||
|
move.WallInFrontRayCast = new RayCast3D();
|
||||||
|
move.GlobalPosition = Vector3.Zero;
|
||||||
|
|
||||||
|
var inputs = new MovementInputs(
|
||||||
|
Velocity: Vector3.Zero,
|
||||||
|
TargetLocation: new Vector3(10, 0, 0),
|
||||||
|
isOnFloor: false,
|
||||||
|
gravity: Vector3.Down * 9.8f,
|
||||||
|
delta: 1.0
|
||||||
|
);
|
||||||
|
|
||||||
|
var v = move.ComputeVelocity(inputs);
|
||||||
|
|
||||||
|
AssertVector(v).IsEqualApprox(new Vector3(10, -4.9f, 0), new Vector3(0.0001f, 0.0001f, 0.0001f));
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/components/MovementSystemUnitTest.cs.uid
Normal file
1
tests/components/MovementSystemUnitTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://cofj5s4x74ay
|
||||||
78
tests/enemies/EnemyUnitTest.cs
Normal file
78
tests/enemies/EnemyUnitTest.cs
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
using Godot;
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
using Movementtests.systems.damage;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class EnemyUnitTest
|
||||||
|
{
|
||||||
|
[TestCase]
|
||||||
|
public void ComputeDamage_NoComponent_ReturnsZero()
|
||||||
|
{
|
||||||
|
var enemy = new Enemy();
|
||||||
|
var input = new DamageRecord(Vector3.Zero, new RDamage(10.0f, EDamageTypes.Normal));
|
||||||
|
|
||||||
|
var result = enemy.ComputeDamage(input);
|
||||||
|
AssertFloat(result.Damage.DamageDealt).IsEqual(0.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TakeDamage_WithCDamageable_AggregatesDamage()
|
||||||
|
{
|
||||||
|
var enemy = new Enemy();
|
||||||
|
var cDamage = new CDamageable();
|
||||||
|
cDamage.DamageModifiers = new[]
|
||||||
|
{
|
||||||
|
new RDamageModifier(EDamageTypes.Normal, 1.0f),
|
||||||
|
new RDamageModifier(EDamageTypes.Normal, 2.0f)
|
||||||
|
};
|
||||||
|
enemy.CDamageable = cDamage;
|
||||||
|
|
||||||
|
var input = new DamageRecord(Vector3.Zero, new RDamage(10.0f, EDamageTypes.Normal));
|
||||||
|
var result = enemy.TakeDamage(input);
|
||||||
|
AssertFloat(result.Damage.DamageDealt).IsEqual(30.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void ReduceHealth_WithCHealth_Decreases()
|
||||||
|
{
|
||||||
|
var enemy = new Enemy();
|
||||||
|
var health = new CHealth { RHealth = new RHealth(100.0f), CurrentHealth = 100.0f };
|
||||||
|
enemy.CHealth = health;
|
||||||
|
|
||||||
|
var input = new DamageRecord(Vector3.Zero, new RDamage(25.0f, EDamageTypes.Normal));
|
||||||
|
var record = enemy.ReduceHealth(enemy, input);
|
||||||
|
|
||||||
|
AssertFloat(health.CurrentHealth).IsEqual(75.0f);
|
||||||
|
AssertFloat(record.CurrentHealth).IsEqual(75.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void Knockback_Register_And_Compute()
|
||||||
|
{
|
||||||
|
var enemy = new Enemy();
|
||||||
|
var cKnock = new CKnockback { RKnockback = new RKnockback(1.0f) };
|
||||||
|
enemy.CKnockback = cKnock;
|
||||||
|
enemy.GlobalPosition = Vector3.Zero;
|
||||||
|
cKnock.GlobalPosition = Vector3.Zero;
|
||||||
|
|
||||||
|
var dmg = new DamageRecord(new Vector3(5, 0, 0), new RDamage(0, EDamageTypes.Normal));
|
||||||
|
var krec = new KnockbackRecord(dmg, 2.0f);
|
||||||
|
enemy.RegisterKnockback(krec);
|
||||||
|
|
||||||
|
var k = enemy.ComputeKnockback();
|
||||||
|
AssertVector(k).IsEqual(new Vector3(-2, 0, 0));
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void Unstun_ResetsFlag()
|
||||||
|
{
|
||||||
|
var enemy = new Enemy();
|
||||||
|
enemy.IsStunned = true;
|
||||||
|
enemy.Unstun();
|
||||||
|
AssertBool(enemy.IsStunned).IsFalse();
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/enemies/EnemyUnitTest.cs.uid
Normal file
1
tests/enemies/EnemyUnitTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://cojxgcs6xqqoq
|
||||||
55
tests/player/DashSystemUnitTest.cs
Normal file
55
tests/player/DashSystemUnitTest.cs
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
using Godot;
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
using Movementtests.systems;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class DashSystemUnitTest
|
||||||
|
{
|
||||||
|
private DashSystem _dashSystem;
|
||||||
|
|
||||||
|
[BeforeTest]
|
||||||
|
public void SetupTest()
|
||||||
|
{
|
||||||
|
_dashSystem = new DashSystem();
|
||||||
|
|
||||||
|
_dashSystem.DashCast3D = new ShapeCast3D();
|
||||||
|
_dashSystem.AddChild(_dashSystem.DashCast3D);
|
||||||
|
|
||||||
|
_dashSystem._dashCastDrop = new ShapeCast3D();
|
||||||
|
_dashSystem.AddChild(_dashSystem._dashCastDrop);
|
||||||
|
|
||||||
|
_dashSystem._dashTarget = new MeshInstance3D();
|
||||||
|
_dashSystem.AddChild(_dashSystem._dashTarget);
|
||||||
|
|
||||||
|
_dashSystem._dashDropIndicator = new MeshInstance3D();
|
||||||
|
_dashSystem.AddChild(_dashSystem._dashDropIndicator);
|
||||||
|
|
||||||
|
_dashSystem._dashDropLocationIndicator = new MeshInstance3D();
|
||||||
|
_dashSystem.AddChild(_dashSystem._dashDropLocationIndicator);
|
||||||
|
}
|
||||||
|
|
||||||
|
[AfterTest]
|
||||||
|
public void CleanupTest()
|
||||||
|
{
|
||||||
|
_dashSystem?.Free();
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestStopPreparingDash()
|
||||||
|
{
|
||||||
|
_dashSystem.CanDashThroughTarget = true;
|
||||||
|
_dashSystem._dashTarget.Visible = true;
|
||||||
|
_dashSystem._dashDropIndicator.Visible = true;
|
||||||
|
_dashSystem._dashDropLocationIndicator.Visible = true;
|
||||||
|
|
||||||
|
_dashSystem.StopPreparingDash();
|
||||||
|
|
||||||
|
AssertBool(_dashSystem.CanDashThroughTarget).IsFalse();
|
||||||
|
AssertBool(_dashSystem._dashTarget.Visible).IsFalse();
|
||||||
|
AssertBool(_dashSystem._dashDropIndicator.Visible).IsFalse();
|
||||||
|
AssertBool(_dashSystem._dashDropLocationIndicator.Visible).IsFalse();
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/player/DashSystemUnitTest.cs.uid
Normal file
1
tests/player/DashSystemUnitTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://pv570go4cxws
|
||||||
91
tests/player/HeadSystemUnitTest.cs
Normal file
91
tests/player/HeadSystemUnitTest.cs
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
using Godot;
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
using Movementtests.systems;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class HeadSystemUnitTest
|
||||||
|
{
|
||||||
|
private HeadSystem _head;
|
||||||
|
|
||||||
|
[BeforeTest]
|
||||||
|
public void SetupTest()
|
||||||
|
{
|
||||||
|
_head = new HeadSystem();
|
||||||
|
_head._camera = new Camera3D();
|
||||||
|
_head.AddChild(_head._camera);
|
||||||
|
|
||||||
|
_head._cameraAnchor = new Marker3D();
|
||||||
|
_head.AddChild(_head._cameraAnchor);
|
||||||
|
|
||||||
|
_head._fpRig = new Node3D();
|
||||||
|
_head.AddChild(_head._fpRig);
|
||||||
|
|
||||||
|
_head._fpDisplacedRig = new Node3D();
|
||||||
|
_head.AddChild(_head._fpDisplacedRig);
|
||||||
|
}
|
||||||
|
|
||||||
|
[AfterTest]
|
||||||
|
public void CleanupTest()
|
||||||
|
{
|
||||||
|
_head?.Free();
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestResetHeadBobbing()
|
||||||
|
{
|
||||||
|
_head._bobbingAccumulator = 10.0f;
|
||||||
|
_head.ResetHeadBobbing();
|
||||||
|
AssertFloat(_head._bobbingAccumulator).IsEqual(0.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestComputeHowMuchInputForward()
|
||||||
|
{
|
||||||
|
Vector3 forwardInput = new Vector3(0, 0, -1);
|
||||||
|
AssertFloat(_head.ComputeHowMuchInputForward(forwardInput)).IsEqual(1.0f);
|
||||||
|
|
||||||
|
Vector3 backwardInput = new Vector3(0, 0, 1);
|
||||||
|
AssertFloat(_head.ComputeHowMuchInputForward(backwardInput)).IsEqual(-1.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestComputeHowMuchInputSideways()
|
||||||
|
{
|
||||||
|
Vector3 rightInput = new Vector3(1, 0, 0);
|
||||||
|
AssertFloat(_head.ComputeHowMuchInputSideways(rightInput)).IsEqual(1.0f);
|
||||||
|
|
||||||
|
Vector3 leftInput = new Vector3(-1, 0, 0);
|
||||||
|
AssertFloat(_head.ComputeHowMuchInputSideways(leftInput)).IsEqual(-1.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestGetForwardHorizontalVector()
|
||||||
|
{
|
||||||
|
Vector3 forward = _head.GetForwardHorizontalVector();
|
||||||
|
AssertVector(forward).IsEqualApprox(Vector3.Back, new Vector3(0.001f, 0.001f, 0.001f));
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestLookAroundRotation()
|
||||||
|
{
|
||||||
|
var inputs = new HeadSystem.CameraParameters(
|
||||||
|
Delta: 0.016,
|
||||||
|
LookDir: new Vector2(1, 0),
|
||||||
|
PlayerInput: Vector3.Zero,
|
||||||
|
PlayerVelocity: Vector3.Zero,
|
||||||
|
WallContactPoint: Vector3.Zero,
|
||||||
|
SensitivitMultiplier: 1.0f,
|
||||||
|
WithCameraJitter: false,
|
||||||
|
WithCameraBobbing: false,
|
||||||
|
BobbingMultiplier: 1.0f,
|
||||||
|
FovMultiplier: 1.0f
|
||||||
|
);
|
||||||
|
|
||||||
|
float initialY = _head.Rotation.Y;
|
||||||
|
_head.LookAround(inputs);
|
||||||
|
AssertFloat(_head.Rotation.Y).IsEqual(initialY + 1.0f);
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/player/HeadSystemUnitTest.cs.uid
Normal file
1
tests/player/HeadSystemUnitTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://bp0xn8k3dmfkg
|
||||||
149
tests/player/PlayerControllerUnitTest.cs
Normal file
149
tests/player/PlayerControllerUnitTest.cs
Normal file
@@ -0,0 +1,149 @@
|
|||||||
|
using Godot;
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
using Movementtests.systems.damage;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class PlayerControllerUnitTest
|
||||||
|
{
|
||||||
|
private PlayerController _player;
|
||||||
|
|
||||||
|
[BeforeTest]
|
||||||
|
public void SetupTest()
|
||||||
|
{
|
||||||
|
_player = new PlayerController();
|
||||||
|
_player._targetSpeed = 7.0f;
|
||||||
|
_player._gravity = 9.8f;
|
||||||
|
|
||||||
|
var rHealth = new RHealth(100.0f);
|
||||||
|
_player.RHealth = rHealth;
|
||||||
|
_player.CHealth = new CHealth { RHealth = rHealth, CurrentHealth = 100.0f };
|
||||||
|
}
|
||||||
|
|
||||||
|
[AfterTest]
|
||||||
|
public void CleanupTest()
|
||||||
|
{
|
||||||
|
_player?.Free();
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestCalculateGravityForce()
|
||||||
|
{
|
||||||
|
_player.Weight = 3.0f;
|
||||||
|
// gravity is 9.8f
|
||||||
|
AssertFloat(_player.CalculateGravityForce()).IsEqualApprox(29.4f, 0.001f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestIsPlayerInputtingForward()
|
||||||
|
{
|
||||||
|
// Test Keyboard Input
|
||||||
|
_player.InputDeviceChanged(false);
|
||||||
|
_player.OnInputMoveKeyboard(Vector3.Forward);
|
||||||
|
AssertBool(_player.IsPlayerInputtingForward()).IsTrue();
|
||||||
|
|
||||||
|
_player.OnInputMoveKeyboard(Vector3.Back);
|
||||||
|
AssertBool(_player.IsPlayerInputtingForward()).IsFalse();
|
||||||
|
|
||||||
|
// Test Gamepad Input
|
||||||
|
_player.InputDeviceChanged(true);
|
||||||
|
_player.OnInputMove(new Vector3(0, 0, -1));
|
||||||
|
AssertBool(_player.IsPlayerInputtingForward()).IsTrue();
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestSetVerticalVelocity()
|
||||||
|
{
|
||||||
|
_player.Velocity = new Vector3(1, 0, 2);
|
||||||
|
_player.SetVerticalVelocity(5.0f);
|
||||||
|
AssertVector(_player.Velocity).IsEqual(new Vector3(1, 5, 2));
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestComputeHVelocityGround()
|
||||||
|
{
|
||||||
|
_player.Velocity = Vector3.Zero;
|
||||||
|
_player.AccelerationFloor = 10.0f;
|
||||||
|
|
||||||
|
float delta = 0.1f;
|
||||||
|
Vector3 newVelocity = _player.ComputeHVelocity(delta, _player.AccelerationFloor, _player.DecelerationFloor, Vector3.Forward);
|
||||||
|
AssertVector(newVelocity).IsEqual(new Vector3(0, 0, -7.0f));
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestComputeHVelocityAir()
|
||||||
|
{
|
||||||
|
_player.Velocity = new Vector3(5, 0, 0);
|
||||||
|
_player.AccelerationAir = 2.0f;
|
||||||
|
_player.DecelerationAir = 2.0f;
|
||||||
|
|
||||||
|
float delta = 0.5f;
|
||||||
|
Vector3 newVelocity = _player.ComputeHVelocity(delta, _player.AccelerationAir, _player.DecelerationAir, Vector3.Zero);
|
||||||
|
|
||||||
|
AssertVector(newVelocity).IsEqual(Vector3.Zero);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestReduceHealth()
|
||||||
|
{
|
||||||
|
var damageRecord = new DamageRecord(Vector3.Zero, new RDamage(25.0f, EDamageTypes.Normal));
|
||||||
|
_player.ReduceHealth(_player, damageRecord);
|
||||||
|
AssertFloat(_player.CHealth.CurrentHealth).IsEqual(75.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestEmpoweredActionsLeft()
|
||||||
|
{
|
||||||
|
var mockUi = new PlayerUi();
|
||||||
|
var dashIcons = new TextureRect[3] { new TextureRect(), new TextureRect(), new TextureRect() };
|
||||||
|
mockUi._dashIcons = dashIcons;
|
||||||
|
|
||||||
|
_player.PlayerUi = mockUi;
|
||||||
|
|
||||||
|
_player.EmpoweredActionsLeft = 2;
|
||||||
|
AssertInt(_player.EmpoweredActionsLeft).IsEqual(2);
|
||||||
|
AssertBool(dashIcons[0].Visible).IsTrue();
|
||||||
|
AssertBool(dashIcons[1].Visible).IsTrue();
|
||||||
|
AssertBool(dashIcons[2].Visible).IsFalse();
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestDashCooldownTimeout()
|
||||||
|
{
|
||||||
|
_player._canDash = false;
|
||||||
|
_player.DashCooldownTimeout();
|
||||||
|
AssertBool(_player._canDash).IsTrue();
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestGetInputLocalHDirection()
|
||||||
|
{
|
||||||
|
_player.InputDeviceChanged(false);
|
||||||
|
_player.OnInputMoveKeyboard(new Vector3(1, 0, 1));
|
||||||
|
|
||||||
|
Vector3 expected = new Vector3(1, 0, 1).Normalized();
|
||||||
|
AssertVector(_player.GetInputLocalHDirection()).IsEqualApprox(expected, new Vector3(0.001f, 0.001f, 0.001f));
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestComputeKnockback()
|
||||||
|
{
|
||||||
|
var cKnockback = new CKnockback();
|
||||||
|
cKnockback.RKnockback = new RKnockback(10.0f);
|
||||||
|
_player.CKnockback = cKnockback;
|
||||||
|
|
||||||
|
var damageRecord = new DamageRecord(new Vector3(10, 0, 0), new RDamage(0, EDamageTypes.Normal));
|
||||||
|
var knockbackRecord = new KnockbackRecord(damageRecord, 1.0f);
|
||||||
|
|
||||||
|
_player.GlobalPosition = Vector3.Zero;
|
||||||
|
cKnockback.GlobalPosition = Vector3.Zero;
|
||||||
|
|
||||||
|
_player.RegisterKnockback(knockbackRecord);
|
||||||
|
|
||||||
|
Vector3 knockback = cKnockback.ComputeKnockback();
|
||||||
|
AssertVector(knockback).IsEqual(new Vector3(-10, 0, 0));
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/player/PlayerControllerUnitTest.cs.uid
Normal file
1
tests/player/PlayerControllerUnitTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://kmphtu0ovixi
|
||||||
51
tests/player/WeaponSystemUnitTest.cs
Normal file
51
tests/player/WeaponSystemUnitTest.cs
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
using Godot;
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
using Movementtests.systems;
|
||||||
|
using Movementtests.systems.damage;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class WeaponSystemUnitTest
|
||||||
|
{
|
||||||
|
private WeaponSystem _weapon;
|
||||||
|
|
||||||
|
[BeforeTest]
|
||||||
|
public void SetupTest()
|
||||||
|
{
|
||||||
|
_weapon = new WeaponSystem();
|
||||||
|
_weapon.RDamage = new RDamage(5.0f, EDamageTypes.Normal);
|
||||||
|
|
||||||
|
_weapon.WeaponMesh = new MeshInstance3D();
|
||||||
|
_weapon.AddChild(_weapon.WeaponMesh);
|
||||||
|
_weapon.WeaponLocationIndicator = new MeshInstance3D();
|
||||||
|
_weapon.AddChild(_weapon.WeaponLocationIndicator);
|
||||||
|
}
|
||||||
|
|
||||||
|
[AfterTest]
|
||||||
|
public void CleanupTest()
|
||||||
|
{
|
||||||
|
_weapon?.Free();
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestWeaponLeftAndBackVisibility()
|
||||||
|
{
|
||||||
|
_weapon.Visible = false;
|
||||||
|
|
||||||
|
_weapon.WeaponLeft();
|
||||||
|
AssertBool(_weapon.Visible).IsTrue();
|
||||||
|
|
||||||
|
_weapon.WeaponBack();
|
||||||
|
AssertBool(_weapon.Visible).IsFalse();
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase]
|
||||||
|
public void TestThrowWeaponOnCurveSetsUnfrozen()
|
||||||
|
{
|
||||||
|
_weapon.Freeze = true;
|
||||||
|
_weapon.ThrowWeaponOnCurve();
|
||||||
|
AssertBool(_weapon.Freeze).IsFalse();
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/player/WeaponSystemUnitTest.cs.uid
Normal file
1
tests/player/WeaponSystemUnitTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://vkv8aderakcb
|
||||||
98
tests/player/movement/PlayerMovementTest.cs
Normal file
98
tests/player/movement/PlayerMovementTest.cs
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
using System.Threading.Tasks;
|
||||||
|
using Godot;
|
||||||
|
|
||||||
|
namespace Movementtests.tests;
|
||||||
|
|
||||||
|
using GdUnit4;
|
||||||
|
using static GdUnit4.Assertions;
|
||||||
|
|
||||||
|
[TestSuite, RequireGodotRuntime]
|
||||||
|
public class PlayerMovementTest
|
||||||
|
{
|
||||||
|
private ISceneRunner _runner;
|
||||||
|
private Node _scene;
|
||||||
|
private PlayerController _player;
|
||||||
|
|
||||||
|
private readonly float _tolerance = 0.01f;
|
||||||
|
private readonly Vector3 _vectorTolerance = new Vector3(0.01f, 0.01f, 0.01f);
|
||||||
|
|
||||||
|
[Before]
|
||||||
|
public void Setup() {}
|
||||||
|
[After]
|
||||||
|
public void Cleanup() {}
|
||||||
|
|
||||||
|
[BeforeTest]
|
||||||
|
public void SetupTest()
|
||||||
|
{
|
||||||
|
_runner = ISceneRunner.Load("res://tests/player/movement/player_movement_scene.tscn");
|
||||||
|
|
||||||
|
_scene = _runner.Scene()!;
|
||||||
|
var player = _scene.FindChild("Player") as PlayerController;
|
||||||
|
_player = player!;
|
||||||
|
}
|
||||||
|
[AfterTest]
|
||||||
|
public void CleanupTest() {}
|
||||||
|
|
||||||
|
[TestCase("BaseLocation")]
|
||||||
|
public async Task PlayerMoveForward(string markerName)
|
||||||
|
{
|
||||||
|
var marker = _scene.FindChild(markerName) as Marker3D;
|
||||||
|
AssertObject(marker).IsNotNull();
|
||||||
|
_player.GlobalPosition = marker!.GlobalPosition;
|
||||||
|
await _runner.AwaitIdleFrame();
|
||||||
|
|
||||||
|
var startPos = _player.GlobalPosition;
|
||||||
|
|
||||||
|
_runner.SimulateKeyPress(Key.W);
|
||||||
|
await _runner.AwaitMillis(300);
|
||||||
|
_runner.SimulateKeyRelease(Key.W);
|
||||||
|
|
||||||
|
var endPos = _player.GlobalPosition;
|
||||||
|
var direction = startPos.DirectionTo(endPos);
|
||||||
|
AssertVector(direction).IsEqualApprox(Vector3.Forward, _vectorTolerance);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase("BaseLocation")]
|
||||||
|
public async Task PlayerJump(string markerName)
|
||||||
|
{
|
||||||
|
var marker = _scene.FindChild(markerName) as Marker3D;
|
||||||
|
AssertObject(marker).IsNotNull();
|
||||||
|
_player.GlobalPosition = marker!.GlobalPosition;
|
||||||
|
await _runner.AwaitIdleFrame();
|
||||||
|
|
||||||
|
var startPos = _player.GlobalPosition;
|
||||||
|
|
||||||
|
_runner.SimulateKeyPress(Key.Space);
|
||||||
|
await _runner.AwaitMillis(100);
|
||||||
|
_runner.SimulateKeyRelease(Key.Space);
|
||||||
|
|
||||||
|
var endPos = _player.GlobalPosition;
|
||||||
|
var direction = startPos.DirectionTo(endPos);
|
||||||
|
AssertVector(direction).IsEqualApprox(Vector3.Up, _vectorTolerance);
|
||||||
|
AssertVector(_player.Velocity.Normalized()).IsEqualApprox(Vector3.Up, _vectorTolerance);
|
||||||
|
|
||||||
|
await _runner.AwaitMillis(500);
|
||||||
|
endPos = _player.GlobalPosition;
|
||||||
|
AssertVector(endPos - startPos).IsEqualApprox(Vector3.Zero, _vectorTolerance);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase("MantleLocation1")]
|
||||||
|
public async Task PlayerMantle(string markerName)
|
||||||
|
{
|
||||||
|
var marker = _scene.FindChild(markerName) as Marker3D;
|
||||||
|
AssertObject(marker).IsNotNull();
|
||||||
|
_player.GlobalPosition = marker!.GlobalPosition;
|
||||||
|
await _runner.AwaitMillis(100);
|
||||||
|
|
||||||
|
var startPos = _player.GlobalPosition;
|
||||||
|
|
||||||
|
_runner.SimulateKeyPress(Key.Space);
|
||||||
|
await _runner.AwaitMillis(100);
|
||||||
|
_runner.SimulateKeyRelease(Key.Space);
|
||||||
|
await _runner.AwaitMillis(500);
|
||||||
|
|
||||||
|
var endPos = _player.GlobalPosition;
|
||||||
|
AssertFloat((endPos - startPos).Length()).IsGreater(_tolerance);
|
||||||
|
AssertFloat(endPos.Y).IsEqualApprox(1.0f, _tolerance);
|
||||||
|
}
|
||||||
|
}
|
||||||
1
tests/player/movement/PlayerMovementTest.cs.uid
Normal file
1
tests/player/movement/PlayerMovementTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://x5pj2ymam2gg
|
||||||
35
tests/player/movement/player_movement_scene.tscn
Normal file
35
tests/player/movement/player_movement_scene.tscn
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[gd_scene format=3 uid="uid://i8kb38q7bdfk"]
|
||||||
|
|
||||||
|
[ext_resource type="Material" uid="uid://31aulub2nqov" path="res://assets/materials/greybox/m_greybox.tres" id="1_bdfhg"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bei4nhkf8lwdo" path="res://scenes/player_controller/PlayerController.tscn" id="1_hg1sy"]
|
||||||
|
|
||||||
|
[node name="PlayerMovementScene" type="Node3D" unique_id=231040688]
|
||||||
|
|
||||||
|
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=241909240]
|
||||||
|
use_collision = true
|
||||||
|
collision_layer = 256
|
||||||
|
collision_mask = 65553
|
||||||
|
|
||||||
|
[node name="Ground" type="CSGBox3D" parent="CSGCombiner3D" unique_id=432200143]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, -0.5, -3.25)
|
||||||
|
use_collision = true
|
||||||
|
collision_layer = 256
|
||||||
|
collision_mask = 65553
|
||||||
|
size = Vector3(1000, 1, 1000)
|
||||||
|
material = ExtResource("1_bdfhg")
|
||||||
|
|
||||||
|
[node name="Ground2" type="CSGBox3D" parent="CSGCombiner3D" unique_id=854660236]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.75, 0.5, -1.75)
|
||||||
|
use_collision = true
|
||||||
|
collision_layer = 256
|
||||||
|
collision_mask = 65553
|
||||||
|
size = Vector3(1.5, 1, 1.5)
|
||||||
|
material = ExtResource("1_bdfhg")
|
||||||
|
|
||||||
|
[node name="Player" parent="." unique_id=709076448 instance=ExtResource("1_hg1sy")]
|
||||||
|
TutorialDone = true
|
||||||
|
|
||||||
|
[node name="BaseLocation" type="Marker3D" parent="." unique_id=1793710692]
|
||||||
|
|
||||||
|
[node name="MantleLocation1" type="Marker3D" parent="." unique_id=550080845]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.75, 0, 0)
|
||||||
20
tools/global_helpers.gd
Normal file
20
tools/global_helpers.gd
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
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 InputEventMouseMotion:
|
||||||
|
if not event.relative.is_zero_approx():
|
||||||
|
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
|
||||||
3
xunit.runner.json
Normal file
3
xunit.runner.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user