Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +7 -58
- .gitignore +6 -0
- DownFall.csproj +11 -0
- DownFall.onnx +3 -0
- DownFall.sln +19 -0
- Godot RL Agents.csproj +10 -0
- Godot RL Agents.sln +25 -0
- README.md +25 -0
- addons/godot_rl_agents/controller/ai_controller_2d.gd +82 -0
- addons/godot_rl_agents/controller/ai_controller_3d.gd +80 -0
- addons/godot_rl_agents/godot_rl_agents.gd +16 -0
- addons/godot_rl_agents/icon.png +3 -0
- addons/godot_rl_agents/onnx/csharp/ONNXInference.cs +103 -0
- addons/godot_rl_agents/onnx/csharp/SessionConfigurator.cs +131 -0
- addons/godot_rl_agents/onnx/csharp/docs/ONNXInference.xml +31 -0
- addons/godot_rl_agents/onnx/csharp/docs/SessionConfigurator.xml +29 -0
- addons/godot_rl_agents/onnx/wrapper/ONNX_wrapper.gd +24 -0
- addons/godot_rl_agents/plugin.cfg +7 -0
- addons/godot_rl_agents/sensors/sensors_2d/ExampleRaycastSensor2D.tscn +48 -0
- addons/godot_rl_agents/sensors/sensors_2d/GridSensor2D.gd +216 -0
- addons/godot_rl_agents/sensors/sensors_2d/ISensor2D.gd +20 -0
- addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd +118 -0
- addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.tscn +7 -0
- addons/godot_rl_agents/sensors/sensors_3d/ExampleRaycastSensor3D.tscn +6 -0
- addons/godot_rl_agents/sensors/sensors_3d/GridSensor3D.gd +233 -0
- addons/godot_rl_agents/sensors/sensors_3d/ISensor3D.gd +20 -0
- addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd +21 -0
- addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.tscn +41 -0
- addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd +166 -0
- addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.tscn +27 -0
- addons/godot_rl_agents/sync.gd +342 -0
- assets/Circle03.png +3 -0
- assets/Flare00.PNG +3 -0
- assets/Flare01.png +3 -0
- down_fall.gd +50 -0
- down_fall.tscn +1679 -0
- materials/BlueChar.tres +6 -0
- materials/GreenChar.tres +6 -0
- materials/GreenYellowChar.tres +6 -0
- materials/LightBlueChar.tres +6 -0
- materials/LightGreenChar.tres +6 -0
- materials/PinkChar.tres +6 -0
- materials/PurpleChar.tres +6 -0
- materials/RedChar.tres +6 -0
- materials/YellowChar.tres +6 -0
- objects/AnimatedChar.tscn +0 -0
- objects/SpikeRoller.tscn +0 -0
- objects/bomb.tscn +0 -0
- objects/bomb_spawner.gd +12 -0
- objects/end_gate.tscn +0 -0
.gitattributes
CHANGED
|
@@ -1,58 +1,7 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
# Audio files - uncompressed
|
| 38 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 40 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 41 |
-
# Audio files - compressed
|
| 42 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
-
# Image files - uncompressed
|
| 48 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 52 |
-
# Image files - compressed
|
| 53 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 56 |
-
# Video files - compressed
|
| 57 |
-
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 58 |
-
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
# Normalize EOL for all files that Git considers text files.
|
| 2 |
+
* text=auto eol=lf
|
| 3 |
+
DownFall.onnx filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
addons/godot_rl_agents/icon.png filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
assets/Circle03.png filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
assets/Flare00.PNG filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
assets/Flare01.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gitignore
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Godot 4+ specific ignores
|
| 2 |
+
.godot/
|
| 3 |
+
|
| 4 |
+
*.import
|
| 5 |
+
|
| 6 |
+
raw_assets/
|
DownFall.csproj
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<Project Sdk="Godot.NET.Sdk/4.2.1">
|
| 2 |
+
<PropertyGroup>
|
| 3 |
+
<TargetFramework>net6.0</TargetFramework>
|
| 4 |
+
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net7.0</TargetFramework>
|
| 5 |
+
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
|
| 6 |
+
<EnableDynamicLoading>true</EnableDynamicLoading>
|
| 7 |
+
</PropertyGroup>
|
| 8 |
+
<ItemGroup>
|
| 9 |
+
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.17.0" />
|
| 10 |
+
</ItemGroup>
|
| 11 |
+
</Project>
|
DownFall.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a572f8b11543c2ba9dda8a39b2191fc2436f0c4d546836abb85c748baa72dcdb
|
| 3 |
+
size 59102
|
DownFall.sln
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 2 |
+
# Visual Studio 2012
|
| 3 |
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DownFall", "DownFall.csproj", "{87183EEC-4150-4367-A4CC-E3181E93BD3B}"
|
| 4 |
+
EndProject
|
| 5 |
+
Global
|
| 6 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 7 |
+
Debug|Any CPU = Debug|Any CPU
|
| 8 |
+
ExportDebug|Any CPU = ExportDebug|Any CPU
|
| 9 |
+
ExportRelease|Any CPU = ExportRelease|Any CPU
|
| 10 |
+
EndGlobalSection
|
| 11 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 12 |
+
{87183EEC-4150-4367-A4CC-E3181E93BD3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
| 13 |
+
{87183EEC-4150-4367-A4CC-E3181E93BD3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
| 14 |
+
{87183EEC-4150-4367-A4CC-E3181E93BD3B}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
|
| 15 |
+
{87183EEC-4150-4367-A4CC-E3181E93BD3B}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
|
| 16 |
+
{87183EEC-4150-4367-A4CC-E3181E93BD3B}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
|
| 17 |
+
{87183EEC-4150-4367-A4CC-E3181E93BD3B}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
|
| 18 |
+
EndGlobalSection
|
| 19 |
+
EndGlobal
|
Godot RL Agents.csproj
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<Project Sdk="Godot.NET.Sdk/4.0.3">
|
| 2 |
+
<PropertyGroup>
|
| 3 |
+
<TargetFramework>net6.0</TargetFramework>
|
| 4 |
+
<EnableDynamicLoading>true</EnableDynamicLoading>
|
| 5 |
+
<RootNamespace>GodotRLAgents</RootNamespace>
|
| 6 |
+
</PropertyGroup>
|
| 7 |
+
<ItemGroup>
|
| 8 |
+
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.15.1" />
|
| 9 |
+
</ItemGroup>
|
| 10 |
+
</Project>
|
Godot RL Agents.sln
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 3 |
+
# Visual Studio Version 17
|
| 4 |
+
VisualStudioVersion = 17.5.33530.505
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Godot RL Agents", "Godot RL Agents.csproj", "{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}"
|
| 7 |
+
EndProject
|
| 8 |
+
Global
|
| 9 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 10 |
+
Debug|Any CPU = Debug|Any CPU
|
| 11 |
+
ExportDebug|Any CPU = ExportDebug|Any CPU
|
| 12 |
+
ExportRelease|Any CPU = ExportRelease|Any CPU
|
| 13 |
+
EndGlobalSection
|
| 14 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 15 |
+
{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
| 16 |
+
{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
| 17 |
+
{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
|
| 18 |
+
{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
|
| 19 |
+
{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
|
| 20 |
+
{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
|
| 21 |
+
EndGlobalSection
|
| 22 |
+
GlobalSection(SolutionProperties) = preSolution
|
| 23 |
+
HideSolutionNode = FALSE
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
EndGlobal
|
README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: godot-rl
|
| 3 |
+
tags:
|
| 4 |
+
- deep-reinforcement-learning
|
| 5 |
+
- reinforcement-learning
|
| 6 |
+
- godot-rl
|
| 7 |
+
- environments
|
| 8 |
+
- video-games
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
A RL environment called DownFall for the Godot Game Engine.
|
| 12 |
+
|
| 13 |
+
This environment was created with: https://github.com/edbeeching/godot_rl_agents
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
## Downloading the environment
|
| 17 |
+
|
| 18 |
+
After installing Godot RL Agents, download the environment with:
|
| 19 |
+
|
| 20 |
+
```
|
| 21 |
+
gdrl.env_from_hub -r jtatman/godot_rl_DownFall
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
addons/godot_rl_agents/controller/ai_controller_2d.gd
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
extends Node2D
|
| 2 |
+
class_name AIController2D
|
| 3 |
+
|
| 4 |
+
@export var reset_after := 1000
|
| 5 |
+
|
| 6 |
+
var heuristic := "human"
|
| 7 |
+
var done := false
|
| 8 |
+
var reward := 0.0
|
| 9 |
+
var n_steps := 0
|
| 10 |
+
var needs_reset := false
|
| 11 |
+
|
| 12 |
+
var _player: Node2D
|
| 13 |
+
|
| 14 |
+
func _ready():
|
| 15 |
+
add_to_group("AGENT")
|
| 16 |
+
|
| 17 |
+
func init(player: Node2D):
|
| 18 |
+
_player = player
|
| 19 |
+
|
| 20 |
+
#-- Methods that need implementing using the "extend script" option in Godot --#
|
| 21 |
+
func get_obs() -> Dictionary:
|
| 22 |
+
assert(false, "the get_obs method is not implemented when extending from ai_controller")
|
| 23 |
+
return {"obs":[]}
|
| 24 |
+
|
| 25 |
+
func get_reward() -> float:
|
| 26 |
+
assert(false, "the get_reward method is not implemented when extending from ai_controller")
|
| 27 |
+
return 0.0
|
| 28 |
+
|
| 29 |
+
func get_action_space() -> Dictionary:
|
| 30 |
+
assert(false, "the get get_action_space method is not implemented when extending from ai_controller")
|
| 31 |
+
return {
|
| 32 |
+
"example_actions_continous" : {
|
| 33 |
+
"size": 2,
|
| 34 |
+
"action_type": "continuous"
|
| 35 |
+
},
|
| 36 |
+
"example_actions_discrete" : {
|
| 37 |
+
"size": 2,
|
| 38 |
+
"action_type": "discrete"
|
| 39 |
+
},
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
func set_action(action) -> void:
|
| 43 |
+
assert(false, "the get set_action method is not implemented when extending from ai_controller")
|
| 44 |
+
# -----------------------------------------------------------------------------#
|
| 45 |
+
|
| 46 |
+
func _physics_process(delta):
|
| 47 |
+
n_steps += 1
|
| 48 |
+
if n_steps > reset_after:
|
| 49 |
+
needs_reset = true
|
| 50 |
+
|
| 51 |
+
func get_obs_space():
|
| 52 |
+
# may need overriding if the obs space is complex
|
| 53 |
+
var obs = get_obs()
|
| 54 |
+
return {
|
| 55 |
+
"obs": {
|
| 56 |
+
"size": [len(obs["obs"])],
|
| 57 |
+
"space": "box"
|
| 58 |
+
},
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
func reset():
|
| 62 |
+
n_steps = 0
|
| 63 |
+
needs_reset = false
|
| 64 |
+
|
| 65 |
+
func reset_if_done():
|
| 66 |
+
if done:
|
| 67 |
+
reset()
|
| 68 |
+
|
| 69 |
+
func set_heuristic(h):
|
| 70 |
+
# sets the heuristic from "human" or "model" nothing to change here
|
| 71 |
+
heuristic = h
|
| 72 |
+
|
| 73 |
+
func get_done():
|
| 74 |
+
return done
|
| 75 |
+
|
| 76 |
+
func set_done_false():
|
| 77 |
+
done = false
|
| 78 |
+
|
| 79 |
+
func zero_reward():
|
| 80 |
+
reward = 0.0
|
| 81 |
+
|
| 82 |
+
|
addons/godot_rl_agents/controller/ai_controller_3d.gd
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
extends Node3D
|
| 2 |
+
class_name AIController3D
|
| 3 |
+
|
| 4 |
+
@export var reset_after := 1000
|
| 5 |
+
|
| 6 |
+
var heuristic := "human"
|
| 7 |
+
var done := false
|
| 8 |
+
var reward := 0.0
|
| 9 |
+
var n_steps := 0
|
| 10 |
+
var needs_reset := false
|
| 11 |
+
|
| 12 |
+
var _player: Node3D
|
| 13 |
+
|
| 14 |
+
func _ready():
|
| 15 |
+
add_to_group("AGENT")
|
| 16 |
+
|
| 17 |
+
func init(player: Node3D):
|
| 18 |
+
_player = player
|
| 19 |
+
|
| 20 |
+
#-- Methods that need implementing using the "extend script" option in Godot --#
|
| 21 |
+
func get_obs() -> Dictionary:
|
| 22 |
+
assert(false, "the get_obs method is not implemented when extending from ai_controller")
|
| 23 |
+
return {"obs":[]}
|
| 24 |
+
|
| 25 |
+
func get_reward() -> float:
|
| 26 |
+
assert(false, "the get_reward method is not implemented when extending from ai_controller")
|
| 27 |
+
return 0.0
|
| 28 |
+
|
| 29 |
+
func get_action_space() -> Dictionary:
|
| 30 |
+
assert(false, "the get get_action_space method is not implemented when extending from ai_controller")
|
| 31 |
+
return {
|
| 32 |
+
"example_actions_continous" : {
|
| 33 |
+
"size": 2,
|
| 34 |
+
"action_type": "continuous"
|
| 35 |
+
},
|
| 36 |
+
"example_actions_discrete" : {
|
| 37 |
+
"size": 2,
|
| 38 |
+
"action_type": "discrete"
|
| 39 |
+
},
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
func set_action(action) -> void:
|
| 43 |
+
assert(false, "the get set_action method is not implemented when extending from ai_controller")
|
| 44 |
+
# -----------------------------------------------------------------------------#
|
| 45 |
+
|
| 46 |
+
func _physics_process(delta):
|
| 47 |
+
n_steps += 1
|
| 48 |
+
if n_steps > reset_after:
|
| 49 |
+
needs_reset = true
|
| 50 |
+
|
| 51 |
+
func get_obs_space():
|
| 52 |
+
# may need overriding if the obs space is complex
|
| 53 |
+
var obs = get_obs()
|
| 54 |
+
return {
|
| 55 |
+
"obs": {
|
| 56 |
+
"size": [len(obs["obs"])],
|
| 57 |
+
"space": "box"
|
| 58 |
+
},
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
func reset():
|
| 62 |
+
n_steps = 0
|
| 63 |
+
needs_reset = false
|
| 64 |
+
|
| 65 |
+
func reset_if_done():
|
| 66 |
+
if done:
|
| 67 |
+
reset()
|
| 68 |
+
|
| 69 |
+
func set_heuristic(h):
|
| 70 |
+
# sets the heuristic from "human" or "model" nothing to change here
|
| 71 |
+
heuristic = h
|
| 72 |
+
|
| 73 |
+
func get_done():
|
| 74 |
+
return done
|
| 75 |
+
|
| 76 |
+
func set_done_false():
|
| 77 |
+
done = false
|
| 78 |
+
|
| 79 |
+
func zero_reward():
|
| 80 |
+
reward = 0.0
|
addons/godot_rl_agents/godot_rl_agents.gd
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@tool
|
| 2 |
+
extends EditorPlugin
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
func _enter_tree():
|
| 6 |
+
# Initialization of the plugin goes here.
|
| 7 |
+
# Add the new type with a name, a parent type, a script and an icon.
|
| 8 |
+
add_custom_type("Sync", "Node", preload("sync.gd"), preload("icon.png"))
|
| 9 |
+
#add_custom_type("RaycastSensor2D2", "Node", preload("raycast_sensor_2d.gd"), preload("icon.png"))
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
func _exit_tree():
|
| 13 |
+
# Clean-up of the plugin goes here.
|
| 14 |
+
# Always remember to remove it from the engine when deactivated.
|
| 15 |
+
remove_custom_type("Sync")
|
| 16 |
+
#remove_custom_type("RaycastSensor2D2")
|
addons/godot_rl_agents/icon.png
ADDED
|
|
Git LFS Details
|
addons/godot_rl_agents/onnx/csharp/ONNXInference.cs
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using Godot;
|
| 2 |
+
using Microsoft.ML.OnnxRuntime;
|
| 3 |
+
using Microsoft.ML.OnnxRuntime.Tensors;
|
| 4 |
+
using System.Collections.Generic;
|
| 5 |
+
using System.Linq;
|
| 6 |
+
|
| 7 |
+
namespace GodotONNX
|
| 8 |
+
{
|
| 9 |
+
/// <include file='docs/ONNXInference.xml' path='docs/members[@name="ONNXInference"]/ONNXInference/*'/>
|
| 10 |
+
public partial class ONNXInference : GodotObject
|
| 11 |
+
{
|
| 12 |
+
|
| 13 |
+
private InferenceSession session;
|
| 14 |
+
/// <summary>
|
| 15 |
+
/// Path to the ONNX model. Use Initialize to change it.
|
| 16 |
+
/// </summary>
|
| 17 |
+
private string modelPath;
|
| 18 |
+
private int batchSize;
|
| 19 |
+
|
| 20 |
+
private SessionOptions SessionOpt;
|
| 21 |
+
|
| 22 |
+
//init function
|
| 23 |
+
/// <include file='docs/ONNXInference.xml' path='docs/members[@name="ONNXInference"]/Initialize/*'/>
|
| 24 |
+
public void Initialize(string Path, int BatchSize)
|
| 25 |
+
{
|
| 26 |
+
modelPath = Path;
|
| 27 |
+
batchSize = BatchSize;
|
| 28 |
+
SessionOpt = SessionConfigurator.MakeConfiguredSessionOptions();
|
| 29 |
+
session = LoadModel(modelPath);
|
| 30 |
+
|
| 31 |
+
}
|
| 32 |
+
/// <include file='docs/ONNXInference.xml' path='docs/members[@name="ONNXInference"]/Run/*'/>
|
| 33 |
+
public Godot.Collections.Dictionary<string, Godot.Collections.Array<float>> RunInference(Godot.Collections.Array<float> obs, int state_ins)
|
| 34 |
+
{
|
| 35 |
+
//Current model: Any (Godot Rl Agents)
|
| 36 |
+
//Expects a tensor of shape [batch_size, input_size] type float named obs and a tensor of shape [batch_size] type float named state_ins
|
| 37 |
+
|
| 38 |
+
//Fill the input tensors
|
| 39 |
+
// create span from inputSize
|
| 40 |
+
var span = new float[obs.Count]; //There's probably a better way to do this
|
| 41 |
+
for (int i = 0; i < obs.Count; i++)
|
| 42 |
+
{
|
| 43 |
+
span[i] = obs[i];
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
IReadOnlyCollection<NamedOnnxValue> inputs = new List<NamedOnnxValue>
|
| 47 |
+
{
|
| 48 |
+
NamedOnnxValue.CreateFromTensor("obs", new DenseTensor<float>(span, new int[] { batchSize, obs.Count })),
|
| 49 |
+
NamedOnnxValue.CreateFromTensor("state_ins", new DenseTensor<float>(new float[] { state_ins }, new int[] { batchSize }))
|
| 50 |
+
};
|
| 51 |
+
IReadOnlyCollection<string> outputNames = new List<string> { "output", "state_outs" }; //ONNX is sensible to these names, as well as the input names
|
| 52 |
+
|
| 53 |
+
IDisposableReadOnlyCollection<DisposableNamedOnnxValue> results;
|
| 54 |
+
//We do not use "using" here so we get a better exception explaination later
|
| 55 |
+
try
|
| 56 |
+
{
|
| 57 |
+
results = session.Run(inputs, outputNames);
|
| 58 |
+
}
|
| 59 |
+
catch (OnnxRuntimeException e)
|
| 60 |
+
{
|
| 61 |
+
//This error usually means that the model is not compatible with the input, beacause of the input shape (size)
|
| 62 |
+
GD.Print("Error at inference: ", e);
|
| 63 |
+
return null;
|
| 64 |
+
}
|
| 65 |
+
//Can't convert IEnumerable<float> to Variant, so we have to convert it to an array or something
|
| 66 |
+
Godot.Collections.Dictionary<string, Godot.Collections.Array<float>> output = new Godot.Collections.Dictionary<string, Godot.Collections.Array<float>>();
|
| 67 |
+
DisposableNamedOnnxValue output1 = results.First();
|
| 68 |
+
DisposableNamedOnnxValue output2 = results.Last();
|
| 69 |
+
Godot.Collections.Array<float> output1Array = new Godot.Collections.Array<float>();
|
| 70 |
+
Godot.Collections.Array<float> output2Array = new Godot.Collections.Array<float>();
|
| 71 |
+
|
| 72 |
+
foreach (float f in output1.AsEnumerable<float>())
|
| 73 |
+
{
|
| 74 |
+
output1Array.Add(f);
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
foreach (float f in output2.AsEnumerable<float>())
|
| 78 |
+
{
|
| 79 |
+
output2Array.Add(f);
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
output.Add(output1.Name, output1Array);
|
| 83 |
+
output.Add(output2.Name, output2Array);
|
| 84 |
+
|
| 85 |
+
//Output is a dictionary of arrays, ex: { "output" : [0.1, 0.2, 0.3, 0.4, ...], "state_outs" : [0.5, ...]}
|
| 86 |
+
results.Dispose();
|
| 87 |
+
return output;
|
| 88 |
+
}
|
| 89 |
+
/// <include file='docs/ONNXInference.xml' path='docs/members[@name="ONNXInference"]/Load/*'/>
|
| 90 |
+
public InferenceSession LoadModel(string Path)
|
| 91 |
+
{
|
| 92 |
+
using Godot.FileAccess file = FileAccess.Open(Path, Godot.FileAccess.ModeFlags.Read);
|
| 93 |
+
byte[] model = file.GetBuffer((int)file.GetLength());
|
| 94 |
+
//file.Close(); file.Dispose(); //Close the file, then dispose the reference.
|
| 95 |
+
return new InferenceSession(model, SessionOpt); //Load the model
|
| 96 |
+
}
|
| 97 |
+
public void FreeDisposables()
|
| 98 |
+
{
|
| 99 |
+
session.Dispose();
|
| 100 |
+
SessionOpt.Dispose();
|
| 101 |
+
}
|
| 102 |
+
}
|
| 103 |
+
}
|
addons/godot_rl_agents/onnx/csharp/SessionConfigurator.cs
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using Godot;
|
| 2 |
+
using Microsoft.ML.OnnxRuntime;
|
| 3 |
+
|
| 4 |
+
namespace GodotONNX
|
| 5 |
+
{
|
| 6 |
+
/// <include file='docs/SessionConfigurator.xml' path='docs/members[@name="SessionConfigurator"]/SessionConfigurator/*'/>
|
| 7 |
+
|
| 8 |
+
public static class SessionConfigurator
|
| 9 |
+
{
|
| 10 |
+
public enum ComputeName
|
| 11 |
+
{
|
| 12 |
+
CUDA,
|
| 13 |
+
ROCm,
|
| 14 |
+
DirectML,
|
| 15 |
+
CoreML,
|
| 16 |
+
CPU
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
/// <include file='docs/SessionConfigurator.xml' path='docs/members[@name="SessionConfigurator"]/GetSessionOptions/*'/>
|
| 20 |
+
public static SessionOptions MakeConfiguredSessionOptions()
|
| 21 |
+
{
|
| 22 |
+
SessionOptions sessionOptions = new();
|
| 23 |
+
SetOptions(sessionOptions);
|
| 24 |
+
return sessionOptions;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
private static void SetOptions(SessionOptions sessionOptions)
|
| 28 |
+
{
|
| 29 |
+
sessionOptions.LogSeverityLevel = OrtLoggingLevel.ORT_LOGGING_LEVEL_WARNING;
|
| 30 |
+
ApplySystemSpecificOptions(sessionOptions);
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
/// <include file='docs/SessionConfigurator.xml' path='docs/members[@name="SessionConfigurator"]/SystemCheck/*'/>
|
| 34 |
+
static public void ApplySystemSpecificOptions(SessionOptions sessionOptions)
|
| 35 |
+
{
|
| 36 |
+
//Most code for this function is verbose only, the only reason it exists is to track
|
| 37 |
+
//implementation progress of the different compute APIs.
|
| 38 |
+
|
| 39 |
+
//December 2022: CUDA is not working.
|
| 40 |
+
|
| 41 |
+
string OSName = OS.GetName(); //Get OS Name
|
| 42 |
+
|
| 43 |
+
//ComputeName ComputeAPI = ComputeCheck(); //Get Compute API
|
| 44 |
+
// //TODO: Get CPU architecture
|
| 45 |
+
|
| 46 |
+
//Linux can use OpenVINO (C#) on x64 and ROCm on x86 (GDNative/C++)
|
| 47 |
+
//Windows can use OpenVINO (C#) on x64
|
| 48 |
+
//TODO: try TensorRT instead of CUDA
|
| 49 |
+
//TODO: Use OpenVINO for Intel Graphics
|
| 50 |
+
|
| 51 |
+
// Temporarily using CPU on all platforms to avoid errors detected with DML
|
| 52 |
+
ComputeName ComputeAPI = ComputeName.CPU;
|
| 53 |
+
|
| 54 |
+
//match OS and Compute API
|
| 55 |
+
GD.Print($"OS: {OSName} Compute API: {ComputeAPI}");
|
| 56 |
+
|
| 57 |
+
// CPU is set by default without appending necessary
|
| 58 |
+
// sessionOptions.AppendExecutionProvider_CPU(0);
|
| 59 |
+
|
| 60 |
+
/*
|
| 61 |
+
switch (OSName)
|
| 62 |
+
{
|
| 63 |
+
case "Windows": //Can use CUDA, DirectML
|
| 64 |
+
if (ComputeAPI is ComputeName.CUDA)
|
| 65 |
+
{
|
| 66 |
+
//CUDA
|
| 67 |
+
//sessionOptions.AppendExecutionProvider_CUDA(0);
|
| 68 |
+
//sessionOptions.AppendExecutionProvider_DML(0);
|
| 69 |
+
}
|
| 70 |
+
else if (ComputeAPI is ComputeName.DirectML)
|
| 71 |
+
{
|
| 72 |
+
//DirectML
|
| 73 |
+
//sessionOptions.AppendExecutionProvider_DML(0);
|
| 74 |
+
}
|
| 75 |
+
break;
|
| 76 |
+
case "X11": //Can use CUDA, ROCm
|
| 77 |
+
if (ComputeAPI is ComputeName.CUDA)
|
| 78 |
+
{
|
| 79 |
+
//CUDA
|
| 80 |
+
//sessionOptions.AppendExecutionProvider_CUDA(0);
|
| 81 |
+
}
|
| 82 |
+
if (ComputeAPI is ComputeName.ROCm)
|
| 83 |
+
{
|
| 84 |
+
//ROCm, only works on x86
|
| 85 |
+
//Research indicates that this has to be compiled as a GDNative plugin
|
| 86 |
+
//GD.Print("ROCm not supported yet, using CPU.");
|
| 87 |
+
//sessionOptions.AppendExecutionProvider_CPU(0);
|
| 88 |
+
}
|
| 89 |
+
break;
|
| 90 |
+
case "macOS": //Can use CoreML
|
| 91 |
+
if (ComputeAPI is ComputeName.CoreML)
|
| 92 |
+
{ //CoreML
|
| 93 |
+
//TODO: Needs testing
|
| 94 |
+
//sessionOptions.AppendExecutionProvider_CoreML(0);
|
| 95 |
+
//CoreML on ARM64, out of the box, on x64 needs .tar file from GitHub
|
| 96 |
+
}
|
| 97 |
+
break;
|
| 98 |
+
default:
|
| 99 |
+
GD.Print("OS not Supported.");
|
| 100 |
+
break;
|
| 101 |
+
}
|
| 102 |
+
*/
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
/// <include file='docs/SessionConfigurator.xml' path='docs/members[@name="SessionConfigurator"]/ComputeCheck/*'/>
|
| 107 |
+
public static ComputeName ComputeCheck()
|
| 108 |
+
{
|
| 109 |
+
string adapterName = Godot.RenderingServer.GetVideoAdapterName();
|
| 110 |
+
//string adapterVendor = Godot.RenderingServer.GetVideoAdapterVendor();
|
| 111 |
+
adapterName = adapterName.ToUpper(new System.Globalization.CultureInfo(""));
|
| 112 |
+
//TODO: GPU vendors for MacOS, what do they even use these days?
|
| 113 |
+
|
| 114 |
+
if (adapterName.Contains("INTEL"))
|
| 115 |
+
{
|
| 116 |
+
return ComputeName.DirectML;
|
| 117 |
+
}
|
| 118 |
+
if (adapterName.Contains("AMD") || adapterName.Contains("RADEON"))
|
| 119 |
+
{
|
| 120 |
+
return ComputeName.DirectML;
|
| 121 |
+
}
|
| 122 |
+
if (adapterName.Contains("NVIDIA"))
|
| 123 |
+
{
|
| 124 |
+
return ComputeName.CUDA;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
GD.Print("Graphics Card not recognized."); //Should use CPU
|
| 128 |
+
return ComputeName.CPU;
|
| 129 |
+
}
|
| 130 |
+
}
|
| 131 |
+
}
|
addons/godot_rl_agents/onnx/csharp/docs/ONNXInference.xml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<docs>
|
| 2 |
+
<members name="ONNXInference">
|
| 3 |
+
<ONNXInference>
|
| 4 |
+
<summary>
|
| 5 |
+
The main <c>ONNXInference</c> Class that handles the inference process.
|
| 6 |
+
</summary>
|
| 7 |
+
</ONNXInference>
|
| 8 |
+
<Initialize>
|
| 9 |
+
<summary>
|
| 10 |
+
Starts the inference process.
|
| 11 |
+
</summary>
|
| 12 |
+
<param name="Path">Path to the ONNX model, expects a path inside resources.</param>
|
| 13 |
+
<param name="BatchSize">How many observations will the model recieve.</param>
|
| 14 |
+
</Initialize>
|
| 15 |
+
<Run>
|
| 16 |
+
<summary>
|
| 17 |
+
Runs the given input through the model and returns the output.
|
| 18 |
+
</summary>
|
| 19 |
+
<param name="obs">Dictionary containing all observations.</param>
|
| 20 |
+
<param name="state_ins">How many different agents are creating these observations.</param>
|
| 21 |
+
<returns>A Dictionary of arrays, containing instructions based on the observations.</returns>
|
| 22 |
+
</Run>
|
| 23 |
+
<Load>
|
| 24 |
+
<summary>
|
| 25 |
+
Loads the given model into the inference process, using the best Execution provider available.
|
| 26 |
+
</summary>
|
| 27 |
+
<param name="Path">Path to the ONNX model, expects a path inside resources.</param>
|
| 28 |
+
<returns>InferenceSession ready to run.</returns>
|
| 29 |
+
</Load>
|
| 30 |
+
</members>
|
| 31 |
+
</docs>
|
addons/godot_rl_agents/onnx/csharp/docs/SessionConfigurator.xml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<docs>
|
| 2 |
+
<members name="SessionConfigurator">
|
| 3 |
+
<SessionConfigurator>
|
| 4 |
+
<summary>
|
| 5 |
+
The main <c>SessionConfigurator</c> Class that handles the execution options and providers for the inference process.
|
| 6 |
+
</summary>
|
| 7 |
+
</SessionConfigurator>
|
| 8 |
+
<GetSessionOptions>
|
| 9 |
+
<summary>
|
| 10 |
+
Creates a SessionOptions with all available execution providers.
|
| 11 |
+
</summary>
|
| 12 |
+
<returns>SessionOptions with all available execution providers.</returns>
|
| 13 |
+
</GetSessionOptions>
|
| 14 |
+
<SystemCheck>
|
| 15 |
+
<summary>
|
| 16 |
+
Appends any execution provider available in the current system.
|
| 17 |
+
</summary>
|
| 18 |
+
<remarks>
|
| 19 |
+
This function is mainly verbose for tracking implementation progress of different compute APIs.
|
| 20 |
+
</remarks>
|
| 21 |
+
</SystemCheck>
|
| 22 |
+
<ComputeCheck>
|
| 23 |
+
<summary>
|
| 24 |
+
Checks for available GPUs.
|
| 25 |
+
</summary>
|
| 26 |
+
<returns>An integer identifier for each compute platform.</returns>
|
| 27 |
+
</ComputeCheck>
|
| 28 |
+
</members>
|
| 29 |
+
</docs>
|
addons/godot_rl_agents/onnx/wrapper/ONNX_wrapper.gd
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
extends Resource
|
| 2 |
+
class_name ONNXModel
|
| 3 |
+
var inferencer_script = load("res://addons/godot_rl_agents/onnx/csharp/ONNXInference.cs")
|
| 4 |
+
|
| 5 |
+
var inferencer = null
|
| 6 |
+
|
| 7 |
+
# Must provide the path to the model and the batch size
|
| 8 |
+
func _init(model_path, batch_size):
|
| 9 |
+
inferencer = inferencer_script.new()
|
| 10 |
+
inferencer.Initialize(model_path, batch_size)
|
| 11 |
+
|
| 12 |
+
# This function is the one that will be called from the game,
|
| 13 |
+
# requires the observation as an array and the state_ins as an int
|
| 14 |
+
# returns an Array containing the action the model takes.
|
| 15 |
+
func run_inference(obs : Array, state_ins : int) -> Dictionary:
|
| 16 |
+
if inferencer == null:
|
| 17 |
+
printerr("Inferencer not initialized")
|
| 18 |
+
return {}
|
| 19 |
+
return inferencer.RunInference(obs, state_ins)
|
| 20 |
+
|
| 21 |
+
func _notification(what):
|
| 22 |
+
if what == NOTIFICATION_PREDELETE:
|
| 23 |
+
inferencer.FreeDisposables()
|
| 24 |
+
inferencer.free()
|
addons/godot_rl_agents/plugin.cfg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[plugin]
|
| 2 |
+
|
| 3 |
+
name="GodotRLAgents"
|
| 4 |
+
description="Custom nodes for the godot rl agents toolkit "
|
| 5 |
+
author="Edward Beeching"
|
| 6 |
+
version="0.1"
|
| 7 |
+
script="godot_rl_agents.gd"
|
addons/godot_rl_agents/sensors/sensors_2d/ExampleRaycastSensor2D.tscn
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_scene load_steps=5 format=3 uid="uid://ddeq7mn1ealyc"]
|
| 2 |
+
|
| 3 |
+
[ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd" id="1"]
|
| 4 |
+
|
| 5 |
+
[sub_resource type="GDScript" id="2"]
|
| 6 |
+
script/source = "extends Node2D
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
func _physics_process(delta: float) -> void:
|
| 11 |
+
print(\"step start\")
|
| 12 |
+
|
| 13 |
+
"
|
| 14 |
+
|
| 15 |
+
[sub_resource type="GDScript" id="1"]
|
| 16 |
+
script/source = "extends RayCast2D
|
| 17 |
+
|
| 18 |
+
var steps = 1
|
| 19 |
+
|
| 20 |
+
func _physics_process(delta: float) -> void:
|
| 21 |
+
print(\"processing raycast\")
|
| 22 |
+
steps += 1
|
| 23 |
+
if steps % 2:
|
| 24 |
+
force_raycast_update()
|
| 25 |
+
|
| 26 |
+
print(is_colliding())
|
| 27 |
+
"
|
| 28 |
+
|
| 29 |
+
[sub_resource type="CircleShape2D" id="3"]
|
| 30 |
+
|
| 31 |
+
[node name="ExampleRaycastSensor2D" type="Node2D"]
|
| 32 |
+
script = SubResource("2")
|
| 33 |
+
|
| 34 |
+
[node name="ExampleAgent" type="Node2D" parent="."]
|
| 35 |
+
position = Vector2(573, 314)
|
| 36 |
+
rotation = 0.286234
|
| 37 |
+
|
| 38 |
+
[node name="RaycastSensor2D" type="Node2D" parent="ExampleAgent"]
|
| 39 |
+
script = ExtResource("1")
|
| 40 |
+
|
| 41 |
+
[node name="TestRayCast2D" type="RayCast2D" parent="."]
|
| 42 |
+
script = SubResource("1")
|
| 43 |
+
|
| 44 |
+
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
| 45 |
+
position = Vector2(1, 52)
|
| 46 |
+
|
| 47 |
+
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
| 48 |
+
shape = SubResource("3")
|
addons/godot_rl_agents/sensors/sensors_2d/GridSensor2D.gd
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@tool
|
| 2 |
+
extends ISensor2D
|
| 3 |
+
class_name GridSensor2D
|
| 4 |
+
|
| 5 |
+
@export var debug_view := false:
|
| 6 |
+
get: return debug_view
|
| 7 |
+
set(value):
|
| 8 |
+
debug_view = value
|
| 9 |
+
_update()
|
| 10 |
+
|
| 11 |
+
@export_flags_2d_physics var detection_mask := 0:
|
| 12 |
+
get: return detection_mask
|
| 13 |
+
set(value):
|
| 14 |
+
detection_mask = value
|
| 15 |
+
_update()
|
| 16 |
+
|
| 17 |
+
@export var collide_with_areas := false:
|
| 18 |
+
get: return collide_with_areas
|
| 19 |
+
set(value):
|
| 20 |
+
collide_with_areas = value
|
| 21 |
+
_update()
|
| 22 |
+
|
| 23 |
+
@export var collide_with_bodies := true:
|
| 24 |
+
get: return collide_with_bodies
|
| 25 |
+
set(value):
|
| 26 |
+
collide_with_bodies = value
|
| 27 |
+
_update()
|
| 28 |
+
|
| 29 |
+
@export_range(1, 200, 0.1) var cell_width := 20.0:
|
| 30 |
+
get: return cell_width
|
| 31 |
+
set(value):
|
| 32 |
+
cell_width = value
|
| 33 |
+
_update()
|
| 34 |
+
|
| 35 |
+
@export_range(1, 200, 0.1) var cell_height := 20.0:
|
| 36 |
+
get: return cell_height
|
| 37 |
+
set(value):
|
| 38 |
+
cell_height = value
|
| 39 |
+
_update()
|
| 40 |
+
|
| 41 |
+
@export_range(1, 21, 2, "or_greater") var grid_size_x := 3:
|
| 42 |
+
get: return grid_size_x
|
| 43 |
+
set(value):
|
| 44 |
+
grid_size_x = value
|
| 45 |
+
_update()
|
| 46 |
+
|
| 47 |
+
@export_range(1, 21, 2, "or_greater") var grid_size_y := 3:
|
| 48 |
+
get: return grid_size_y
|
| 49 |
+
set(value):
|
| 50 |
+
grid_size_y = value
|
| 51 |
+
_update()
|
| 52 |
+
|
| 53 |
+
var _obs_buffer: PackedFloat64Array
|
| 54 |
+
var _rectangle_shape: RectangleShape2D
|
| 55 |
+
var _collision_mapping: Dictionary
|
| 56 |
+
var _n_layers_per_cell: int
|
| 57 |
+
|
| 58 |
+
var _highlighted_cell_color: Color
|
| 59 |
+
var _standard_cell_color: Color
|
| 60 |
+
|
| 61 |
+
func get_observation():
|
| 62 |
+
return _obs_buffer
|
| 63 |
+
|
| 64 |
+
func _update():
|
| 65 |
+
if Engine.is_editor_hint():
|
| 66 |
+
if is_node_ready():
|
| 67 |
+
_spawn_nodes()
|
| 68 |
+
|
| 69 |
+
func _ready() -> void:
|
| 70 |
+
_set_colors()
|
| 71 |
+
|
| 72 |
+
if Engine.is_editor_hint():
|
| 73 |
+
if get_child_count() == 0:
|
| 74 |
+
_spawn_nodes()
|
| 75 |
+
else:
|
| 76 |
+
_spawn_nodes()
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
func _set_colors() -> void:
|
| 80 |
+
_standard_cell_color = Color(100.0/255.0, 100.0/255.0, 100.0/255.0, 100.0/255.0)
|
| 81 |
+
_highlighted_cell_color = Color(255.0/255.0, 100.0/255.0, 100.0/255.0, 100.0/255.0)
|
| 82 |
+
|
| 83 |
+
func _get_collision_mapping() -> Dictionary:
|
| 84 |
+
# defines which layer is mapped to which cell obs index
|
| 85 |
+
var total_bits = 0
|
| 86 |
+
var collision_mapping = {}
|
| 87 |
+
for i in 32:
|
| 88 |
+
var bit_mask = 2**i
|
| 89 |
+
if (detection_mask & bit_mask) > 0:
|
| 90 |
+
collision_mapping[i] = total_bits
|
| 91 |
+
total_bits += 1
|
| 92 |
+
|
| 93 |
+
return collision_mapping
|
| 94 |
+
|
| 95 |
+
func _spawn_nodes():
|
| 96 |
+
for cell in get_children():
|
| 97 |
+
cell.name = "_%s" % cell.name # Otherwise naming below will fail
|
| 98 |
+
cell.queue_free()
|
| 99 |
+
|
| 100 |
+
_collision_mapping = _get_collision_mapping()
|
| 101 |
+
#prints("collision_mapping", _collision_mapping, len(_collision_mapping))
|
| 102 |
+
# allocate memory for the observations
|
| 103 |
+
_n_layers_per_cell = len(_collision_mapping)
|
| 104 |
+
_obs_buffer = PackedFloat64Array()
|
| 105 |
+
_obs_buffer.resize(grid_size_x*grid_size_y*_n_layers_per_cell)
|
| 106 |
+
_obs_buffer.fill(0)
|
| 107 |
+
#prints(len(_obs_buffer), _obs_buffer )
|
| 108 |
+
|
| 109 |
+
_rectangle_shape = RectangleShape2D.new()
|
| 110 |
+
_rectangle_shape.set_size(Vector2(cell_width, cell_height))
|
| 111 |
+
|
| 112 |
+
var shift := Vector2(
|
| 113 |
+
-(grid_size_x/2)*cell_width,
|
| 114 |
+
-(grid_size_y/2)*cell_height,
|
| 115 |
+
)
|
| 116 |
+
|
| 117 |
+
for i in grid_size_x:
|
| 118 |
+
for j in grid_size_y:
|
| 119 |
+
var cell_position = Vector2(i*cell_width, j*cell_height) + shift
|
| 120 |
+
_create_cell(i, j, cell_position)
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
func _create_cell(i:int, j:int, position: Vector2):
|
| 124 |
+
var cell : = Area2D.new()
|
| 125 |
+
cell.position = position
|
| 126 |
+
cell.name = "GridCell %s %s" %[i, j]
|
| 127 |
+
cell.modulate = _standard_cell_color
|
| 128 |
+
|
| 129 |
+
if collide_with_areas:
|
| 130 |
+
cell.area_entered.connect(_on_cell_area_entered.bind(i, j))
|
| 131 |
+
cell.area_exited.connect(_on_cell_area_exited.bind(i, j))
|
| 132 |
+
|
| 133 |
+
if collide_with_bodies:
|
| 134 |
+
cell.body_entered.connect(_on_cell_body_entered.bind(i, j))
|
| 135 |
+
cell.body_exited.connect(_on_cell_body_exited.bind(i, j))
|
| 136 |
+
|
| 137 |
+
cell.collision_layer = 0
|
| 138 |
+
cell.collision_mask = detection_mask
|
| 139 |
+
cell.monitorable = true
|
| 140 |
+
add_child(cell)
|
| 141 |
+
cell.set_owner(get_tree().edited_scene_root)
|
| 142 |
+
|
| 143 |
+
var col_shape : = CollisionShape2D.new()
|
| 144 |
+
col_shape.shape = _rectangle_shape
|
| 145 |
+
col_shape.name = "CollisionShape2D"
|
| 146 |
+
cell.add_child(col_shape)
|
| 147 |
+
col_shape.set_owner(get_tree().edited_scene_root)
|
| 148 |
+
|
| 149 |
+
if debug_view:
|
| 150 |
+
var quad = MeshInstance2D.new()
|
| 151 |
+
quad.name = "MeshInstance2D"
|
| 152 |
+
var quad_mesh = QuadMesh.new()
|
| 153 |
+
|
| 154 |
+
quad_mesh.set_size(Vector2(cell_width, cell_height))
|
| 155 |
+
|
| 156 |
+
quad.mesh = quad_mesh
|
| 157 |
+
cell.add_child(quad)
|
| 158 |
+
quad.set_owner(get_tree().edited_scene_root)
|
| 159 |
+
|
| 160 |
+
func _update_obs(cell_i:int, cell_j:int, collision_layer:int, entered: bool):
|
| 161 |
+
for key in _collision_mapping:
|
| 162 |
+
var bit_mask = 2**key
|
| 163 |
+
if (collision_layer & bit_mask) > 0:
|
| 164 |
+
var collison_map_index = _collision_mapping[key]
|
| 165 |
+
|
| 166 |
+
var obs_index = (
|
| 167 |
+
(cell_i * grid_size_x * _n_layers_per_cell) +
|
| 168 |
+
(cell_j * _n_layers_per_cell) +
|
| 169 |
+
collison_map_index
|
| 170 |
+
)
|
| 171 |
+
#prints(obs_index, cell_i, cell_j)
|
| 172 |
+
if entered:
|
| 173 |
+
_obs_buffer[obs_index] += 1
|
| 174 |
+
else:
|
| 175 |
+
_obs_buffer[obs_index] -= 1
|
| 176 |
+
|
| 177 |
+
func _toggle_cell(cell_i:int, cell_j:int):
|
| 178 |
+
var cell = get_node_or_null("GridCell %s %s" %[cell_i, cell_j])
|
| 179 |
+
|
| 180 |
+
if cell == null:
|
| 181 |
+
print("cell not found, returning")
|
| 182 |
+
|
| 183 |
+
var n_hits = 0
|
| 184 |
+
var start_index = (cell_i * grid_size_x * _n_layers_per_cell) + (cell_j * _n_layers_per_cell)
|
| 185 |
+
for i in _n_layers_per_cell:
|
| 186 |
+
n_hits += _obs_buffer[start_index+i]
|
| 187 |
+
|
| 188 |
+
if n_hits > 0:
|
| 189 |
+
cell.modulate = _highlighted_cell_color
|
| 190 |
+
else:
|
| 191 |
+
cell.modulate = _standard_cell_color
|
| 192 |
+
|
| 193 |
+
func _on_cell_area_entered(area:Area2D, cell_i:int, cell_j:int):
|
| 194 |
+
#prints("_on_cell_area_entered", cell_i, cell_j)
|
| 195 |
+
_update_obs(cell_i, cell_j, area.collision_layer, true)
|
| 196 |
+
if debug_view:
|
| 197 |
+
_toggle_cell(cell_i, cell_j)
|
| 198 |
+
#print(_obs_buffer)
|
| 199 |
+
|
| 200 |
+
func _on_cell_area_exited(area:Area2D, cell_i:int, cell_j:int):
|
| 201 |
+
#prints("_on_cell_area_exited", cell_i, cell_j)
|
| 202 |
+
_update_obs(cell_i, cell_j, area.collision_layer, false)
|
| 203 |
+
if debug_view:
|
| 204 |
+
_toggle_cell(cell_i, cell_j)
|
| 205 |
+
|
| 206 |
+
func _on_cell_body_entered(body: Node2D, cell_i:int, cell_j:int):
|
| 207 |
+
#prints("_on_cell_body_entered", cell_i, cell_j)
|
| 208 |
+
_update_obs(cell_i, cell_j, body.collision_layer, true)
|
| 209 |
+
if debug_view:
|
| 210 |
+
_toggle_cell(cell_i, cell_j)
|
| 211 |
+
|
| 212 |
+
func _on_cell_body_exited(body: Node2D, cell_i:int, cell_j:int):
|
| 213 |
+
#prints("_on_cell_body_exited", cell_i, cell_j)
|
| 214 |
+
_update_obs(cell_i, cell_j, body.collision_layer, false)
|
| 215 |
+
if debug_view:
|
| 216 |
+
_toggle_cell(cell_i, cell_j)
|
addons/godot_rl_agents/sensors/sensors_2d/ISensor2D.gd
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
extends Node2D
|
| 2 |
+
class_name ISensor2D
|
| 3 |
+
|
| 4 |
+
var _obs : Array = []
|
| 5 |
+
var _active := false
|
| 6 |
+
|
| 7 |
+
func get_observation():
|
| 8 |
+
pass
|
| 9 |
+
|
| 10 |
+
func activate():
|
| 11 |
+
_active = true
|
| 12 |
+
|
| 13 |
+
func deactivate():
|
| 14 |
+
_active = false
|
| 15 |
+
|
| 16 |
+
func _update_observation():
|
| 17 |
+
pass
|
| 18 |
+
|
| 19 |
+
func reset():
|
| 20 |
+
pass
|
addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@tool
|
| 2 |
+
extends ISensor2D
|
| 3 |
+
class_name RaycastSensor2D
|
| 4 |
+
|
| 5 |
+
@export_flags_2d_physics var collision_mask := 1:
|
| 6 |
+
get: return collision_mask
|
| 7 |
+
set(value):
|
| 8 |
+
collision_mask = value
|
| 9 |
+
_update()
|
| 10 |
+
|
| 11 |
+
@export var collide_with_areas := false:
|
| 12 |
+
get: return collide_with_areas
|
| 13 |
+
set(value):
|
| 14 |
+
collide_with_areas = value
|
| 15 |
+
_update()
|
| 16 |
+
|
| 17 |
+
@export var collide_with_bodies := true:
|
| 18 |
+
get: return collide_with_bodies
|
| 19 |
+
set(value):
|
| 20 |
+
collide_with_bodies = value
|
| 21 |
+
_update()
|
| 22 |
+
|
| 23 |
+
@export var n_rays := 16.0:
|
| 24 |
+
get: return n_rays
|
| 25 |
+
set(value):
|
| 26 |
+
n_rays = value
|
| 27 |
+
_update()
|
| 28 |
+
|
| 29 |
+
@export_range(5,200,5.0) var ray_length := 200:
|
| 30 |
+
get: return ray_length
|
| 31 |
+
set(value):
|
| 32 |
+
ray_length = value
|
| 33 |
+
_update()
|
| 34 |
+
@export_range(5,360,5.0) var cone_width := 360.0:
|
| 35 |
+
get: return cone_width
|
| 36 |
+
set(value):
|
| 37 |
+
cone_width = value
|
| 38 |
+
_update()
|
| 39 |
+
|
| 40 |
+
@export var debug_draw := true :
|
| 41 |
+
get: return debug_draw
|
| 42 |
+
set(value):
|
| 43 |
+
debug_draw = value
|
| 44 |
+
_update()
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
var _angles = []
|
| 48 |
+
var rays := []
|
| 49 |
+
|
| 50 |
+
func _update():
|
| 51 |
+
if Engine.is_editor_hint():
|
| 52 |
+
if debug_draw:
|
| 53 |
+
_spawn_nodes()
|
| 54 |
+
else:
|
| 55 |
+
for ray in get_children():
|
| 56 |
+
if ray is RayCast2D:
|
| 57 |
+
remove_child(ray)
|
| 58 |
+
|
| 59 |
+
func _ready() -> void:
|
| 60 |
+
_spawn_nodes()
|
| 61 |
+
|
| 62 |
+
func _spawn_nodes():
|
| 63 |
+
for ray in rays:
|
| 64 |
+
ray.queue_free()
|
| 65 |
+
rays = []
|
| 66 |
+
|
| 67 |
+
_angles = []
|
| 68 |
+
var step = cone_width / (n_rays)
|
| 69 |
+
var start = step/2 - cone_width/2
|
| 70 |
+
|
| 71 |
+
for i in n_rays:
|
| 72 |
+
var angle = start + i * step
|
| 73 |
+
var ray = RayCast2D.new()
|
| 74 |
+
ray.set_target_position(Vector2(
|
| 75 |
+
ray_length*cos(deg_to_rad(angle)),
|
| 76 |
+
ray_length*sin(deg_to_rad(angle))
|
| 77 |
+
))
|
| 78 |
+
ray.set_name("node_"+str(i))
|
| 79 |
+
ray.enabled = true
|
| 80 |
+
ray.collide_with_areas = collide_with_areas
|
| 81 |
+
ray.collide_with_bodies = collide_with_bodies
|
| 82 |
+
ray.collision_mask = collision_mask
|
| 83 |
+
add_child(ray)
|
| 84 |
+
rays.append(ray)
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
_angles.append(start + i * step)
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
func _physics_process(delta: float) -> void:
|
| 91 |
+
if self._active:
|
| 92 |
+
self._obs = calculate_raycasts()
|
| 93 |
+
|
| 94 |
+
func get_observation() -> Array:
|
| 95 |
+
if len(self._obs) == 0:
|
| 96 |
+
print("obs was null, forcing raycast update")
|
| 97 |
+
return self.calculate_raycasts()
|
| 98 |
+
return self._obs
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
func calculate_raycasts() -> Array:
|
| 102 |
+
var result = []
|
| 103 |
+
for ray in rays:
|
| 104 |
+
ray.force_raycast_update()
|
| 105 |
+
var distance = _get_raycast_distance(ray)
|
| 106 |
+
result.append(distance)
|
| 107 |
+
return result
|
| 108 |
+
|
| 109 |
+
func _get_raycast_distance(ray : RayCast2D) -> float :
|
| 110 |
+
if !ray.is_colliding():
|
| 111 |
+
return 0.0
|
| 112 |
+
|
| 113 |
+
var distance = (global_position - ray.get_collision_point()).length()
|
| 114 |
+
distance = clamp(distance, 0.0, ray_length)
|
| 115 |
+
return (ray_length - distance) / ray_length
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
|
addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.tscn
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_scene load_steps=2 format=3 uid="uid://drvfihk5esgmv"]
|
| 2 |
+
|
| 3 |
+
[ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd" id="1"]
|
| 4 |
+
|
| 5 |
+
[node name="RaycastSensor2D" type="Node2D"]
|
| 6 |
+
script = ExtResource("1")
|
| 7 |
+
n_rays = 17.0
|
addons/godot_rl_agents/sensors/sensors_3d/ExampleRaycastSensor3D.tscn
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_scene format=3 uid="uid://biu787qh4woik"]
|
| 2 |
+
|
| 3 |
+
[node name="ExampleRaycastSensor3D" type="Node3D"]
|
| 4 |
+
|
| 5 |
+
[node name="Camera3D" type="Camera3D" parent="."]
|
| 6 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.804183, 0, 2.70146)
|
addons/godot_rl_agents/sensors/sensors_3d/GridSensor3D.gd
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@tool
|
| 2 |
+
extends ISensor3D
|
| 3 |
+
class_name GridSensor3D
|
| 4 |
+
|
| 5 |
+
@export var debug_view := false:
|
| 6 |
+
get: return debug_view
|
| 7 |
+
set(value):
|
| 8 |
+
debug_view = value
|
| 9 |
+
_update()
|
| 10 |
+
|
| 11 |
+
@export_flags_3d_physics var detection_mask := 0:
|
| 12 |
+
get: return detection_mask
|
| 13 |
+
set(value):
|
| 14 |
+
detection_mask = value
|
| 15 |
+
_update()
|
| 16 |
+
|
| 17 |
+
@export var collide_with_areas := false:
|
| 18 |
+
get: return collide_with_areas
|
| 19 |
+
set(value):
|
| 20 |
+
collide_with_areas = value
|
| 21 |
+
_update()
|
| 22 |
+
|
| 23 |
+
@export var collide_with_bodies := false:
|
| 24 |
+
# NOTE! The sensor will not detect StaticBody3D, add an area to static bodies to detect them
|
| 25 |
+
get: return collide_with_bodies
|
| 26 |
+
set(value):
|
| 27 |
+
collide_with_bodies = value
|
| 28 |
+
_update()
|
| 29 |
+
|
| 30 |
+
@export_range(0.1, 2, 0.1) var cell_width := 1.0:
|
| 31 |
+
get: return cell_width
|
| 32 |
+
set(value):
|
| 33 |
+
cell_width = value
|
| 34 |
+
_update()
|
| 35 |
+
|
| 36 |
+
@export_range(0.1, 2, 0.1) var cell_height := 1.0:
|
| 37 |
+
get: return cell_height
|
| 38 |
+
set(value):
|
| 39 |
+
cell_height = value
|
| 40 |
+
_update()
|
| 41 |
+
|
| 42 |
+
@export_range(1, 21, 2, "or_greater") var grid_size_x := 3:
|
| 43 |
+
get: return grid_size_x
|
| 44 |
+
set(value):
|
| 45 |
+
grid_size_x = value
|
| 46 |
+
_update()
|
| 47 |
+
|
| 48 |
+
@export_range(1, 21, 2, "or_greater") var grid_size_z := 3:
|
| 49 |
+
get: return grid_size_z
|
| 50 |
+
set(value):
|
| 51 |
+
grid_size_z = value
|
| 52 |
+
_update()
|
| 53 |
+
|
| 54 |
+
var _obs_buffer: PackedFloat64Array
|
| 55 |
+
var _box_shape: BoxShape3D
|
| 56 |
+
var _collision_mapping: Dictionary
|
| 57 |
+
var _n_layers_per_cell: int
|
| 58 |
+
|
| 59 |
+
var _highlighted_box_material: StandardMaterial3D
|
| 60 |
+
var _standard_box_material: StandardMaterial3D
|
| 61 |
+
|
| 62 |
+
func get_observation():
|
| 63 |
+
return _obs_buffer
|
| 64 |
+
|
| 65 |
+
func reset():
|
| 66 |
+
_obs_buffer.fill(0)
|
| 67 |
+
|
| 68 |
+
func _update():
|
| 69 |
+
if Engine.is_editor_hint():
|
| 70 |
+
if is_node_ready():
|
| 71 |
+
_spawn_nodes()
|
| 72 |
+
|
| 73 |
+
func _ready() -> void:
|
| 74 |
+
_make_materials()
|
| 75 |
+
|
| 76 |
+
if Engine.is_editor_hint():
|
| 77 |
+
if get_child_count() == 0:
|
| 78 |
+
_spawn_nodes()
|
| 79 |
+
else:
|
| 80 |
+
_spawn_nodes()
|
| 81 |
+
|
| 82 |
+
func _make_materials() -> void:
|
| 83 |
+
if _highlighted_box_material != null and _standard_box_material != null:
|
| 84 |
+
return
|
| 85 |
+
|
| 86 |
+
_standard_box_material = StandardMaterial3D.new()
|
| 87 |
+
_standard_box_material.set_transparency(1) # ALPHA
|
| 88 |
+
_standard_box_material.albedo_color = Color(100.0/255.0, 100.0/255.0, 100.0/255.0, 100.0/255.0)
|
| 89 |
+
|
| 90 |
+
_highlighted_box_material = StandardMaterial3D.new()
|
| 91 |
+
_highlighted_box_material.set_transparency(1) # ALPHA
|
| 92 |
+
_highlighted_box_material.albedo_color = Color(255.0/255.0, 100.0/255.0, 100.0/255.0, 100.0/255.0)
|
| 93 |
+
|
| 94 |
+
func _get_collision_mapping() -> Dictionary:
|
| 95 |
+
# defines which layer is mapped to which cell obs index
|
| 96 |
+
var total_bits = 0
|
| 97 |
+
var collision_mapping = {}
|
| 98 |
+
for i in 32:
|
| 99 |
+
var bit_mask = 2**i
|
| 100 |
+
if (detection_mask & bit_mask) > 0:
|
| 101 |
+
collision_mapping[i] = total_bits
|
| 102 |
+
total_bits += 1
|
| 103 |
+
|
| 104 |
+
return collision_mapping
|
| 105 |
+
|
| 106 |
+
func _spawn_nodes():
|
| 107 |
+
for cell in get_children():
|
| 108 |
+
cell.name = "_%s" % cell.name # Otherwise naming below will fail
|
| 109 |
+
cell.queue_free()
|
| 110 |
+
|
| 111 |
+
_collision_mapping = _get_collision_mapping()
|
| 112 |
+
#prints("collision_mapping", _collision_mapping, len(_collision_mapping))
|
| 113 |
+
# allocate memory for the observations
|
| 114 |
+
_n_layers_per_cell = len(_collision_mapping)
|
| 115 |
+
_obs_buffer = PackedFloat64Array()
|
| 116 |
+
_obs_buffer.resize(grid_size_x*grid_size_z*_n_layers_per_cell)
|
| 117 |
+
_obs_buffer.fill(0)
|
| 118 |
+
#prints(len(_obs_buffer), _obs_buffer )
|
| 119 |
+
|
| 120 |
+
_box_shape = BoxShape3D.new()
|
| 121 |
+
_box_shape.set_size(Vector3(cell_width, cell_height, cell_width))
|
| 122 |
+
|
| 123 |
+
var shift := Vector3(
|
| 124 |
+
-(grid_size_x/2)*cell_width,
|
| 125 |
+
0,
|
| 126 |
+
-(grid_size_z/2)*cell_width,
|
| 127 |
+
)
|
| 128 |
+
|
| 129 |
+
for i in grid_size_x:
|
| 130 |
+
for j in grid_size_z:
|
| 131 |
+
var cell_position = Vector3(i*cell_width, 0.0, j*cell_width) + shift
|
| 132 |
+
_create_cell(i, j, cell_position)
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
func _create_cell(i:int, j:int, position: Vector3):
|
| 136 |
+
var cell : = Area3D.new()
|
| 137 |
+
cell.position = position
|
| 138 |
+
cell.name = "GridCell %s %s" %[i, j]
|
| 139 |
+
|
| 140 |
+
if collide_with_areas:
|
| 141 |
+
cell.area_entered.connect(_on_cell_area_entered.bind(i, j))
|
| 142 |
+
cell.area_exited.connect(_on_cell_area_exited.bind(i, j))
|
| 143 |
+
|
| 144 |
+
if collide_with_bodies:
|
| 145 |
+
cell.body_entered.connect(_on_cell_body_entered.bind(i, j))
|
| 146 |
+
cell.body_exited.connect(_on_cell_body_exited.bind(i, j))
|
| 147 |
+
|
| 148 |
+
# cell.body_shape_entered.connect(_on_cell_body_shape_entered.bind(i, j))
|
| 149 |
+
# cell.body_shape_exited.connect(_on_cell_body_shape_exited.bind(i, j))
|
| 150 |
+
|
| 151 |
+
cell.collision_layer = 0
|
| 152 |
+
cell.collision_mask = detection_mask
|
| 153 |
+
cell.monitorable = true
|
| 154 |
+
cell.input_ray_pickable = false
|
| 155 |
+
add_child(cell)
|
| 156 |
+
cell.set_owner(get_tree().edited_scene_root)
|
| 157 |
+
|
| 158 |
+
var col_shape : = CollisionShape3D.new()
|
| 159 |
+
col_shape.shape = _box_shape
|
| 160 |
+
col_shape.name = "CollisionShape3D"
|
| 161 |
+
cell.add_child(col_shape)
|
| 162 |
+
col_shape.set_owner(get_tree().edited_scene_root)
|
| 163 |
+
|
| 164 |
+
if debug_view:
|
| 165 |
+
var box = MeshInstance3D.new()
|
| 166 |
+
box.name = "MeshInstance3D"
|
| 167 |
+
var box_mesh = BoxMesh.new()
|
| 168 |
+
|
| 169 |
+
box_mesh.set_size(Vector3(cell_width, cell_height, cell_width))
|
| 170 |
+
box_mesh.material = _standard_box_material
|
| 171 |
+
|
| 172 |
+
box.mesh = box_mesh
|
| 173 |
+
cell.add_child(box)
|
| 174 |
+
box.set_owner(get_tree().edited_scene_root)
|
| 175 |
+
|
| 176 |
+
func _update_obs(cell_i:int, cell_j:int, collision_layer:int, entered: bool):
|
| 177 |
+
for key in _collision_mapping:
|
| 178 |
+
var bit_mask = 2**key
|
| 179 |
+
if (collision_layer & bit_mask) > 0:
|
| 180 |
+
var collison_map_index = _collision_mapping[key]
|
| 181 |
+
|
| 182 |
+
var obs_index = (
|
| 183 |
+
(cell_i * grid_size_x * _n_layers_per_cell) +
|
| 184 |
+
(cell_j * _n_layers_per_cell) +
|
| 185 |
+
collison_map_index
|
| 186 |
+
)
|
| 187 |
+
#prints(obs_index, cell_i, cell_j)
|
| 188 |
+
if entered:
|
| 189 |
+
_obs_buffer[obs_index] += 1
|
| 190 |
+
else:
|
| 191 |
+
_obs_buffer[obs_index] -= 1
|
| 192 |
+
|
| 193 |
+
func _toggle_cell(cell_i:int, cell_j:int):
|
| 194 |
+
var cell = get_node_or_null("GridCell %s %s" %[cell_i, cell_j])
|
| 195 |
+
|
| 196 |
+
if cell == null:
|
| 197 |
+
print("cell not found, returning")
|
| 198 |
+
|
| 199 |
+
var n_hits = 0
|
| 200 |
+
var start_index = (cell_i * grid_size_x * _n_layers_per_cell) + (cell_j * _n_layers_per_cell)
|
| 201 |
+
for i in _n_layers_per_cell:
|
| 202 |
+
n_hits += _obs_buffer[start_index+i]
|
| 203 |
+
|
| 204 |
+
var cell_mesh = cell.get_node_or_null("MeshInstance3D")
|
| 205 |
+
if n_hits > 0:
|
| 206 |
+
cell_mesh.mesh.material = _highlighted_box_material
|
| 207 |
+
else:
|
| 208 |
+
cell_mesh.mesh.material = _standard_box_material
|
| 209 |
+
|
| 210 |
+
func _on_cell_area_entered(area:Area3D, cell_i:int, cell_j:int):
|
| 211 |
+
#prints("_on_cell_area_entered", cell_i, cell_j)
|
| 212 |
+
_update_obs(cell_i, cell_j, area.collision_layer, true)
|
| 213 |
+
if debug_view:
|
| 214 |
+
_toggle_cell(cell_i, cell_j)
|
| 215 |
+
#print(_obs_buffer)
|
| 216 |
+
|
| 217 |
+
func _on_cell_area_exited(area:Area3D, cell_i:int, cell_j:int):
|
| 218 |
+
#prints("_on_cell_area_exited", cell_i, cell_j)
|
| 219 |
+
_update_obs(cell_i, cell_j, area.collision_layer, false)
|
| 220 |
+
if debug_view:
|
| 221 |
+
_toggle_cell(cell_i, cell_j)
|
| 222 |
+
|
| 223 |
+
func _on_cell_body_entered(body: Node3D, cell_i:int, cell_j:int):
|
| 224 |
+
#prints("_on_cell_body_entered", cell_i, cell_j)
|
| 225 |
+
_update_obs(cell_i, cell_j, body.collision_layer, true)
|
| 226 |
+
if debug_view:
|
| 227 |
+
_toggle_cell(cell_i, cell_j)
|
| 228 |
+
|
| 229 |
+
func _on_cell_body_exited(body: Node3D, cell_i:int, cell_j:int):
|
| 230 |
+
#prints("_on_cell_body_exited", cell_i, cell_j)
|
| 231 |
+
_update_obs(cell_i, cell_j, body.collision_layer, false)
|
| 232 |
+
if debug_view:
|
| 233 |
+
_toggle_cell(cell_i, cell_j)
|
addons/godot_rl_agents/sensors/sensors_3d/ISensor3D.gd
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
extends Node3D
|
| 2 |
+
class_name ISensor3D
|
| 3 |
+
|
| 4 |
+
var _obs : Array = []
|
| 5 |
+
var _active := false
|
| 6 |
+
|
| 7 |
+
func get_observation():
|
| 8 |
+
pass
|
| 9 |
+
|
| 10 |
+
func activate():
|
| 11 |
+
_active = true
|
| 12 |
+
|
| 13 |
+
func deactivate():
|
| 14 |
+
_active = false
|
| 15 |
+
|
| 16 |
+
func _update_observation():
|
| 17 |
+
pass
|
| 18 |
+
|
| 19 |
+
func reset():
|
| 20 |
+
pass
|
addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
extends Node3D
|
| 2 |
+
class_name RGBCameraSensor3D
|
| 3 |
+
var camera_pixels = null
|
| 4 |
+
|
| 5 |
+
@onready var camera_texture := $Control/TextureRect/CameraTexture as Sprite2D
|
| 6 |
+
@onready var sub_viewport := $SubViewport as SubViewport
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
func get_camera_pixel_encoding():
|
| 10 |
+
return camera_texture.get_texture().get_image().get_data().hex_encode()
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
func get_camera_shape() -> Array:
|
| 14 |
+
assert(
|
| 15 |
+
sub_viewport.size.x >= 36 and sub_viewport.size.y >= 36,
|
| 16 |
+
"SubViewport size must be 36x36 or larger."
|
| 17 |
+
)
|
| 18 |
+
if sub_viewport.transparent_bg:
|
| 19 |
+
return [4, sub_viewport.size.y, sub_viewport.size.x]
|
| 20 |
+
else:
|
| 21 |
+
return [3, sub_viewport.size.y, sub_viewport.size.x]
|
addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.tscn
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_scene load_steps=3 format=3 uid="uid://baaywi3arsl2m"]
|
| 2 |
+
|
| 3 |
+
[ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd" id="1"]
|
| 4 |
+
|
| 5 |
+
[sub_resource type="ViewportTexture" id="1"]
|
| 6 |
+
viewport_path = NodePath("SubViewport")
|
| 7 |
+
|
| 8 |
+
[node name="RGBCameraSensor3D" type="Node3D"]
|
| 9 |
+
script = ExtResource("1")
|
| 10 |
+
|
| 11 |
+
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="."]
|
| 12 |
+
remote_path = NodePath("../SubViewport/Camera3D")
|
| 13 |
+
|
| 14 |
+
[node name="SubViewport" type="SubViewport" parent="."]
|
| 15 |
+
size = Vector2i(32, 32)
|
| 16 |
+
render_target_update_mode = 3
|
| 17 |
+
|
| 18 |
+
[node name="Camera3D" type="Camera3D" parent="SubViewport"]
|
| 19 |
+
near = 0.5
|
| 20 |
+
|
| 21 |
+
[node name="Control" type="Control" parent="."]
|
| 22 |
+
layout_mode = 3
|
| 23 |
+
anchors_preset = 15
|
| 24 |
+
anchor_right = 1.0
|
| 25 |
+
anchor_bottom = 1.0
|
| 26 |
+
grow_horizontal = 2
|
| 27 |
+
grow_vertical = 2
|
| 28 |
+
|
| 29 |
+
[node name="TextureRect" type="ColorRect" parent="Control"]
|
| 30 |
+
layout_mode = 0
|
| 31 |
+
offset_left = 1096.0
|
| 32 |
+
offset_top = 534.0
|
| 33 |
+
offset_right = 1114.0
|
| 34 |
+
offset_bottom = 552.0
|
| 35 |
+
scale = Vector2(10, 10)
|
| 36 |
+
color = Color(0.00784314, 0.00784314, 0.00784314, 1)
|
| 37 |
+
|
| 38 |
+
[node name="CameraTexture" type="Sprite2D" parent="Control/TextureRect"]
|
| 39 |
+
texture = SubResource("1")
|
| 40 |
+
offset = Vector2(9, 9)
|
| 41 |
+
flip_v = true
|
addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@tool
|
| 2 |
+
extends ISensor3D
|
| 3 |
+
class_name RayCastSensor3D
|
| 4 |
+
@export_flags_3d_physics var collision_mask = 1:
|
| 5 |
+
get: return collision_mask
|
| 6 |
+
set(value):
|
| 7 |
+
collision_mask = value
|
| 8 |
+
_update()
|
| 9 |
+
@export_flags_3d_physics var boolean_class_mask = 1:
|
| 10 |
+
get: return boolean_class_mask
|
| 11 |
+
set(value):
|
| 12 |
+
boolean_class_mask = value
|
| 13 |
+
_update()
|
| 14 |
+
|
| 15 |
+
@export var n_rays_width := 6.0:
|
| 16 |
+
get: return n_rays_width
|
| 17 |
+
set(value):
|
| 18 |
+
n_rays_width = value
|
| 19 |
+
_update()
|
| 20 |
+
|
| 21 |
+
@export var n_rays_height := 6.0:
|
| 22 |
+
get: return n_rays_height
|
| 23 |
+
set(value):
|
| 24 |
+
n_rays_height = value
|
| 25 |
+
_update()
|
| 26 |
+
|
| 27 |
+
@export var ray_length := 10.0:
|
| 28 |
+
get: return ray_length
|
| 29 |
+
set(value):
|
| 30 |
+
ray_length = value
|
| 31 |
+
_update()
|
| 32 |
+
|
| 33 |
+
@export var cone_width := 60.0:
|
| 34 |
+
get: return cone_width
|
| 35 |
+
set(value):
|
| 36 |
+
cone_width = value
|
| 37 |
+
_update()
|
| 38 |
+
|
| 39 |
+
@export var cone_height := 60.0:
|
| 40 |
+
get: return cone_height
|
| 41 |
+
set(value):
|
| 42 |
+
cone_height = value
|
| 43 |
+
_update()
|
| 44 |
+
|
| 45 |
+
@export var collide_with_areas := false:
|
| 46 |
+
get: return collide_with_areas
|
| 47 |
+
set(value):
|
| 48 |
+
collide_with_areas = value
|
| 49 |
+
_update()
|
| 50 |
+
|
| 51 |
+
@export var collide_with_bodies := true:
|
| 52 |
+
get: return collide_with_bodies
|
| 53 |
+
set(value):
|
| 54 |
+
collide_with_bodies = value
|
| 55 |
+
_update()
|
| 56 |
+
|
| 57 |
+
@export var class_sensor := false
|
| 58 |
+
|
| 59 |
+
var rays := []
|
| 60 |
+
var geo = null
|
| 61 |
+
|
| 62 |
+
func _update():
|
| 63 |
+
if Engine.is_editor_hint():
|
| 64 |
+
if is_node_ready():
|
| 65 |
+
_spawn_nodes()
|
| 66 |
+
|
| 67 |
+
func _ready() -> void:
|
| 68 |
+
if Engine.is_editor_hint():
|
| 69 |
+
if get_child_count() == 0:
|
| 70 |
+
_spawn_nodes()
|
| 71 |
+
else:
|
| 72 |
+
_spawn_nodes()
|
| 73 |
+
|
| 74 |
+
func _spawn_nodes():
|
| 75 |
+
print("spawning nodes")
|
| 76 |
+
for ray in get_children():
|
| 77 |
+
ray.queue_free()
|
| 78 |
+
if geo:
|
| 79 |
+
geo.clear()
|
| 80 |
+
#$Lines.remove_points()
|
| 81 |
+
rays = []
|
| 82 |
+
|
| 83 |
+
var horizontal_step = cone_width / (n_rays_width)
|
| 84 |
+
var vertical_step = cone_height / (n_rays_height)
|
| 85 |
+
|
| 86 |
+
var horizontal_start = horizontal_step/2 - cone_width/2
|
| 87 |
+
var vertical_start = vertical_step/2 - cone_height/2
|
| 88 |
+
|
| 89 |
+
var points = []
|
| 90 |
+
|
| 91 |
+
for i in n_rays_width:
|
| 92 |
+
for j in n_rays_height:
|
| 93 |
+
var angle_w = horizontal_start + i * horizontal_step
|
| 94 |
+
var angle_h = vertical_start + j * vertical_step
|
| 95 |
+
#angle_h = 0.0
|
| 96 |
+
var ray = RayCast3D.new()
|
| 97 |
+
var cast_to = to_spherical_coords(ray_length, angle_w, angle_h)
|
| 98 |
+
ray.set_target_position(cast_to)
|
| 99 |
+
|
| 100 |
+
points.append(cast_to)
|
| 101 |
+
|
| 102 |
+
ray.set_name("node_"+str(i)+" "+str(j))
|
| 103 |
+
ray.enabled = true
|
| 104 |
+
ray.collide_with_bodies = collide_with_bodies
|
| 105 |
+
ray.collide_with_areas = collide_with_areas
|
| 106 |
+
ray.collision_mask = collision_mask
|
| 107 |
+
add_child(ray)
|
| 108 |
+
ray.set_owner(get_tree().edited_scene_root)
|
| 109 |
+
rays.append(ray)
|
| 110 |
+
ray.force_raycast_update()
|
| 111 |
+
|
| 112 |
+
# if Engine.editor_hint:
|
| 113 |
+
# _create_debug_lines(points)
|
| 114 |
+
|
| 115 |
+
func _create_debug_lines(points):
|
| 116 |
+
if not geo:
|
| 117 |
+
geo = ImmediateMesh.new()
|
| 118 |
+
add_child(geo)
|
| 119 |
+
|
| 120 |
+
geo.clear()
|
| 121 |
+
geo.begin(Mesh.PRIMITIVE_LINES)
|
| 122 |
+
for point in points:
|
| 123 |
+
geo.set_color(Color.AQUA)
|
| 124 |
+
geo.add_vertex(Vector3.ZERO)
|
| 125 |
+
geo.add_vertex(point)
|
| 126 |
+
geo.end()
|
| 127 |
+
|
| 128 |
+
func display():
|
| 129 |
+
if geo:
|
| 130 |
+
geo.display()
|
| 131 |
+
|
| 132 |
+
func to_spherical_coords(r, inc, azimuth) -> Vector3:
|
| 133 |
+
return Vector3(
|
| 134 |
+
r*sin(deg_to_rad(inc))*cos(deg_to_rad(azimuth)),
|
| 135 |
+
r*sin(deg_to_rad(azimuth)),
|
| 136 |
+
r*cos(deg_to_rad(inc))*cos(deg_to_rad(azimuth))
|
| 137 |
+
)
|
| 138 |
+
|
| 139 |
+
func get_observation() -> Array:
|
| 140 |
+
return self.calculate_raycasts()
|
| 141 |
+
|
| 142 |
+
func calculate_raycasts() -> Array:
|
| 143 |
+
var result = []
|
| 144 |
+
for ray in rays:
|
| 145 |
+
ray.set_enabled(true)
|
| 146 |
+
ray.force_raycast_update()
|
| 147 |
+
var distance = _get_raycast_distance(ray)
|
| 148 |
+
|
| 149 |
+
result.append(distance)
|
| 150 |
+
if class_sensor:
|
| 151 |
+
var hit_class: float = 0
|
| 152 |
+
if ray.get_collider():
|
| 153 |
+
var hit_collision_layer = ray.get_collider().collision_layer
|
| 154 |
+
hit_collision_layer = hit_collision_layer & collision_mask
|
| 155 |
+
hit_class = (hit_collision_layer & boolean_class_mask) > 0
|
| 156 |
+
result.append(float(hit_class))
|
| 157 |
+
ray.set_enabled(false)
|
| 158 |
+
return result
|
| 159 |
+
|
| 160 |
+
func _get_raycast_distance(ray : RayCast3D) -> float :
|
| 161 |
+
if !ray.is_colliding():
|
| 162 |
+
return 0.0
|
| 163 |
+
|
| 164 |
+
var distance = (global_transform.origin - ray.get_collision_point()).length()
|
| 165 |
+
distance = clamp(distance, 0.0, ray_length)
|
| 166 |
+
return (ray_length - distance) / ray_length
|
addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.tscn
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_scene load_steps=2 format=3 uid="uid://b803cbh1fmy66"]
|
| 2 |
+
|
| 3 |
+
[ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd" id="1"]
|
| 4 |
+
|
| 5 |
+
[node name="RaycastSensor3D" type="Node3D"]
|
| 6 |
+
script = ExtResource("1")
|
| 7 |
+
n_rays_width = 4.0
|
| 8 |
+
n_rays_height = 2.0
|
| 9 |
+
ray_length = 11.0
|
| 10 |
+
|
| 11 |
+
[node name="node_1 0" type="RayCast3D" parent="."]
|
| 12 |
+
target_position = Vector3(-1.38686, -2.84701, 10.5343)
|
| 13 |
+
|
| 14 |
+
[node name="node_1 1" type="RayCast3D" parent="."]
|
| 15 |
+
target_position = Vector3(-1.38686, 2.84701, 10.5343)
|
| 16 |
+
|
| 17 |
+
[node name="node_2 0" type="RayCast3D" parent="."]
|
| 18 |
+
target_position = Vector3(1.38686, -2.84701, 10.5343)
|
| 19 |
+
|
| 20 |
+
[node name="node_2 1" type="RayCast3D" parent="."]
|
| 21 |
+
target_position = Vector3(1.38686, 2.84701, 10.5343)
|
| 22 |
+
|
| 23 |
+
[node name="node_3 0" type="RayCast3D" parent="."]
|
| 24 |
+
target_position = Vector3(4.06608, -2.84701, 9.81639)
|
| 25 |
+
|
| 26 |
+
[node name="node_3 1" type="RayCast3D" parent="."]
|
| 27 |
+
target_position = Vector3(4.06608, 2.84701, 9.81639)
|
addons/godot_rl_agents/sync.gd
ADDED
|
@@ -0,0 +1,342 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
extends Node
|
| 2 |
+
|
| 3 |
+
# --fixed-fps 2000 --disable-render-loop
|
| 4 |
+
|
| 5 |
+
enum ControlModes {HUMAN, TRAINING, ONNX_INFERENCE}
|
| 6 |
+
@export var control_mode: ControlModes = ControlModes.TRAINING
|
| 7 |
+
@export_range(1, 10, 1, "or_greater") var action_repeat := 8
|
| 8 |
+
@export_range(1, 10, 1, "or_greater") var speed_up = 1
|
| 9 |
+
@export var onnx_model_path := ""
|
| 10 |
+
|
| 11 |
+
@onready var start_time = Time.get_ticks_msec()
|
| 12 |
+
|
| 13 |
+
const MAJOR_VERSION := "0"
|
| 14 |
+
const MINOR_VERSION := "7"
|
| 15 |
+
const DEFAULT_PORT := "11008"
|
| 16 |
+
const DEFAULT_SEED := "1"
|
| 17 |
+
var stream : StreamPeerTCP = null
|
| 18 |
+
var connected = false
|
| 19 |
+
var message_center
|
| 20 |
+
var should_connect = true
|
| 21 |
+
var agents
|
| 22 |
+
var need_to_send_obs = false
|
| 23 |
+
var args = null
|
| 24 |
+
var initialized = false
|
| 25 |
+
var just_reset = false
|
| 26 |
+
var onnx_model = null
|
| 27 |
+
var n_action_steps = 0
|
| 28 |
+
|
| 29 |
+
var _action_space : Dictionary
|
| 30 |
+
var _obs_space : Dictionary
|
| 31 |
+
|
| 32 |
+
# Called when the node enters the scene tree for the first time.
|
| 33 |
+
func _ready():
|
| 34 |
+
await get_tree().root.ready
|
| 35 |
+
get_tree().set_pause(true)
|
| 36 |
+
_initialize()
|
| 37 |
+
await get_tree().create_timer(1.0).timeout
|
| 38 |
+
get_tree().set_pause(false)
|
| 39 |
+
|
| 40 |
+
func _initialize():
|
| 41 |
+
_get_agents()
|
| 42 |
+
_obs_space = agents[0].get_obs_space()
|
| 43 |
+
_action_space = agents[0].get_action_space()
|
| 44 |
+
args = _get_args()
|
| 45 |
+
Engine.physics_ticks_per_second = _get_speedup() * 60 # Replace with function body.
|
| 46 |
+
Engine.time_scale = _get_speedup() * 1.0
|
| 47 |
+
prints("physics ticks", Engine.physics_ticks_per_second, Engine.time_scale, _get_speedup(), speed_up)
|
| 48 |
+
|
| 49 |
+
_set_heuristic("human")
|
| 50 |
+
match control_mode:
|
| 51 |
+
ControlModes.TRAINING:
|
| 52 |
+
connected = connect_to_server()
|
| 53 |
+
if connected:
|
| 54 |
+
_set_heuristic("model")
|
| 55 |
+
_handshake()
|
| 56 |
+
_send_env_info()
|
| 57 |
+
else:
|
| 58 |
+
push_warning("Couldn't connect to Python server, using human controls instead. ",
|
| 59 |
+
"Did you start the training server using e.g. `gdrl` from the console?")
|
| 60 |
+
ControlModes.ONNX_INFERENCE:
|
| 61 |
+
assert(FileAccess.file_exists(onnx_model_path), "Onnx Model Path set on Sync node does not exist: %s" % onnx_model_path)
|
| 62 |
+
onnx_model = ONNXModel.new(onnx_model_path, 1)
|
| 63 |
+
_set_heuristic("model")
|
| 64 |
+
|
| 65 |
+
_set_seed()
|
| 66 |
+
_set_action_repeat()
|
| 67 |
+
initialized = true
|
| 68 |
+
|
| 69 |
+
func _physics_process(_delta):
|
| 70 |
+
# two modes, human control, agent control
|
| 71 |
+
# pause tree, send obs, get actions, set actions, unpause tree
|
| 72 |
+
if n_action_steps % action_repeat != 0:
|
| 73 |
+
n_action_steps += 1
|
| 74 |
+
return
|
| 75 |
+
|
| 76 |
+
n_action_steps += 1
|
| 77 |
+
|
| 78 |
+
if connected:
|
| 79 |
+
get_tree().set_pause(true)
|
| 80 |
+
|
| 81 |
+
if just_reset:
|
| 82 |
+
just_reset = false
|
| 83 |
+
var obs = _get_obs_from_agents()
|
| 84 |
+
|
| 85 |
+
var reply = {
|
| 86 |
+
"type": "reset",
|
| 87 |
+
"obs": obs
|
| 88 |
+
}
|
| 89 |
+
_send_dict_as_json_message(reply)
|
| 90 |
+
# this should go straight to getting the action and setting it checked the agent, no need to perform one phyics tick
|
| 91 |
+
get_tree().set_pause(false)
|
| 92 |
+
return
|
| 93 |
+
|
| 94 |
+
if need_to_send_obs:
|
| 95 |
+
need_to_send_obs = false
|
| 96 |
+
var reward = _get_reward_from_agents()
|
| 97 |
+
var done = _get_done_from_agents()
|
| 98 |
+
#_reset_agents_if_done() # this ensures the new observation is from the next env instance : NEEDS REFACTOR
|
| 99 |
+
|
| 100 |
+
var obs = _get_obs_from_agents()
|
| 101 |
+
|
| 102 |
+
var reply = {
|
| 103 |
+
"type": "step",
|
| 104 |
+
"obs": obs,
|
| 105 |
+
"reward": reward,
|
| 106 |
+
"done": done
|
| 107 |
+
}
|
| 108 |
+
_send_dict_as_json_message(reply)
|
| 109 |
+
|
| 110 |
+
var handled = handle_message()
|
| 111 |
+
|
| 112 |
+
elif onnx_model != null:
|
| 113 |
+
var obs : Array = _get_obs_from_agents()
|
| 114 |
+
|
| 115 |
+
var actions = []
|
| 116 |
+
for o in obs:
|
| 117 |
+
var action = onnx_model.run_inference(o["obs"], 1.0)
|
| 118 |
+
action["output"] = clamp_array(action["output"], -1.0, 1.0)
|
| 119 |
+
var action_dict = _extract_action_dict(action["output"])
|
| 120 |
+
actions.append(action_dict)
|
| 121 |
+
|
| 122 |
+
_set_agent_actions(actions)
|
| 123 |
+
need_to_send_obs = true
|
| 124 |
+
get_tree().set_pause(false)
|
| 125 |
+
_reset_agents_if_done()
|
| 126 |
+
|
| 127 |
+
else:
|
| 128 |
+
_reset_agents_if_done()
|
| 129 |
+
|
| 130 |
+
func _extract_action_dict(action_array: Array):
|
| 131 |
+
var index = 0
|
| 132 |
+
var result = {}
|
| 133 |
+
for key in _action_space.keys():
|
| 134 |
+
var size = _action_space[key]["size"]
|
| 135 |
+
if _action_space[key]["action_type"] == "discrete":
|
| 136 |
+
result[key] = round(action_array[index])
|
| 137 |
+
else:
|
| 138 |
+
result[key] = action_array.slice(index,index+size)
|
| 139 |
+
index += size
|
| 140 |
+
|
| 141 |
+
return result
|
| 142 |
+
|
| 143 |
+
func _get_agents():
|
| 144 |
+
agents = get_tree().get_nodes_in_group("AGENT")
|
| 145 |
+
|
| 146 |
+
func _set_heuristic(heuristic):
|
| 147 |
+
for agent in agents:
|
| 148 |
+
agent.set_heuristic(heuristic)
|
| 149 |
+
|
| 150 |
+
func _handshake():
|
| 151 |
+
print("performing handshake")
|
| 152 |
+
|
| 153 |
+
var json_dict = _get_dict_json_message()
|
| 154 |
+
assert(json_dict["type"] == "handshake")
|
| 155 |
+
var major_version = json_dict["major_version"]
|
| 156 |
+
var minor_version = json_dict["minor_version"]
|
| 157 |
+
if major_version != MAJOR_VERSION:
|
| 158 |
+
print("WARNING: major verison mismatch ", major_version, " ", MAJOR_VERSION)
|
| 159 |
+
if minor_version != MINOR_VERSION:
|
| 160 |
+
print("WARNING: minor verison mismatch ", minor_version, " ", MINOR_VERSION)
|
| 161 |
+
|
| 162 |
+
print("handshake complete")
|
| 163 |
+
|
| 164 |
+
func _get_dict_json_message():
|
| 165 |
+
# returns a dictionary from of the most recent message
|
| 166 |
+
# this is not waiting
|
| 167 |
+
while stream.get_available_bytes() == 0:
|
| 168 |
+
stream.poll()
|
| 169 |
+
if stream.get_status() != 2:
|
| 170 |
+
print("server disconnected status, closing")
|
| 171 |
+
get_tree().quit()
|
| 172 |
+
return null
|
| 173 |
+
|
| 174 |
+
OS.delay_usec(10)
|
| 175 |
+
|
| 176 |
+
var message = stream.get_string()
|
| 177 |
+
var json_data = JSON.parse_string(message)
|
| 178 |
+
|
| 179 |
+
return json_data
|
| 180 |
+
|
| 181 |
+
func _send_dict_as_json_message(dict):
|
| 182 |
+
stream.put_string(JSON.stringify(dict, "", false))
|
| 183 |
+
|
| 184 |
+
func _send_env_info():
|
| 185 |
+
var json_dict = _get_dict_json_message()
|
| 186 |
+
assert(json_dict["type"] == "env_info")
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
var message = {
|
| 190 |
+
"type" : "env_info",
|
| 191 |
+
"observation_space": _obs_space,
|
| 192 |
+
"action_space":_action_space,
|
| 193 |
+
"n_agents": len(agents)
|
| 194 |
+
}
|
| 195 |
+
_send_dict_as_json_message(message)
|
| 196 |
+
|
| 197 |
+
func connect_to_server():
|
| 198 |
+
print("Waiting for one second to allow server to start")
|
| 199 |
+
OS.delay_msec(1000)
|
| 200 |
+
print("trying to connect to server")
|
| 201 |
+
stream = StreamPeerTCP.new()
|
| 202 |
+
|
| 203 |
+
# "localhost" was not working on windows VM, had to use the IP
|
| 204 |
+
var ip = "127.0.0.1"
|
| 205 |
+
var port = _get_port()
|
| 206 |
+
var connect = stream.connect_to_host(ip, port)
|
| 207 |
+
stream.set_no_delay(true) # TODO check if this improves performance or not
|
| 208 |
+
stream.poll()
|
| 209 |
+
# Fetch the status until it is either connected (2) or failed to connect (3)
|
| 210 |
+
while stream.get_status() < 2:
|
| 211 |
+
stream.poll()
|
| 212 |
+
return stream.get_status() == 2
|
| 213 |
+
|
| 214 |
+
func _get_args():
|
| 215 |
+
print("getting command line arguments")
|
| 216 |
+
var arguments = {}
|
| 217 |
+
for argument in OS.get_cmdline_args():
|
| 218 |
+
print(argument)
|
| 219 |
+
if argument.find("=") > -1:
|
| 220 |
+
var key_value = argument.split("=")
|
| 221 |
+
arguments[key_value[0].lstrip("--")] = key_value[1]
|
| 222 |
+
else:
|
| 223 |
+
# Options without an argument will be present in the dictionary,
|
| 224 |
+
# with the value set to an empty string.
|
| 225 |
+
arguments[argument.lstrip("--")] = ""
|
| 226 |
+
|
| 227 |
+
return arguments
|
| 228 |
+
|
| 229 |
+
func _get_speedup():
|
| 230 |
+
print(args)
|
| 231 |
+
return args.get("speedup", str(speed_up)).to_int()
|
| 232 |
+
|
| 233 |
+
func _get_port():
|
| 234 |
+
return args.get("port", DEFAULT_PORT).to_int()
|
| 235 |
+
|
| 236 |
+
func _set_seed():
|
| 237 |
+
var _seed = args.get("env_seed", DEFAULT_SEED).to_int()
|
| 238 |
+
seed(_seed)
|
| 239 |
+
|
| 240 |
+
func _set_action_repeat():
|
| 241 |
+
action_repeat = args.get("action_repeat", str(action_repeat)).to_int()
|
| 242 |
+
|
| 243 |
+
func disconnect_from_server():
|
| 244 |
+
stream.disconnect_from_host()
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
|
| 248 |
+
func handle_message() -> bool:
|
| 249 |
+
# get json message: reset, step, close
|
| 250 |
+
var message = _get_dict_json_message()
|
| 251 |
+
if message["type"] == "close":
|
| 252 |
+
print("received close message, closing game")
|
| 253 |
+
get_tree().quit()
|
| 254 |
+
get_tree().set_pause(false)
|
| 255 |
+
return true
|
| 256 |
+
|
| 257 |
+
if message["type"] == "reset":
|
| 258 |
+
print("resetting all agents")
|
| 259 |
+
_reset_all_agents()
|
| 260 |
+
just_reset = true
|
| 261 |
+
get_tree().set_pause(false)
|
| 262 |
+
#print("resetting forcing draw")
|
| 263 |
+
# RenderingServer.force_draw()
|
| 264 |
+
# var obs = _get_obs_from_agents()
|
| 265 |
+
# print("obs ", obs)
|
| 266 |
+
# var reply = {
|
| 267 |
+
# "type": "reset",
|
| 268 |
+
# "obs": obs
|
| 269 |
+
# }
|
| 270 |
+
# _send_dict_as_json_message(reply)
|
| 271 |
+
return true
|
| 272 |
+
|
| 273 |
+
if message["type"] == "call":
|
| 274 |
+
var method = message["method"]
|
| 275 |
+
var returns = _call_method_on_agents(method)
|
| 276 |
+
var reply = {
|
| 277 |
+
"type": "call",
|
| 278 |
+
"returns": returns
|
| 279 |
+
}
|
| 280 |
+
print("calling method from Python")
|
| 281 |
+
_send_dict_as_json_message(reply)
|
| 282 |
+
return handle_message()
|
| 283 |
+
|
| 284 |
+
if message["type"] == "action":
|
| 285 |
+
var action = message["action"]
|
| 286 |
+
_set_agent_actions(action)
|
| 287 |
+
need_to_send_obs = true
|
| 288 |
+
get_tree().set_pause(false)
|
| 289 |
+
return true
|
| 290 |
+
|
| 291 |
+
print("message was not handled")
|
| 292 |
+
return false
|
| 293 |
+
|
| 294 |
+
func _call_method_on_agents(method):
|
| 295 |
+
var returns = []
|
| 296 |
+
for agent in agents:
|
| 297 |
+
returns.append(agent.call(method))
|
| 298 |
+
|
| 299 |
+
return returns
|
| 300 |
+
|
| 301 |
+
|
| 302 |
+
func _reset_agents_if_done():
|
| 303 |
+
for agent in agents:
|
| 304 |
+
if agent.get_done():
|
| 305 |
+
agent.set_done_false()
|
| 306 |
+
|
| 307 |
+
func _reset_all_agents():
|
| 308 |
+
for agent in agents:
|
| 309 |
+
agent.needs_reset = true
|
| 310 |
+
#agent.reset()
|
| 311 |
+
|
| 312 |
+
func _get_obs_from_agents():
|
| 313 |
+
var obs = []
|
| 314 |
+
for agent in agents:
|
| 315 |
+
obs.append(agent.get_obs())
|
| 316 |
+
|
| 317 |
+
return obs
|
| 318 |
+
|
| 319 |
+
func _get_reward_from_agents():
|
| 320 |
+
var rewards = []
|
| 321 |
+
for agent in agents:
|
| 322 |
+
rewards.append(agent.get_reward())
|
| 323 |
+
agent.zero_reward()
|
| 324 |
+
return rewards
|
| 325 |
+
|
| 326 |
+
func _get_done_from_agents():
|
| 327 |
+
var dones = []
|
| 328 |
+
for agent in agents:
|
| 329 |
+
var done = agent.get_done()
|
| 330 |
+
if done: agent.set_done_false()
|
| 331 |
+
dones.append(done)
|
| 332 |
+
return dones
|
| 333 |
+
|
| 334 |
+
func _set_agent_actions(actions):
|
| 335 |
+
for i in range(len(actions)):
|
| 336 |
+
agents[i].set_action(actions[i])
|
| 337 |
+
|
| 338 |
+
func clamp_array(arr : Array, min:float, max:float):
|
| 339 |
+
var output : Array = []
|
| 340 |
+
for a in arr:
|
| 341 |
+
output.append(clamp(a, min, max))
|
| 342 |
+
return output
|
assets/Circle03.png
ADDED
|
Git LFS Details
|
assets/Flare00.PNG
ADDED
|
|
Git LFS Details
|
assets/Flare01.png
ADDED
|
Git LFS Details
|
down_fall.gd
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
extends Node3D
|
| 2 |
+
|
| 3 |
+
@onready var levels = [$Level1, $Level2, $Level3, $Level4]
|
| 4 |
+
# @onready var levels = [$Level4]
|
| 5 |
+
var cam_index = 0
|
| 6 |
+
var is_fly_cam = false
|
| 7 |
+
# Called when the node enters the scene tree for the first time.
|
| 8 |
+
func _ready():
|
| 9 |
+
var index = 0
|
| 10 |
+
for player in $Players.get_children():
|
| 11 |
+
player.reset.connect(reset_player)
|
| 12 |
+
player.current_level = index
|
| 13 |
+
index += 1
|
| 14 |
+
index = index % len(levels)
|
| 15 |
+
player.game_over()
|
| 16 |
+
|
| 17 |
+
func reset_player(player: Player, end=false):
|
| 18 |
+
# reset the player's position
|
| 19 |
+
if end:
|
| 20 |
+
player.current_level = (player.current_level + 1) % len(levels)
|
| 21 |
+
var current_level = levels[player.current_level]
|
| 22 |
+
|
| 23 |
+
var spawn_box = current_level.get_node("SpawnBox")
|
| 24 |
+
var goal = current_level.get_node("EndGate")
|
| 25 |
+
|
| 26 |
+
var spawn_point = spawn_box.get_spawn_point()
|
| 27 |
+
player.global_position = spawn_point
|
| 28 |
+
player.goal = goal
|
| 29 |
+
|
| 30 |
+
func _input(event):
|
| 31 |
+
if event.is_action_pressed("ui_right"):
|
| 32 |
+
$Players.get_child(cam_index).deactivate_cam()
|
| 33 |
+
cam_index = (cam_index + 1) % $Players.get_children().size()
|
| 34 |
+
$Players.get_child(cam_index).activate_cam()
|
| 35 |
+
|
| 36 |
+
if event.is_action_pressed("ui_left"):
|
| 37 |
+
$Players.get_child(cam_index).deactivate_cam()
|
| 38 |
+
cam_index = (cam_index - 1) % $Players.get_children().size()
|
| 39 |
+
$Players.get_child(cam_index).activate_cam()
|
| 40 |
+
|
| 41 |
+
if event.is_action_pressed("flycam"):
|
| 42 |
+
print("fly cam")
|
| 43 |
+
if is_fly_cam:
|
| 44 |
+
$Players.get_child(cam_index).activate_cam()
|
| 45 |
+
$FlyCam/Camera3D.set_current(false)
|
| 46 |
+
is_fly_cam = false
|
| 47 |
+
else:
|
| 48 |
+
$Players.get_child(cam_index).deactivate_cam()
|
| 49 |
+
$FlyCam/Camera3D.set_current(true)
|
| 50 |
+
is_fly_cam = true
|
down_fall.tscn
ADDED
|
@@ -0,0 +1,1679 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_scene load_steps=17 format=3 uid="uid://bevb5n7t5c7wb"]
|
| 2 |
+
|
| 3 |
+
[ext_resource type="Script" path="res://down_fall.gd" id="1_6g3q6"]
|
| 4 |
+
[ext_resource type="PackedScene" uid="uid://8axug7343y4a" path="res://player.tscn" id="2_f4dxo"]
|
| 5 |
+
[ext_resource type="PackedScene" uid="uid://c6ydlbbegyxvw" path="res://objects/swiper_single.tscn" id="3_5wgxm"]
|
| 6 |
+
[ext_resource type="PackedScene" uid="uid://djvwlnj3xiol" path="res://objects/SpikeRoller.tscn" id="4_f6pxi"]
|
| 7 |
+
[ext_resource type="PackedScene" uid="uid://so2r4wi8ynsy" path="res://objects/swiper_double.tscn" id="5_2amxb"]
|
| 8 |
+
[ext_resource type="PackedScene" uid="uid://njtc105tmd45" path="res://objects/large_tile.tscn" id="6_orvmb"]
|
| 9 |
+
[ext_resource type="PackedScene" uid="uid://dn0yo41stuvjd" path="res://objects/falling_tile.tscn" id="7_b22j6"]
|
| 10 |
+
[ext_resource type="PackedScene" uid="uid://84co2677agdm" path="res://objects/end_gate.tscn" id="8_bo0ow"]
|
| 11 |
+
[ext_resource type="PackedScene" uid="uid://ckw0mq1b4yh6u" path="res://objects/spawn_box.tscn" id="9_tfkx7"]
|
| 12 |
+
[ext_resource type="PackedScene" uid="uid://bruee42nhv4ks" path="res://objects/slope.tscn" id="10_w0hdo"]
|
| 13 |
+
[ext_resource type="Script" path="res://scripts/fly_cam.gd" id="11_3sclf"]
|
| 14 |
+
[ext_resource type="Script" path="res://objects/bomb_spawner.gd" id="12_of55o"]
|
| 15 |
+
|
| 16 |
+
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_4susc"]
|
| 17 |
+
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
| 18 |
+
ground_bottom_color = Color(0, 0, 0, 1)
|
| 19 |
+
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
| 20 |
+
|
| 21 |
+
[sub_resource type="Sky" id="Sky_y2vld"]
|
| 22 |
+
sky_material = SubResource("ProceduralSkyMaterial_4susc")
|
| 23 |
+
|
| 24 |
+
[sub_resource type="Environment" id="Environment_l3maf"]
|
| 25 |
+
background_mode = 2
|
| 26 |
+
sky = SubResource("Sky_y2vld")
|
| 27 |
+
tonemap_mode = 2
|
| 28 |
+
volumetric_fog_detail_spread = 0.5
|
| 29 |
+
|
| 30 |
+
[sub_resource type="SphereShape3D" id="SphereShape3D_2sp4e"]
|
| 31 |
+
|
| 32 |
+
[node name="DownFall" type="Node3D"]
|
| 33 |
+
script = ExtResource("1_6g3q6")
|
| 34 |
+
|
| 35 |
+
[node name="Players" type="Node3D" parent="."]
|
| 36 |
+
|
| 37 |
+
[node name="Player" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 38 |
+
|
| 39 |
+
[node name="Player2" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 40 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 31.9621, 2, 1.1047)
|
| 41 |
+
|
| 42 |
+
[node name="Player3" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 43 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 37.9621, 2, -5.8953)
|
| 44 |
+
|
| 45 |
+
[node name="Player4" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 46 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 47 |
+
|
| 48 |
+
[node name="Player5" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 49 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 50 |
+
|
| 51 |
+
[node name="Player6" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 52 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 53 |
+
|
| 54 |
+
[node name="Player7" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 55 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 56 |
+
|
| 57 |
+
[node name="Player8" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 58 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 59 |
+
|
| 60 |
+
[node name="Player9" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 61 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 62 |
+
|
| 63 |
+
[node name="Player10" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 64 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 65 |
+
|
| 66 |
+
[node name="Player11" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 67 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 68 |
+
|
| 69 |
+
[node name="Player12" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 70 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 71 |
+
|
| 72 |
+
[node name="Player13" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 73 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 74 |
+
|
| 75 |
+
[node name="Player14" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 76 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 77 |
+
|
| 78 |
+
[node name="Player15" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 79 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 80 |
+
|
| 81 |
+
[node name="Player16" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 82 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 83 |
+
|
| 84 |
+
[node name="Player17" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 85 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 86 |
+
|
| 87 |
+
[node name="Player18" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 88 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 89 |
+
|
| 90 |
+
[node name="Player19" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 91 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 92 |
+
|
| 93 |
+
[node name="Player20" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 94 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 95 |
+
|
| 96 |
+
[node name="Player21" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 97 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 98 |
+
|
| 99 |
+
[node name="Player22" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 100 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 101 |
+
|
| 102 |
+
[node name="Player23" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 103 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 104 |
+
|
| 105 |
+
[node name="Player24" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 106 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 107 |
+
|
| 108 |
+
[node name="Player25" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 109 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 110 |
+
|
| 111 |
+
[node name="Player26" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 112 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 113 |
+
|
| 114 |
+
[node name="Player27" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 115 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 116 |
+
|
| 117 |
+
[node name="Player28" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 118 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 119 |
+
|
| 120 |
+
[node name="Player29" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 121 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 122 |
+
|
| 123 |
+
[node name="Player30" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 124 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 125 |
+
|
| 126 |
+
[node name="Player31" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 127 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 128 |
+
|
| 129 |
+
[node name="Player32" parent="Players" instance=ExtResource("2_f4dxo")]
|
| 130 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.9621, 2, -0.8953)
|
| 131 |
+
|
| 132 |
+
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
| 133 |
+
environment = SubResource("Environment_l3maf")
|
| 134 |
+
|
| 135 |
+
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
| 136 |
+
transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
|
| 137 |
+
shadow_enabled = true
|
| 138 |
+
|
| 139 |
+
[node name="Level1" type="Node3D" parent="."]
|
| 140 |
+
|
| 141 |
+
[node name="Swipers" type="Node3D" parent="Level1"]
|
| 142 |
+
|
| 143 |
+
[node name="SwiperSingle" parent="Level1/Swipers" instance=ExtResource("3_5wgxm")]
|
| 144 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, 0)
|
| 145 |
+
rotation_speed = 2.5
|
| 146 |
+
|
| 147 |
+
[node name="SwiperSingle2" parent="Level1/Swipers" instance=ExtResource("3_5wgxm")]
|
| 148 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 0)
|
| 149 |
+
rotation_speed = 2.5
|
| 150 |
+
|
| 151 |
+
[node name="SwiperSingle3" parent="Level1/Swipers" instance=ExtResource("3_5wgxm")]
|
| 152 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 0)
|
| 153 |
+
rotation_speed = 2.5
|
| 154 |
+
|
| 155 |
+
[node name="SpikeRoller" parent="Level1/Swipers" instance=ExtResource("4_f6pxi")]
|
| 156 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 0, -3)
|
| 157 |
+
|
| 158 |
+
[node name="SpikeRoller2" parent="Level1/Swipers" instance=ExtResource("4_f6pxi")]
|
| 159 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 38, 0, 3)
|
| 160 |
+
|
| 161 |
+
[node name="SpikeRoller3" parent="Level1/Swipers" instance=ExtResource("4_f6pxi")]
|
| 162 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 44, 0, -3)
|
| 163 |
+
|
| 164 |
+
[node name="SpikeRoller4" parent="Level1/Swipers" instance=ExtResource("4_f6pxi")]
|
| 165 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 44, 0, -3)
|
| 166 |
+
|
| 167 |
+
[node name="SwiperDouble" parent="Level1/Swipers" instance=ExtResource("5_2amxb")]
|
| 168 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11, 0, 2)
|
| 169 |
+
|
| 170 |
+
[node name="SwiperDouble2" parent="Level1/Swipers" instance=ExtResource("5_2amxb")]
|
| 171 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 0, -3)
|
| 172 |
+
rotation_speed = 2.0
|
| 173 |
+
|
| 174 |
+
[node name="SwiperDouble4" parent="Level1/Swipers" instance=ExtResource("5_2amxb")]
|
| 175 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -3)
|
| 176 |
+
rotation_speed = 2.0
|
| 177 |
+
|
| 178 |
+
[node name="SwiperDouble3" parent="Level1/Swipers" instance=ExtResource("5_2amxb")]
|
| 179 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 3)
|
| 180 |
+
|
| 181 |
+
[node name="SwiperDouble5" parent="Level1/Swipers" instance=ExtResource("5_2amxb")]
|
| 182 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 3)
|
| 183 |
+
|
| 184 |
+
[node name="Tiles" type="Node3D" parent="Level1"]
|
| 185 |
+
|
| 186 |
+
[node name="LargeTile" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 187 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 0, 0, 0)
|
| 188 |
+
|
| 189 |
+
[node name="LargeTile2" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 190 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0)
|
| 191 |
+
|
| 192 |
+
[node name="LargeTile5" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 193 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, 0)
|
| 194 |
+
|
| 195 |
+
[node name="LargeTile9" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 196 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 0)
|
| 197 |
+
|
| 198 |
+
[node name="LargeTile7" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 199 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 0)
|
| 200 |
+
|
| 201 |
+
[node name="LargeTile3" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 202 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6)
|
| 203 |
+
|
| 204 |
+
[node name="LargeTile4" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 205 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -6)
|
| 206 |
+
|
| 207 |
+
[node name="LargeTile6" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 208 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0)
|
| 209 |
+
|
| 210 |
+
[node name="LargeTile8" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 211 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -6)
|
| 212 |
+
|
| 213 |
+
[node name="LargeTile11" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 214 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6)
|
| 215 |
+
|
| 216 |
+
[node name="LargeTile12" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 217 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 6)
|
| 218 |
+
|
| 219 |
+
[node name="LargeTile14" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 220 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -39, 0, 0)
|
| 221 |
+
|
| 222 |
+
[node name="LargeTile15" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 223 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -39, 0, -6)
|
| 224 |
+
|
| 225 |
+
[node name="LargeTile18" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 226 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -39, 0, 6)
|
| 227 |
+
|
| 228 |
+
[node name="LargeTile19" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 229 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -45, 0, 0)
|
| 230 |
+
|
| 231 |
+
[node name="LargeTile20" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 232 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -45, 0, -6)
|
| 233 |
+
|
| 234 |
+
[node name="LargeTile21" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 235 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -45, 0, 6)
|
| 236 |
+
|
| 237 |
+
[node name="LargeTile16" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 238 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 6)
|
| 239 |
+
|
| 240 |
+
[node name="LargeTile10" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 241 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 0)
|
| 242 |
+
|
| 243 |
+
[node name="LargeTile13" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 244 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, -6)
|
| 245 |
+
|
| 246 |
+
[node name="LargeTile30" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 247 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, -12)
|
| 248 |
+
|
| 249 |
+
[node name="LargeTile17" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 250 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 6)
|
| 251 |
+
|
| 252 |
+
[node name="LargeTile22" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 253 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 0, -3)
|
| 254 |
+
|
| 255 |
+
[node name="LargeTile23" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 256 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 0, 3)
|
| 257 |
+
|
| 258 |
+
[node name="LargeTile24" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 259 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 38, 0, -3)
|
| 260 |
+
|
| 261 |
+
[node name="LargeTile25" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 262 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 38, 0, 3)
|
| 263 |
+
|
| 264 |
+
[node name="LargeTile26" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 265 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 44, 0, -3)
|
| 266 |
+
|
| 267 |
+
[node name="LargeTile27" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 268 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 44, 0, 3)
|
| 269 |
+
|
| 270 |
+
[node name="LargeTile28" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 271 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 50, 0, -3)
|
| 272 |
+
|
| 273 |
+
[node name="LargeTile29" parent="Level1/Tiles" instance=ExtResource("6_orvmb")]
|
| 274 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 50, 0, 3)
|
| 275 |
+
|
| 276 |
+
[node name="FallingTiles" type="Node3D" parent="Level1"]
|
| 277 |
+
|
| 278 |
+
[node name="FallingTile" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 279 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 24.6667, -0.5, 2.33333)
|
| 280 |
+
|
| 281 |
+
[node name="FallingTile2" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 282 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 20.6667, -0.5, 2.33333)
|
| 283 |
+
|
| 284 |
+
[node name="FallingTile3" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 285 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 2.33333)
|
| 286 |
+
|
| 287 |
+
[node name="FallingTile4" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 288 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 22.6667, -0.5, 2.33333)
|
| 289 |
+
|
| 290 |
+
[node name="FallingTile5" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 291 |
+
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, 16.6667, -0.5, 2.33333)
|
| 292 |
+
|
| 293 |
+
[node name="FallingTile6" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 294 |
+
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, 16.6667, -0.5, -1.66667)
|
| 295 |
+
|
| 296 |
+
[node name="FallingTile7" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 297 |
+
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, 16.6667, -0.5, -3.66667)
|
| 298 |
+
|
| 299 |
+
[node name="FallingTile8" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 300 |
+
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, 16.6667, -0.5, 0.333333)
|
| 301 |
+
|
| 302 |
+
[node name="FallingTile9" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 303 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 22.6667, -0.5, -3.66667)
|
| 304 |
+
|
| 305 |
+
[node name="FallingTile10" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 306 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 20.6667, -0.5, -3.66667)
|
| 307 |
+
|
| 308 |
+
[node name="FallingTile12" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 309 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, -3.66667)
|
| 310 |
+
|
| 311 |
+
[node name="FallingTile11" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 312 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 24.6667, -0.5, -3.66667)
|
| 313 |
+
|
| 314 |
+
[node name="FallingTile13" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 315 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 22.6667, -0.5, -1.66667)
|
| 316 |
+
|
| 317 |
+
[node name="FallingTile14" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 318 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 20.6667, -0.5, -1.66667)
|
| 319 |
+
|
| 320 |
+
[node name="FallingTile15" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 321 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, -1.66667)
|
| 322 |
+
|
| 323 |
+
[node name="FallingTile16" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 324 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 24.6667, -0.5, -1.66667)
|
| 325 |
+
|
| 326 |
+
[node name="FallingTile17" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 327 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 22.6667, -0.5, 0.333334)
|
| 328 |
+
|
| 329 |
+
[node name="FallingTile18" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 330 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 20.6667, -0.5, 0.333333)
|
| 331 |
+
|
| 332 |
+
[node name="FallingTile19" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 333 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 0.333333)
|
| 334 |
+
|
| 335 |
+
[node name="FallingTile20" parent="Level1/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 336 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 24.6667, -0.5, 0.333334)
|
| 337 |
+
|
| 338 |
+
[node name="EndGate" parent="Level1" instance=ExtResource("8_bo0ow")]
|
| 339 |
+
|
| 340 |
+
[node name="SpawnBox" parent="Level1" instance=ExtResource("9_tfkx7")]
|
| 341 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 50, 1, 0)
|
| 342 |
+
|
| 343 |
+
[node name="Level2" type="Node3D" parent="."]
|
| 344 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 82, 0, 34)
|
| 345 |
+
|
| 346 |
+
[node name="Tiles" type="Node3D" parent="Level2"]
|
| 347 |
+
|
| 348 |
+
[node name="LargeTile" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 349 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 0, 0, 0)
|
| 350 |
+
tileColor = 1
|
| 351 |
+
|
| 352 |
+
[node name="LargeTile2" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 353 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 6, 0, 0)
|
| 354 |
+
tileColor = 1
|
| 355 |
+
|
| 356 |
+
[node name="LargeTile3" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 357 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 0, 0, 6)
|
| 358 |
+
tileColor = 1
|
| 359 |
+
|
| 360 |
+
[node name="LargeTile4" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 361 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 6, 0, 6)
|
| 362 |
+
tileColor = 1
|
| 363 |
+
|
| 364 |
+
[node name="LargeTile5" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 365 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -10, 0, 15)
|
| 366 |
+
tileColor = 1
|
| 367 |
+
|
| 368 |
+
[node name="LargeTile6" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 369 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -4, 0, 15)
|
| 370 |
+
tileColor = 1
|
| 371 |
+
|
| 372 |
+
[node name="LargeTile7" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 373 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -10, 0, 21)
|
| 374 |
+
tileColor = 1
|
| 375 |
+
|
| 376 |
+
[node name="LargeTile8" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 377 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -4, 0, 21)
|
| 378 |
+
tileColor = 1
|
| 379 |
+
|
| 380 |
+
[node name="LargeTile9" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 381 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 10, 0, 15)
|
| 382 |
+
tileColor = 1
|
| 383 |
+
|
| 384 |
+
[node name="LargeTile10" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 385 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 16, 0, 15)
|
| 386 |
+
tileColor = 1
|
| 387 |
+
|
| 388 |
+
[node name="LargeTile11" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 389 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 10, 0, 21)
|
| 390 |
+
tileColor = 1
|
| 391 |
+
|
| 392 |
+
[node name="LargeTile13" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 393 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 3, 0, 29)
|
| 394 |
+
tileColor = 1
|
| 395 |
+
|
| 396 |
+
[node name="LargeTile14" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 397 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 3, 0, 35)
|
| 398 |
+
tileColor = 1
|
| 399 |
+
|
| 400 |
+
[node name="LargeTile17" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 401 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 17, 0, 72)
|
| 402 |
+
tileColor = 1
|
| 403 |
+
|
| 404 |
+
[node name="LargeTile18" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 405 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 11, 0, 72)
|
| 406 |
+
tileColor = 1
|
| 407 |
+
|
| 408 |
+
[node name="LargeTile19" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 409 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 5, 0, 72)
|
| 410 |
+
tileColor = 1
|
| 411 |
+
|
| 412 |
+
[node name="LargeTile20" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 413 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -1, 0, 72)
|
| 414 |
+
tileColor = 1
|
| 415 |
+
|
| 416 |
+
[node name="LargeTile21" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 417 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -7, 0, 72)
|
| 418 |
+
tileColor = 1
|
| 419 |
+
|
| 420 |
+
[node name="LargeTile24" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 421 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 11, 0, 78)
|
| 422 |
+
tileColor = 1
|
| 423 |
+
|
| 424 |
+
[node name="LargeTile25" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 425 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 5, 0, 78)
|
| 426 |
+
tileColor = 1
|
| 427 |
+
|
| 428 |
+
[node name="LargeTile26" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 429 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -1, 0, 78)
|
| 430 |
+
tileColor = 1
|
| 431 |
+
|
| 432 |
+
[node name="LargeTile28" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 433 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 5, 0, 78)
|
| 434 |
+
tileColor = 1
|
| 435 |
+
|
| 436 |
+
[node name="LargeTile29" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 437 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -1, 0, 78)
|
| 438 |
+
tileColor = 1
|
| 439 |
+
|
| 440 |
+
[node name="LargeTile30" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 441 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 5, 0, 84)
|
| 442 |
+
tileColor = 1
|
| 443 |
+
|
| 444 |
+
[node name="LargeTile31" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 445 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -1, 0, 84)
|
| 446 |
+
tileColor = 1
|
| 447 |
+
|
| 448 |
+
[node name="LargeTile32" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 449 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 5, 0, 90)
|
| 450 |
+
tileColor = 1
|
| 451 |
+
|
| 452 |
+
[node name="LargeTile33" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 453 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -1, 0, 90)
|
| 454 |
+
tileColor = 1
|
| 455 |
+
|
| 456 |
+
[node name="LargeTile27" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 457 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -7, 0, 78)
|
| 458 |
+
tileColor = 1
|
| 459 |
+
|
| 460 |
+
[node name="LargeTile34" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 461 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 11, 0, 96)
|
| 462 |
+
tileColor = 1
|
| 463 |
+
|
| 464 |
+
[node name="LargeTile35" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 465 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 5, 0, 96)
|
| 466 |
+
tileColor = 1
|
| 467 |
+
|
| 468 |
+
[node name="LargeTile36" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 469 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -1, 0, 96)
|
| 470 |
+
tileColor = 1
|
| 471 |
+
|
| 472 |
+
[node name="LargeTile37" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 473 |
+
transform = Transform3D(0.999999, -1.91908e-06, -0.0010472, 0, 0.999998, -0.00183259, 0.0010472, 0.00183259, 0.999997, -7, 0, 96)
|
| 474 |
+
tileColor = 1
|
| 475 |
+
|
| 476 |
+
[node name="LargeTile38" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 477 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 11, 0, 102)
|
| 478 |
+
tileColor = 1
|
| 479 |
+
|
| 480 |
+
[node name="LargeTile39" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 481 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 5, 0, 102)
|
| 482 |
+
tileColor = 1
|
| 483 |
+
|
| 484 |
+
[node name="LargeTile40" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 485 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -1, 0, 102)
|
| 486 |
+
tileColor = 1
|
| 487 |
+
|
| 488 |
+
[node name="LargeTile41" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 489 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -7, 0, 102)
|
| 490 |
+
tileColor = 1
|
| 491 |
+
|
| 492 |
+
[node name="LargeTile22" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 493 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -13, 0, 72)
|
| 494 |
+
tileColor = 1
|
| 495 |
+
|
| 496 |
+
[node name="LargeTile23" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 497 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, -13, 0, 72)
|
| 498 |
+
tileColor = 1
|
| 499 |
+
|
| 500 |
+
[node name="LargeTile15" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 501 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 3, 0, 41)
|
| 502 |
+
tileColor = 1
|
| 503 |
+
|
| 504 |
+
[node name="LargeTile16" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 505 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 3, 0, 41)
|
| 506 |
+
tileColor = 1
|
| 507 |
+
|
| 508 |
+
[node name="LargeTile12" parent="Level2/Tiles" instance=ExtResource("6_orvmb")]
|
| 509 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 16.0358, 0, 21)
|
| 510 |
+
tileColor = 1
|
| 511 |
+
|
| 512 |
+
[node name="FallingTiles" type="Node3D" parent="Level2"]
|
| 513 |
+
|
| 514 |
+
[node name="FallingTile18" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 515 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 6.6667, -0.5, 47.3333)
|
| 516 |
+
|
| 517 |
+
[node name="FallingTile19" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 518 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 4.6667, -0.5, 47.3333)
|
| 519 |
+
|
| 520 |
+
[node name="FallingTile20" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 521 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 0.666702, -0.5, 47.3333)
|
| 522 |
+
|
| 523 |
+
[node name="FallingTile21" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 524 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.3333, -0.5, 47.3333)
|
| 525 |
+
|
| 526 |
+
[node name="FallingTile22" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 527 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 6.6667, -0.5, 49.3333)
|
| 528 |
+
|
| 529 |
+
[node name="FallingTile23" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 530 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 4.6667, -0.5, 49.3333)
|
| 531 |
+
|
| 532 |
+
[node name="FallingTile24" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 533 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 0.666702, -0.5, 49.3333)
|
| 534 |
+
|
| 535 |
+
[node name="FallingTile25" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 536 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.3333, -0.5, 49.3333)
|
| 537 |
+
|
| 538 |
+
[node name="FallingTile26" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 539 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 6.6667, -0.5, 51.3333)
|
| 540 |
+
|
| 541 |
+
[node name="FallingTile27" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 542 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 4.6667, -0.5, 51.3333)
|
| 543 |
+
|
| 544 |
+
[node name="FallingTile28" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 545 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 0.666702, -0.5, 51.3333)
|
| 546 |
+
|
| 547 |
+
[node name="FallingTile29" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 548 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.3333, -0.5, 51.3333)
|
| 549 |
+
|
| 550 |
+
[node name="FallingTile30" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 551 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 6.6667, -0.5, 53.3333)
|
| 552 |
+
|
| 553 |
+
[node name="FallingTile31" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 554 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 4.6667, -0.5, 53.3333)
|
| 555 |
+
|
| 556 |
+
[node name="FallingTile32" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 557 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 0.666702, -0.5, 53.3333)
|
| 558 |
+
|
| 559 |
+
[node name="FallingTile33" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 560 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.3333, -0.5, 53.3333)
|
| 561 |
+
|
| 562 |
+
[node name="FallingTile34" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 563 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 6.6667, -0.5, 59.3333)
|
| 564 |
+
|
| 565 |
+
[node name="FallingTile35" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 566 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 4.6667, -0.5, 59.3333)
|
| 567 |
+
|
| 568 |
+
[node name="FallingTile36" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 569 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 0.666702, -0.5, 59.3333)
|
| 570 |
+
|
| 571 |
+
[node name="FallingTile37" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 572 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.3333, -0.5, 59.3333)
|
| 573 |
+
|
| 574 |
+
[node name="FallingTile38" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 575 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 6.6667, -0.5, 61.3333)
|
| 576 |
+
|
| 577 |
+
[node name="FallingTile39" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 578 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 4.6667, -0.5, 61.3333)
|
| 579 |
+
|
| 580 |
+
[node name="FallingTile40" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 581 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 0.666702, -0.5, 61.3333)
|
| 582 |
+
|
| 583 |
+
[node name="FallingTile41" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 584 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.3333, -0.5, 61.3333)
|
| 585 |
+
|
| 586 |
+
[node name="FallingTile42" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 587 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 6.6667, -0.5, 63.3333)
|
| 588 |
+
|
| 589 |
+
[node name="FallingTile43" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 590 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 4.6667, -0.5, 63.3333)
|
| 591 |
+
|
| 592 |
+
[node name="FallingTile44" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 593 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 0.666702, -0.5, 63.3333)
|
| 594 |
+
|
| 595 |
+
[node name="FallingTile45" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 596 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.3333, -0.5, 63.3333)
|
| 597 |
+
|
| 598 |
+
[node name="FallingTile46" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 599 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 6.6667, -0.5, 65.3333)
|
| 600 |
+
|
| 601 |
+
[node name="FallingTile47" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 602 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 4.6667, -0.5, 65.3333)
|
| 603 |
+
|
| 604 |
+
[node name="FallingTile48" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 605 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 0.666702, -0.5, 65.3333)
|
| 606 |
+
|
| 607 |
+
[node name="FallingTile49" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 608 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.3333, -0.5, 65.3333)
|
| 609 |
+
|
| 610 |
+
[node name="FallingTile50" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 611 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 47.3333)
|
| 612 |
+
|
| 613 |
+
[node name="FallingTile51" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 614 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 16.6667, -0.5, 47.3333)
|
| 615 |
+
|
| 616 |
+
[node name="FallingTile52" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 617 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 12.6667, -0.5, 47.3333)
|
| 618 |
+
|
| 619 |
+
[node name="FallingTile53" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 620 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 10.6667, -0.5, 47.3333)
|
| 621 |
+
|
| 622 |
+
[node name="FallingTile54" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 623 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 49.3333)
|
| 624 |
+
|
| 625 |
+
[node name="FallingTile55" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 626 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 16.6667, -0.5, 49.3333)
|
| 627 |
+
|
| 628 |
+
[node name="FallingTile56" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 629 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 12.6667, -0.5, 49.3333)
|
| 630 |
+
|
| 631 |
+
[node name="FallingTile57" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 632 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 10.6667, -0.5, 49.3333)
|
| 633 |
+
|
| 634 |
+
[node name="FallingTile58" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 635 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 51.3333)
|
| 636 |
+
|
| 637 |
+
[node name="FallingTile59" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 638 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 16.6667, -0.5, 51.3333)
|
| 639 |
+
|
| 640 |
+
[node name="FallingTile60" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 641 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 12.6667, -0.5, 51.3333)
|
| 642 |
+
|
| 643 |
+
[node name="FallingTile61" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 644 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 10.6667, -0.5, 51.3333)
|
| 645 |
+
|
| 646 |
+
[node name="FallingTile62" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 647 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 53.3333)
|
| 648 |
+
|
| 649 |
+
[node name="FallingTile63" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 650 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 16.6667, -0.5, 53.3333)
|
| 651 |
+
|
| 652 |
+
[node name="FallingTile64" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 653 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 12.6667, -0.5, 53.3333)
|
| 654 |
+
|
| 655 |
+
[node name="FallingTile65" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 656 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 10.6667, -0.5, 53.3333)
|
| 657 |
+
|
| 658 |
+
[node name="FallingTile66" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 659 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 59.3333)
|
| 660 |
+
|
| 661 |
+
[node name="FallingTile67" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 662 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 16.6667, -0.5, 59.3333)
|
| 663 |
+
|
| 664 |
+
[node name="FallingTile68" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 665 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 12.6667, -0.5, 59.3333)
|
| 666 |
+
|
| 667 |
+
[node name="FallingTile69" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 668 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 10.6667, -0.5, 59.3333)
|
| 669 |
+
|
| 670 |
+
[node name="FallingTile70" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 671 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 61.3333)
|
| 672 |
+
|
| 673 |
+
[node name="FallingTile71" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 674 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 16.6667, -0.5, 61.3333)
|
| 675 |
+
|
| 676 |
+
[node name="FallingTile72" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 677 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 12.6667, -0.5, 61.3333)
|
| 678 |
+
|
| 679 |
+
[node name="FallingTile73" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 680 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 10.6667, -0.5, 61.3333)
|
| 681 |
+
|
| 682 |
+
[node name="FallingTile74" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 683 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 63.3333)
|
| 684 |
+
|
| 685 |
+
[node name="FallingTile75" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 686 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 16.6667, -0.5, 63.3333)
|
| 687 |
+
|
| 688 |
+
[node name="FallingTile76" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 689 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 12.6667, -0.5, 63.3333)
|
| 690 |
+
|
| 691 |
+
[node name="FallingTile77" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 692 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 10.6667, -0.5, 63.3333)
|
| 693 |
+
|
| 694 |
+
[node name="FallingTile78" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 695 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 18.6667, -0.5, 65.3333)
|
| 696 |
+
|
| 697 |
+
[node name="FallingTile79" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 698 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 16.6667, -0.5, 65.3333)
|
| 699 |
+
|
| 700 |
+
[node name="FallingTile80" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 701 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 12.6667, -0.5, 65.3333)
|
| 702 |
+
|
| 703 |
+
[node name="FallingTile81" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 704 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, 10.6667, -0.5, 65.3333)
|
| 705 |
+
|
| 706 |
+
[node name="FallingTile82" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 707 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.3333, -0.5, 47.3333)
|
| 708 |
+
|
| 709 |
+
[node name="FallingTile83" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 710 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.3333, -0.5, 47.3333)
|
| 711 |
+
|
| 712 |
+
[node name="FallingTile84" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 713 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.3333, -0.5, 47.3333)
|
| 714 |
+
|
| 715 |
+
[node name="FallingTile85" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 716 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -13.3333, -0.5, 47.3333)
|
| 717 |
+
|
| 718 |
+
[node name="FallingTile86" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 719 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.3333, -0.5, 49.3333)
|
| 720 |
+
|
| 721 |
+
[node name="FallingTile87" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 722 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.3333, -0.5, 49.3333)
|
| 723 |
+
|
| 724 |
+
[node name="FallingTile88" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 725 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.3333, -0.5, 49.3333)
|
| 726 |
+
|
| 727 |
+
[node name="FallingTile89" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 728 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -13.3333, -0.5, 49.3333)
|
| 729 |
+
|
| 730 |
+
[node name="FallingTile90" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 731 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.3333, -0.5, 51.3333)
|
| 732 |
+
|
| 733 |
+
[node name="FallingTile91" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 734 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.3333, -0.5, 51.3333)
|
| 735 |
+
|
| 736 |
+
[node name="FallingTile92" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 737 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.3333, -0.5, 51.3333)
|
| 738 |
+
|
| 739 |
+
[node name="FallingTile93" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 740 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -13.3333, -0.5, 51.3333)
|
| 741 |
+
|
| 742 |
+
[node name="FallingTile94" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 743 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.3333, -0.5, 53.3333)
|
| 744 |
+
|
| 745 |
+
[node name="FallingTile95" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 746 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.3333, -0.5, 53.3333)
|
| 747 |
+
|
| 748 |
+
[node name="FallingTile96" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 749 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.3333, -0.5, 53.3333)
|
| 750 |
+
|
| 751 |
+
[node name="FallingTile97" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 752 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -13.3333, -0.5, 53.3333)
|
| 753 |
+
|
| 754 |
+
[node name="FallingTile98" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 755 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.3333, -0.5, 59.3333)
|
| 756 |
+
|
| 757 |
+
[node name="FallingTile99" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 758 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.3333, -0.5, 59.3333)
|
| 759 |
+
|
| 760 |
+
[node name="FallingTile100" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 761 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.3333, -0.5, 59.3333)
|
| 762 |
+
|
| 763 |
+
[node name="FallingTile101" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 764 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -13.3333, -0.5, 59.3333)
|
| 765 |
+
|
| 766 |
+
[node name="FallingTile102" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 767 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.3333, -0.5, 61.3333)
|
| 768 |
+
|
| 769 |
+
[node name="FallingTile103" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 770 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.3333, -0.5, 61.3333)
|
| 771 |
+
|
| 772 |
+
[node name="FallingTile104" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 773 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.3333, -0.5, 61.3333)
|
| 774 |
+
|
| 775 |
+
[node name="FallingTile105" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 776 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -13.3333, -0.5, 61.3333)
|
| 777 |
+
|
| 778 |
+
[node name="FallingTile106" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 779 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.3333, -0.5, 63.3333)
|
| 780 |
+
|
| 781 |
+
[node name="FallingTile107" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 782 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.3333, -0.5, 63.3333)
|
| 783 |
+
|
| 784 |
+
[node name="FallingTile108" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 785 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.3333, -0.5, 63.3333)
|
| 786 |
+
|
| 787 |
+
[node name="FallingTile109" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 788 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -13.3333, -0.5, 63.3333)
|
| 789 |
+
|
| 790 |
+
[node name="FallingTile110" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 791 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.3333, -0.5, 65.3333)
|
| 792 |
+
|
| 793 |
+
[node name="FallingTile111" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 794 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.3333, -0.5, 65.3333)
|
| 795 |
+
|
| 796 |
+
[node name="FallingTile112" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 797 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.3333, -0.5, 65.3333)
|
| 798 |
+
|
| 799 |
+
[node name="FallingTile113" parent="Level2/FallingTiles" instance=ExtResource("7_b22j6")]
|
| 800 |
+
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -13.3333, -0.5, 65.3333)
|
| 801 |
+
|
| 802 |
+
[node name="EndGate" parent="Level2" instance=ExtResource("8_bo0ow")]
|
| 803 |
+
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2, 0, 99)
|
| 804 |
+
|
| 805 |
+
[node name="SpawnBox" parent="Level2" instance=ExtResource("9_tfkx7")]
|
| 806 |
+
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 3.44993, 1.20024, 2.58661)
|
| 807 |
+
|
| 808 |
+
[node name="Level3" type="Node3D" parent="."]
|
| 809 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 125, 0, 0)
|
| 810 |
+
|
| 811 |
+
[node name="EndGate" parent="Level3" instance=ExtResource("8_bo0ow")]
|
| 812 |
+
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 69, 0, -6)
|
| 813 |
+
|
| 814 |
+
[node name="SpawnBox" parent="Level3" instance=ExtResource("9_tfkx7")]
|
| 815 |
+
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 3.44994, 1.20024, -4.41339)
|
| 816 |
+
|
| 817 |
+
[node name="Tiles" type="Node3D" parent="Level3"]
|
| 818 |
+
|
| 819 |
+
[node name="LargeTile3" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 820 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 6, 0, 0)
|
| 821 |
+
tileColor = 2
|
| 822 |
+
|
| 823 |
+
[node name="LargeTile" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 824 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 0, 0, 0)
|
| 825 |
+
tileColor = 2
|
| 826 |
+
|
| 827 |
+
[node name="LargeTile4" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 828 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 6, 0, -6)
|
| 829 |
+
tileColor = 2
|
| 830 |
+
|
| 831 |
+
[node name="LargeTile6" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 832 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 12, 0, -12)
|
| 833 |
+
tileColor = 2
|
| 834 |
+
|
| 835 |
+
[node name="LargeTile2" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 836 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 0, 0, -6)
|
| 837 |
+
tileColor = 2
|
| 838 |
+
|
| 839 |
+
[node name="LargeTile10" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 840 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 6, 0, -12)
|
| 841 |
+
tileColor = 2
|
| 842 |
+
|
| 843 |
+
[node name="LargeTile11" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 844 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 0, 0, -12)
|
| 845 |
+
tileColor = 2
|
| 846 |
+
|
| 847 |
+
[node name="LargeTile7" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 848 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 18, 0, 0)
|
| 849 |
+
tileColor = 2
|
| 850 |
+
|
| 851 |
+
[node name="LargeTile8" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 852 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 30, 0, -6)
|
| 853 |
+
tileColor = 2
|
| 854 |
+
|
| 855 |
+
[node name="LargeTile9" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 856 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 18, 0, -6)
|
| 857 |
+
tileColor = 2
|
| 858 |
+
|
| 859 |
+
[node name="LargeTile16" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 860 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 18, 0, -12)
|
| 861 |
+
tileColor = 2
|
| 862 |
+
|
| 863 |
+
[node name="LargeTile12" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 864 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 30, 0, -12)
|
| 865 |
+
tileColor = 2
|
| 866 |
+
|
| 867 |
+
[node name="LargeTile13" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 868 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 36, 0, -18)
|
| 869 |
+
tileColor = 2
|
| 870 |
+
|
| 871 |
+
[node name="LargeTile14" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 872 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 42, 0, -18)
|
| 873 |
+
tileColor = 2
|
| 874 |
+
|
| 875 |
+
[node name="LargeTile15" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 876 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 30, 0, -18)
|
| 877 |
+
tileColor = 2
|
| 878 |
+
|
| 879 |
+
[node name="LargeTile17" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 880 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 24, 0, 6)
|
| 881 |
+
tileColor = 2
|
| 882 |
+
|
| 883 |
+
[node name="LargeTile18" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 884 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 30, 0, 6)
|
| 885 |
+
tileColor = 2
|
| 886 |
+
|
| 887 |
+
[node name="LargeTile19" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 888 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 18, 0, 6)
|
| 889 |
+
tileColor = 2
|
| 890 |
+
|
| 891 |
+
[node name="LargeTile20" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 892 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 30, 0, 0)
|
| 893 |
+
tileColor = 2
|
| 894 |
+
|
| 895 |
+
[node name="LargeTile21" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 896 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 42, 0, -6)
|
| 897 |
+
tileColor = 2
|
| 898 |
+
|
| 899 |
+
[node name="LargeTile22" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 900 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 42, 0, 0)
|
| 901 |
+
tileColor = 2
|
| 902 |
+
|
| 903 |
+
[node name="LargeTile25" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 904 |
+
transform = Transform3D(1, 0, 0, 0, 0.999993, -0.00366517, 0, 0.00366517, 0.999993, 42, 0, -12)
|
| 905 |
+
tileColor = 2
|
| 906 |
+
|
| 907 |
+
[node name="LargeTile23" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 908 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 42, 0, 6)
|
| 909 |
+
tileColor = 2
|
| 910 |
+
|
| 911 |
+
[node name="LargeTile24" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 912 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 42, 0, 6)
|
| 913 |
+
tileColor = 2
|
| 914 |
+
|
| 915 |
+
[node name="LargeTile26" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 916 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 42, 0, 12)
|
| 917 |
+
tileColor = 2
|
| 918 |
+
|
| 919 |
+
[node name="LargeTile27" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 920 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 48, 0, 12)
|
| 921 |
+
tileColor = 2
|
| 922 |
+
|
| 923 |
+
[node name="LargeTile28" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 924 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 54, 0, 12)
|
| 925 |
+
tileColor = 2
|
| 926 |
+
|
| 927 |
+
[node name="LargeTile29" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 928 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 54, 0, 6)
|
| 929 |
+
tileColor = 2
|
| 930 |
+
|
| 931 |
+
[node name="LargeTile30" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 932 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 54, 0, 0)
|
| 933 |
+
tileColor = 2
|
| 934 |
+
|
| 935 |
+
[node name="LargeTile31" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 936 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 54, 0, -6)
|
| 937 |
+
tileColor = 2
|
| 938 |
+
|
| 939 |
+
[node name="LargeTile32" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 940 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 60, 0, -6)
|
| 941 |
+
tileColor = 2
|
| 942 |
+
|
| 943 |
+
[node name="LargeTile33" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 944 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 66, 0, -6)
|
| 945 |
+
tileColor = 2
|
| 946 |
+
|
| 947 |
+
[node name="LargeTile34" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 948 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 66, 0, 0)
|
| 949 |
+
tileColor = 2
|
| 950 |
+
|
| 951 |
+
[node name="LargeTile35" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 952 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 66, 0, -12)
|
| 953 |
+
tileColor = 2
|
| 954 |
+
|
| 955 |
+
[node name="LargeTile36" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 956 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 72, 0, -6)
|
| 957 |
+
tileColor = 2
|
| 958 |
+
|
| 959 |
+
[node name="LargeTile37" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 960 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 72, 0, 0)
|
| 961 |
+
tileColor = 2
|
| 962 |
+
|
| 963 |
+
[node name="LargeTile38" parent="Level3/Tiles" instance=ExtResource("6_orvmb")]
|
| 964 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 72, 0, -12)
|
| 965 |
+
tileColor = 2
|
| 966 |
+
|
| 967 |
+
[node name="Spikes" type="Node3D" parent="Level3"]
|
| 968 |
+
|
| 969 |
+
[node name="SpikeRoller" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 970 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 0)
|
| 971 |
+
|
| 972 |
+
[node name="SpikeRoller5" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 973 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 2)
|
| 974 |
+
|
| 975 |
+
[node name="SpikeRoller6" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 976 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 4)
|
| 977 |
+
|
| 978 |
+
[node name="SpikeRoller2" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 979 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, -2)
|
| 980 |
+
|
| 981 |
+
[node name="SpikeRoller3" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 982 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, -4)
|
| 983 |
+
|
| 984 |
+
[node name="SpikeRoller4" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 985 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, -6)
|
| 986 |
+
|
| 987 |
+
[node name="SpikeRoller7" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 988 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -3)
|
| 989 |
+
|
| 990 |
+
[node name="SpikeRoller8" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 991 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -1)
|
| 992 |
+
|
| 993 |
+
[node name="SpikeRoller9" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 994 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, 1)
|
| 995 |
+
|
| 996 |
+
[node name="SpikeRoller10" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 997 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -5)
|
| 998 |
+
|
| 999 |
+
[node name="SpikeRoller11" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1000 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -7)
|
| 1001 |
+
|
| 1002 |
+
[node name="SpikeRoller12" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1003 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -9)
|
| 1004 |
+
|
| 1005 |
+
[node name="SpikeRoller13" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1006 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -11)
|
| 1007 |
+
|
| 1008 |
+
[node name="SpikeRoller14" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1009 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -13)
|
| 1010 |
+
|
| 1011 |
+
[node name="SpikeRoller15" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1012 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -15)
|
| 1013 |
+
|
| 1014 |
+
[node name="SpikeRoller52" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1015 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -17)
|
| 1016 |
+
|
| 1017 |
+
[node name="SpikeRoller53" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1018 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, -19)
|
| 1019 |
+
|
| 1020 |
+
[node name="SpikeRoller16" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1021 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 0)
|
| 1022 |
+
|
| 1023 |
+
[node name="SpikeRoller17" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1024 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 2)
|
| 1025 |
+
|
| 1026 |
+
[node name="SpikeRoller18" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1027 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 4)
|
| 1028 |
+
|
| 1029 |
+
[node name="SpikeRoller19" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1030 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, -2)
|
| 1031 |
+
|
| 1032 |
+
[node name="SpikeRoller25" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1033 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 8)
|
| 1034 |
+
|
| 1035 |
+
[node name="SpikeRoller26" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1036 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 10)
|
| 1037 |
+
|
| 1038 |
+
[node name="SpikeRoller27" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1039 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 12)
|
| 1040 |
+
|
| 1041 |
+
[node name="SpikeRoller28" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1042 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 6)
|
| 1043 |
+
|
| 1044 |
+
[node name="SpikeRoller29" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1045 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 8)
|
| 1046 |
+
|
| 1047 |
+
[node name="SpikeRoller30" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1048 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 10)
|
| 1049 |
+
|
| 1050 |
+
[node name="SpikeRoller31" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1051 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 12)
|
| 1052 |
+
|
| 1053 |
+
[node name="SpikeRoller32" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1054 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 6)
|
| 1055 |
+
|
| 1056 |
+
[node name="SpikeRoller20" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1057 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, -4)
|
| 1058 |
+
|
| 1059 |
+
[node name="SpikeRoller21" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1060 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, -6)
|
| 1061 |
+
|
| 1062 |
+
[node name="SpikeRoller22" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1063 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, -8)
|
| 1064 |
+
|
| 1065 |
+
[node name="SpikeRoller23" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1066 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, -10)
|
| 1067 |
+
|
| 1068 |
+
[node name="SpikeRoller24" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1069 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, -12)
|
| 1070 |
+
|
| 1071 |
+
[node name="SpikeRoller33" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1072 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -5)
|
| 1073 |
+
|
| 1074 |
+
[node name="SpikeRoller34" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1075 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -3)
|
| 1076 |
+
|
| 1077 |
+
[node name="SpikeRoller35" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1078 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -1)
|
| 1079 |
+
|
| 1080 |
+
[node name="SpikeRoller36" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1081 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -7)
|
| 1082 |
+
|
| 1083 |
+
[node name="SpikeRoller37" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1084 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, 3)
|
| 1085 |
+
|
| 1086 |
+
[node name="SpikeRoller38" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1087 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, 5)
|
| 1088 |
+
|
| 1089 |
+
[node name="SpikeRoller39" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1090 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, 7)
|
| 1091 |
+
|
| 1092 |
+
[node name="SpikeRoller40" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1093 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, 1)
|
| 1094 |
+
|
| 1095 |
+
[node name="SpikeRoller41" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1096 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, 3)
|
| 1097 |
+
|
| 1098 |
+
[node name="SpikeRoller42" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1099 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, 5)
|
| 1100 |
+
|
| 1101 |
+
[node name="SpikeRoller43" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1102 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, 7)
|
| 1103 |
+
|
| 1104 |
+
[node name="SpikeRoller44" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1105 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, 1)
|
| 1106 |
+
|
| 1107 |
+
[node name="SpikeRoller45" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1108 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -9)
|
| 1109 |
+
|
| 1110 |
+
[node name="SpikeRoller46" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1111 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -11)
|
| 1112 |
+
|
| 1113 |
+
[node name="SpikeRoller47" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1114 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -13)
|
| 1115 |
+
|
| 1116 |
+
[node name="SpikeRoller48" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1117 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -15)
|
| 1118 |
+
|
| 1119 |
+
[node name="SpikeRoller49" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1120 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -17)
|
| 1121 |
+
|
| 1122 |
+
[node name="SpikeRoller50" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1123 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -19)
|
| 1124 |
+
|
| 1125 |
+
[node name="SpikeRoller51" parent="Level3/Spikes" instance=ExtResource("4_f6pxi")]
|
| 1126 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48, 0, -21)
|
| 1127 |
+
|
| 1128 |
+
[node name="Swipers" type="Node3D" parent="Level3"]
|
| 1129 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 26.7109, 0)
|
| 1130 |
+
|
| 1131 |
+
[node name="VertSwiper" type="Node3D" parent="Level3/Swipers"]
|
| 1132 |
+
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 18.127, 6, 2)
|
| 1133 |
+
|
| 1134 |
+
[node name="VertSwiper3" type="Node3D" parent="Level3/Swipers"]
|
| 1135 |
+
transform = Transform3D(-0.866025, -9.7566e-08, 0.5, 0.5, 5.85622e-09, 0.866025, -8.74228e-08, 1, 4.37114e-08, 29.127, 6, 0)
|
| 1136 |
+
|
| 1137 |
+
[node name="VertSwiper4" type="Node3D" parent="Level3/Swipers"]
|
| 1138 |
+
transform = Transform3D(-0.866025, -5.38547e-08, -0.5, -0.5, -8.15666e-08, 0.866025, -8.74228e-08, 1, 4.37114e-08, 31.127, 6, -5)
|
| 1139 |
+
|
| 1140 |
+
[node name="VertSwiper5" type="Node3D" parent="Level3/Swipers"]
|
| 1141 |
+
transform = Transform3D(-0.707107, -9.27259e-08, 0.707107, 0.707107, 3.09086e-08, 0.707107, -8.74228e-08, 1, 4.37114e-08, 31.127, 6, -12)
|
| 1142 |
+
|
| 1143 |
+
[node name="VertSwiper6" type="Node3D" parent="Level3/Swipers"]
|
| 1144 |
+
transform = Transform3D(-0.866025, -5.38547e-08, -0.5, -0.5, -8.15666e-08, 0.866025, -8.74228e-08, 1, 4.37114e-08, 42.127, 6, -12)
|
| 1145 |
+
|
| 1146 |
+
[node name="VertSwiper7" type="Node3D" parent="Level3/Swipers"]
|
| 1147 |
+
transform = Transform3D(-0.965926, -9.57573e-08, 0.258819, 0.258819, -1.95953e-08, 0.965926, -8.74228e-08, 1, 4.37114e-08, 42.127, 6, -5)
|
| 1148 |
+
|
| 1149 |
+
[node name="VertSwiper8" type="Node3D" parent="Level3/Swipers"]
|
| 1150 |
+
transform = Transform3D(-0.866025, -5.38547e-08, -0.5, -0.5, -8.15666e-08, 0.866025, -8.74228e-08, 1, 4.37114e-08, 41.127, 6, 2)
|
| 1151 |
+
|
| 1152 |
+
[node name="VertSwiper9" type="Node3D" parent="Level3/Swipers"]
|
| 1153 |
+
transform = Transform3D(-0.866025, -9.7566e-08, 0.5, 0.5, 5.85622e-09, 0.866025, -8.74228e-08, 1, 4.37114e-08, 42.127, 6, 9)
|
| 1154 |
+
|
| 1155 |
+
[node name="VertSwiper2" type="Node3D" parent="Level3/Swipers"]
|
| 1156 |
+
transform = Transform3D(0.866025, -2.18557e-08, 0.5, -0.5, -3.78552e-08, 0.866025, 0, -1, -4.37114e-08, 20.127, 6, -4)
|
| 1157 |
+
|
| 1158 |
+
[node name="Level4" type="Node3D" parent="."]
|
| 1159 |
+
|
| 1160 |
+
[node name="Slopes" type="Node3D" parent="Level4"]
|
| 1161 |
+
|
| 1162 |
+
[node name="Slope" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1163 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -27)
|
| 1164 |
+
|
| 1165 |
+
[node name="Slope2" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1166 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -29)
|
| 1167 |
+
|
| 1168 |
+
[node name="Slope3" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1169 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -31)
|
| 1170 |
+
|
| 1171 |
+
[node name="Slope4" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1172 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -33)
|
| 1173 |
+
|
| 1174 |
+
[node name="Slope5" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1175 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -27)
|
| 1176 |
+
|
| 1177 |
+
[node name="Slope6" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1178 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -29)
|
| 1179 |
+
|
| 1180 |
+
[node name="Slope7" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1181 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -31)
|
| 1182 |
+
|
| 1183 |
+
[node name="Slope8" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1184 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -33)
|
| 1185 |
+
|
| 1186 |
+
[node name="Slope9" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1187 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -35)
|
| 1188 |
+
|
| 1189 |
+
[node name="Slope10" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1190 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -37)
|
| 1191 |
+
|
| 1192 |
+
[node name="Slope11" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1193 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -39)
|
| 1194 |
+
|
| 1195 |
+
[node name="Slope12" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1196 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -41)
|
| 1197 |
+
|
| 1198 |
+
[node name="Slope13" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1199 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -35)
|
| 1200 |
+
|
| 1201 |
+
[node name="Slope14" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1202 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -37)
|
| 1203 |
+
|
| 1204 |
+
[node name="Slope15" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1205 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -39)
|
| 1206 |
+
|
| 1207 |
+
[node name="Slope16" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1208 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -41)
|
| 1209 |
+
|
| 1210 |
+
[node name="Slope17" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1211 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -43)
|
| 1212 |
+
|
| 1213 |
+
[node name="Slope18" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1214 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -45)
|
| 1215 |
+
|
| 1216 |
+
[node name="Slope19" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1217 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -47)
|
| 1218 |
+
|
| 1219 |
+
[node name="Slope20" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1220 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -49)
|
| 1221 |
+
|
| 1222 |
+
[node name="Slope21" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1223 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -43)
|
| 1224 |
+
|
| 1225 |
+
[node name="Slope22" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1226 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -45)
|
| 1227 |
+
|
| 1228 |
+
[node name="Slope23" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1229 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -47)
|
| 1230 |
+
|
| 1231 |
+
[node name="Slope24" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1232 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -49)
|
| 1233 |
+
|
| 1234 |
+
[node name="Slope25" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1235 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -51)
|
| 1236 |
+
|
| 1237 |
+
[node name="Slope26" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1238 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -53)
|
| 1239 |
+
|
| 1240 |
+
[node name="Slope27" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1241 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -55)
|
| 1242 |
+
|
| 1243 |
+
[node name="Slope28" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1244 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75, 2, -57)
|
| 1245 |
+
|
| 1246 |
+
[node name="Slope29" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1247 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -51)
|
| 1248 |
+
|
| 1249 |
+
[node name="Slope30" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1250 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -53)
|
| 1251 |
+
|
| 1252 |
+
[node name="Slope31" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1253 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -55)
|
| 1254 |
+
|
| 1255 |
+
[node name="Slope32" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1256 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 77, 1, -57)
|
| 1257 |
+
|
| 1258 |
+
[node name="Slope33" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1259 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -27)
|
| 1260 |
+
|
| 1261 |
+
[node name="Slope34" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1262 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -29)
|
| 1263 |
+
|
| 1264 |
+
[node name="Slope35" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1265 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -31)
|
| 1266 |
+
|
| 1267 |
+
[node name="Slope36" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1268 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -33)
|
| 1269 |
+
|
| 1270 |
+
[node name="Slope37" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1271 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -27)
|
| 1272 |
+
|
| 1273 |
+
[node name="Slope38" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1274 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -29)
|
| 1275 |
+
|
| 1276 |
+
[node name="Slope39" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1277 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -31)
|
| 1278 |
+
|
| 1279 |
+
[node name="Slope40" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1280 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -33)
|
| 1281 |
+
|
| 1282 |
+
[node name="Slope41" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1283 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -35)
|
| 1284 |
+
|
| 1285 |
+
[node name="Slope42" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1286 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -37)
|
| 1287 |
+
|
| 1288 |
+
[node name="Slope43" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1289 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -39)
|
| 1290 |
+
|
| 1291 |
+
[node name="Slope44" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1292 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -41)
|
| 1293 |
+
|
| 1294 |
+
[node name="Slope45" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1295 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -35)
|
| 1296 |
+
|
| 1297 |
+
[node name="Slope46" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1298 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -37)
|
| 1299 |
+
|
| 1300 |
+
[node name="Slope47" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1301 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -39)
|
| 1302 |
+
|
| 1303 |
+
[node name="Slope48" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1304 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -41)
|
| 1305 |
+
|
| 1306 |
+
[node name="Slope49" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1307 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -43)
|
| 1308 |
+
|
| 1309 |
+
[node name="Slope50" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1310 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -45)
|
| 1311 |
+
|
| 1312 |
+
[node name="Slope51" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1313 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -47)
|
| 1314 |
+
|
| 1315 |
+
[node name="Slope52" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1316 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -49)
|
| 1317 |
+
|
| 1318 |
+
[node name="Slope53" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1319 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -43)
|
| 1320 |
+
|
| 1321 |
+
[node name="Slope54" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1322 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -45)
|
| 1323 |
+
|
| 1324 |
+
[node name="Slope55" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1325 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -47)
|
| 1326 |
+
|
| 1327 |
+
[node name="Slope56" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1328 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -49)
|
| 1329 |
+
|
| 1330 |
+
[node name="Slope57" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1331 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -51)
|
| 1332 |
+
|
| 1333 |
+
[node name="Slope58" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1334 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -53)
|
| 1335 |
+
|
| 1336 |
+
[node name="Slope59" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1337 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -55)
|
| 1338 |
+
|
| 1339 |
+
[node name="Slope60" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1340 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79, 0, -57)
|
| 1341 |
+
|
| 1342 |
+
[node name="Slope61" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1343 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -51)
|
| 1344 |
+
|
| 1345 |
+
[node name="Slope62" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1346 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -53)
|
| 1347 |
+
|
| 1348 |
+
[node name="Slope63" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1349 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -55)
|
| 1350 |
+
|
| 1351 |
+
[node name="Slope64" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1352 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 81, -1, -57)
|
| 1353 |
+
|
| 1354 |
+
[node name="Slope65" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1355 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -57)
|
| 1356 |
+
|
| 1357 |
+
[node name="Slope66" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1358 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -55)
|
| 1359 |
+
|
| 1360 |
+
[node name="Slope67" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1361 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -53)
|
| 1362 |
+
|
| 1363 |
+
[node name="Slope68" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1364 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -51)
|
| 1365 |
+
|
| 1366 |
+
[node name="Slope69" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1367 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -57)
|
| 1368 |
+
|
| 1369 |
+
[node name="Slope70" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1370 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -55)
|
| 1371 |
+
|
| 1372 |
+
[node name="Slope71" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1373 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -53)
|
| 1374 |
+
|
| 1375 |
+
[node name="Slope72" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1376 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -51)
|
| 1377 |
+
|
| 1378 |
+
[node name="Slope73" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1379 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -49)
|
| 1380 |
+
|
| 1381 |
+
[node name="Slope74" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1382 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -47)
|
| 1383 |
+
|
| 1384 |
+
[node name="Slope75" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1385 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -45)
|
| 1386 |
+
|
| 1387 |
+
[node name="Slope76" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1388 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -43)
|
| 1389 |
+
|
| 1390 |
+
[node name="Slope77" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1391 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -49)
|
| 1392 |
+
|
| 1393 |
+
[node name="Slope78" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1394 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -47)
|
| 1395 |
+
|
| 1396 |
+
[node name="Slope79" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1397 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -45)
|
| 1398 |
+
|
| 1399 |
+
[node name="Slope80" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1400 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -43)
|
| 1401 |
+
|
| 1402 |
+
[node name="Slope81" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1403 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -41)
|
| 1404 |
+
|
| 1405 |
+
[node name="Slope82" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1406 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -39)
|
| 1407 |
+
|
| 1408 |
+
[node name="Slope83" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1409 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -37)
|
| 1410 |
+
|
| 1411 |
+
[node name="Slope84" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1412 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -35)
|
| 1413 |
+
|
| 1414 |
+
[node name="Slope85" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1415 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -41)
|
| 1416 |
+
|
| 1417 |
+
[node name="Slope86" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1418 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -39)
|
| 1419 |
+
|
| 1420 |
+
[node name="Slope87" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1421 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -37)
|
| 1422 |
+
|
| 1423 |
+
[node name="Slope88" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1424 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -35)
|
| 1425 |
+
|
| 1426 |
+
[node name="Slope89" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1427 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -33)
|
| 1428 |
+
|
| 1429 |
+
[node name="Slope90" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1430 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -31)
|
| 1431 |
+
|
| 1432 |
+
[node name="Slope91" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1433 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -29)
|
| 1434 |
+
|
| 1435 |
+
[node name="Slope92" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1436 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 107, 2, -27)
|
| 1437 |
+
|
| 1438 |
+
[node name="Slope93" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1439 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -33)
|
| 1440 |
+
|
| 1441 |
+
[node name="Slope94" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1442 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -31)
|
| 1443 |
+
|
| 1444 |
+
[node name="Slope95" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1445 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -29)
|
| 1446 |
+
|
| 1447 |
+
[node name="Slope96" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1448 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 105, 1, -27)
|
| 1449 |
+
|
| 1450 |
+
[node name="Slope97" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1451 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -57)
|
| 1452 |
+
|
| 1453 |
+
[node name="Slope98" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1454 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -55)
|
| 1455 |
+
|
| 1456 |
+
[node name="Slope99" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1457 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -53)
|
| 1458 |
+
|
| 1459 |
+
[node name="Slope100" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1460 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -51)
|
| 1461 |
+
|
| 1462 |
+
[node name="Slope101" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1463 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -57)
|
| 1464 |
+
|
| 1465 |
+
[node name="Slope102" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1466 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -55)
|
| 1467 |
+
|
| 1468 |
+
[node name="Slope103" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1469 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -53)
|
| 1470 |
+
|
| 1471 |
+
[node name="Slope104" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1472 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -51)
|
| 1473 |
+
|
| 1474 |
+
[node name="Slope105" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1475 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -49)
|
| 1476 |
+
|
| 1477 |
+
[node name="Slope106" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1478 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -47)
|
| 1479 |
+
|
| 1480 |
+
[node name="Slope107" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1481 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -45)
|
| 1482 |
+
|
| 1483 |
+
[node name="Slope108" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1484 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -43)
|
| 1485 |
+
|
| 1486 |
+
[node name="Slope109" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1487 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -49)
|
| 1488 |
+
|
| 1489 |
+
[node name="Slope110" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1490 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -47)
|
| 1491 |
+
|
| 1492 |
+
[node name="Slope111" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1493 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -45)
|
| 1494 |
+
|
| 1495 |
+
[node name="Slope112" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1496 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -43)
|
| 1497 |
+
|
| 1498 |
+
[node name="Slope113" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1499 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -41)
|
| 1500 |
+
|
| 1501 |
+
[node name="Slope114" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1502 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -39)
|
| 1503 |
+
|
| 1504 |
+
[node name="Slope115" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1505 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -37)
|
| 1506 |
+
|
| 1507 |
+
[node name="Slope116" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1508 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -35)
|
| 1509 |
+
|
| 1510 |
+
[node name="Slope117" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1511 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -41)
|
| 1512 |
+
|
| 1513 |
+
[node name="Slope118" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1514 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -39)
|
| 1515 |
+
|
| 1516 |
+
[node name="Slope119" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1517 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -37)
|
| 1518 |
+
|
| 1519 |
+
[node name="Slope120" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1520 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -35)
|
| 1521 |
+
|
| 1522 |
+
[node name="Slope121" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1523 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -33)
|
| 1524 |
+
|
| 1525 |
+
[node name="Slope122" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1526 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -31)
|
| 1527 |
+
|
| 1528 |
+
[node name="Slope123" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1529 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -29)
|
| 1530 |
+
|
| 1531 |
+
[node name="Slope124" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1532 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 103, 0, -27)
|
| 1533 |
+
|
| 1534 |
+
[node name="Slope125" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1535 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -33)
|
| 1536 |
+
|
| 1537 |
+
[node name="Slope126" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1538 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -31)
|
| 1539 |
+
|
| 1540 |
+
[node name="Slope127" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1541 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -29)
|
| 1542 |
+
|
| 1543 |
+
[node name="Slope128" parent="Level4/Slopes" instance=ExtResource("10_w0hdo")]
|
| 1544 |
+
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 101, -1, -27)
|
| 1545 |
+
|
| 1546 |
+
[node name="Tiles" type="Node3D" parent="Level4"]
|
| 1547 |
+
|
| 1548 |
+
[node name="LargeTile" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1549 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 85, 0, -27)
|
| 1550 |
+
|
| 1551 |
+
[node name="LargeTile2" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1552 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 91, 0, -27)
|
| 1553 |
+
|
| 1554 |
+
[node name="LargeTile3" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1555 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 97, 0, -27)
|
| 1556 |
+
|
| 1557 |
+
[node name="LargeTile25" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1558 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 85, 0, -21)
|
| 1559 |
+
|
| 1560 |
+
[node name="LargeTile26" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1561 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 91, 0, -21)
|
| 1562 |
+
|
| 1563 |
+
[node name="LargeTile27" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1564 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 97, 0, -21)
|
| 1565 |
+
|
| 1566 |
+
[node name="LargeTile19" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1567 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 85, 0, -15)
|
| 1568 |
+
|
| 1569 |
+
[node name="LargeTile20" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1570 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 91, 0, -15)
|
| 1571 |
+
|
| 1572 |
+
[node name="LargeTile21" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1573 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 97, 0, -15)
|
| 1574 |
+
|
| 1575 |
+
[node name="LargeTile4" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1576 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 85, 0, -33)
|
| 1577 |
+
|
| 1578 |
+
[node name="LargeTile5" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1579 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 91, 0, -33)
|
| 1580 |
+
|
| 1581 |
+
[node name="LargeTile6" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1582 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 97, 0, -33)
|
| 1583 |
+
|
| 1584 |
+
[node name="LargeTile7" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1585 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 85, 0, -39)
|
| 1586 |
+
|
| 1587 |
+
[node name="LargeTile8" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1588 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 91, 0, -39)
|
| 1589 |
+
|
| 1590 |
+
[node name="LargeTile9" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1591 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 97, 0, -39)
|
| 1592 |
+
|
| 1593 |
+
[node name="LargeTile10" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1594 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 85, 0, -45)
|
| 1595 |
+
|
| 1596 |
+
[node name="LargeTile11" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1597 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 91, 0, -45)
|
| 1598 |
+
|
| 1599 |
+
[node name="LargeTile12" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1600 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 97, 0, -45)
|
| 1601 |
+
|
| 1602 |
+
[node name="LargeTile13" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1603 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 85, 0, -51)
|
| 1604 |
+
|
| 1605 |
+
[node name="LargeTile14" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1606 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 91, 0, -51)
|
| 1607 |
+
|
| 1608 |
+
[node name="LargeTile15" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1609 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 97, 0, -51)
|
| 1610 |
+
|
| 1611 |
+
[node name="LargeTile16" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1612 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 85, 0, -57)
|
| 1613 |
+
|
| 1614 |
+
[node name="LargeTile17" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1615 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 91, 0, -57)
|
| 1616 |
+
|
| 1617 |
+
[node name="LargeTile18" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1618 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 97, 0, -57)
|
| 1619 |
+
|
| 1620 |
+
[node name="LargeTile22" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1621 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 85, 0, -63)
|
| 1622 |
+
|
| 1623 |
+
[node name="LargeTile23" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1624 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 91, 0, -63)
|
| 1625 |
+
|
| 1626 |
+
[node name="LargeTile24" parent="Level4/Tiles" instance=ExtResource("6_orvmb")]
|
| 1627 |
+
transform = Transform3D(1, 0, 0, 0, 0.999998, -0.00183259, 0, 0.00183259, 0.999998, 97, 0, -63)
|
| 1628 |
+
|
| 1629 |
+
[node name="EndGate" parent="Level4" instance=ExtResource("8_bo0ow")]
|
| 1630 |
+
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 91, 0, -64)
|
| 1631 |
+
|
| 1632 |
+
[node name="SpawnBox" parent="Level4" instance=ExtResource("9_tfkx7")]
|
| 1633 |
+
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 91.4499, 1.20024, -15.4134)
|
| 1634 |
+
|
| 1635 |
+
[node name="FlyCam" type="CharacterBody3D" parent="."]
|
| 1636 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 92.2317, 23.9924, 0)
|
| 1637 |
+
script = ExtResource("11_3sclf")
|
| 1638 |
+
|
| 1639 |
+
[node name="Camera3D" type="Camera3D" parent="FlyCam"]
|
| 1640 |
+
|
| 1641 |
+
[node name="CollisionShape3D" type="CollisionShape3D" parent="FlyCam"]
|
| 1642 |
+
shape = SubResource("SphereShape3D_2sp4e")
|
| 1643 |
+
|
| 1644 |
+
[node name="BombSpawner" type="Node3D" parent="."]
|
| 1645 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 105, 14.3997, -34)
|
| 1646 |
+
script = ExtResource("12_of55o")
|
| 1647 |
+
|
| 1648 |
+
[node name="Timer" type="Timer" parent="BombSpawner"]
|
| 1649 |
+
wait_time = 3.0
|
| 1650 |
+
autostart = true
|
| 1651 |
+
|
| 1652 |
+
[node name="BombSpawner2" type="Node3D" parent="."]
|
| 1653 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 105, 14.3997, -50)
|
| 1654 |
+
script = ExtResource("12_of55o")
|
| 1655 |
+
|
| 1656 |
+
[node name="Timer" type="Timer" parent="BombSpawner2"]
|
| 1657 |
+
wait_time = 3.0
|
| 1658 |
+
autostart = true
|
| 1659 |
+
|
| 1660 |
+
[node name="BombSpawner3" type="Node3D" parent="."]
|
| 1661 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 76, 14.3997, -42)
|
| 1662 |
+
script = ExtResource("12_of55o")
|
| 1663 |
+
|
| 1664 |
+
[node name="Timer" type="Timer" parent="BombSpawner3"]
|
| 1665 |
+
wait_time = 3.0
|
| 1666 |
+
autostart = true
|
| 1667 |
+
|
| 1668 |
+
[node name="BombSpawner4" type="Node3D" parent="."]
|
| 1669 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 76, 14.3997, -42)
|
| 1670 |
+
script = ExtResource("12_of55o")
|
| 1671 |
+
|
| 1672 |
+
[node name="Timer" type="Timer" parent="BombSpawner4"]
|
| 1673 |
+
wait_time = 3.0
|
| 1674 |
+
autostart = true
|
| 1675 |
+
|
| 1676 |
+
[connection signal="timeout" from="BombSpawner/Timer" to="BombSpawner" method="_on_timer_timeout"]
|
| 1677 |
+
[connection signal="timeout" from="BombSpawner2/Timer" to="BombSpawner2" method="_on_timer_timeout"]
|
| 1678 |
+
[connection signal="timeout" from="BombSpawner3/Timer" to="BombSpawner3" method="_on_timer_timeout"]
|
| 1679 |
+
[connection signal="timeout" from="BombSpawner4/Timer" to="BombSpawner4" method="_on_timer_timeout"]
|
materials/BlueChar.tres
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_resource type="StandardMaterial3D" format=3 uid="uid://qadlbhsgg403"]
|
| 2 |
+
|
| 3 |
+
[resource]
|
| 4 |
+
resource_name = "PrototypePete"
|
| 5 |
+
albedo_color = Color(0.215686, 0.25098, 1, 1)
|
| 6 |
+
roughness = 0.5
|
materials/GreenChar.tres
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_resource type="StandardMaterial3D" format=3 uid="uid://cdult2ygfpir7"]
|
| 2 |
+
|
| 3 |
+
[resource]
|
| 4 |
+
resource_name = "PrototypePete"
|
| 5 |
+
albedo_color = Color(0.215686, 1, 0.247059, 1)
|
| 6 |
+
roughness = 0.5
|
materials/GreenYellowChar.tres
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_resource type="StandardMaterial3D" format=3 uid="uid://wnev2boln76f"]
|
| 2 |
+
|
| 3 |
+
[resource]
|
| 4 |
+
resource_name = "PrototypePete"
|
| 5 |
+
albedo_color = Color(1, 0.992157, 0.215686, 1)
|
| 6 |
+
roughness = 0.5
|
materials/LightBlueChar.tres
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_resource type="StandardMaterial3D" format=3 uid="uid://c7s5t1aaynswb"]
|
| 2 |
+
|
| 3 |
+
[resource]
|
| 4 |
+
resource_name = "PrototypePete"
|
| 5 |
+
albedo_color = Color(0.215686, 0.67451, 1, 1)
|
| 6 |
+
roughness = 0.5
|
materials/LightGreenChar.tres
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_resource type="StandardMaterial3D" format=3 uid="uid://b2g3uc2klxxi8"]
|
| 2 |
+
|
| 3 |
+
[resource]
|
| 4 |
+
resource_name = "PrototypePete"
|
| 5 |
+
albedo_color = Color(0.215686, 1, 0.698039, 1)
|
| 6 |
+
roughness = 0.5
|
materials/PinkChar.tres
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_resource type="StandardMaterial3D" format=3 uid="uid://2x5gouj7aaqb"]
|
| 2 |
+
|
| 3 |
+
[resource]
|
| 4 |
+
resource_name = "PrototypePete"
|
| 5 |
+
albedo_color = Color(1, 0.215686, 0.627451, 1)
|
| 6 |
+
roughness = 0.5
|
materials/PurpleChar.tres
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_resource type="StandardMaterial3D" format=3 uid="uid://b7nimq03tkttf"]
|
| 2 |
+
|
| 3 |
+
[resource]
|
| 4 |
+
resource_name = "PrototypePete"
|
| 5 |
+
albedo_color = Color(0.827451, 0.215686, 1, 1)
|
| 6 |
+
roughness = 0.5
|
materials/RedChar.tres
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_resource type="StandardMaterial3D" format=3 uid="uid://do2gqoreoy60d"]
|
| 2 |
+
|
| 3 |
+
[resource]
|
| 4 |
+
resource_name = "PrototypePete"
|
| 5 |
+
albedo_color = Color(1, 0.25098, 0.215686, 1)
|
| 6 |
+
roughness = 0.5
|
materials/YellowChar.tres
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gd_resource type="StandardMaterial3D" format=3 uid="uid://07te3bco35wa"]
|
| 2 |
+
|
| 3 |
+
[resource]
|
| 4 |
+
resource_name = "PrototypePete"
|
| 5 |
+
albedo_color = Color(1, 0.827071, 0.214137, 1)
|
| 6 |
+
roughness = 0.5
|
objects/AnimatedChar.tscn
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
objects/SpikeRoller.tscn
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
objects/bomb.tscn
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
objects/bomb_spawner.gd
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
extends Node3D
|
| 2 |
+
|
| 3 |
+
@onready var Bomb = preload("res://objects/bomb.tscn")
|
| 4 |
+
|
| 5 |
+
func _on_timer_timeout():
|
| 6 |
+
spawn_bomb()
|
| 7 |
+
|
| 8 |
+
func spawn_bomb():
|
| 9 |
+
var bomb = Bomb.instantiate()
|
| 10 |
+
bomb.position = Vector3(randf_range(-1, 1), 0, randf_range(-1, 1))
|
| 11 |
+
add_child(bomb)
|
| 12 |
+
|
objects/end_gate.tscn
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|