GodotComponentTest/scenes/tests/NavigationTests.tscn

102 lines
3.0 KiB
Plaintext

[gd_scene load_steps=12 format=2]
[ext_resource path="res://entities/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/TileWorld.tscn" type="PackedScene" id=2]
[ext_resource path="res://utils/TileHighlight.tscn" type="PackedScene" id=3]
[ext_resource path="res://scenes/tests/NavigationTests.cs" type="Script" id=4]
[ext_resource path="res://scenes/StreamContainer.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenes/Camera.tscn" type="PackedScene" id=6]
[ext_resource path="res://scenes/tests/EditorUI.cs" type="Script" id=7]
[sub_resource type="ButtonGroup" id=4]
resource_local_to_scene = false
resource_name = "TileTypeButtonGroup"
[sub_resource type="BoxShape" id=1]
extents = Vector3( 50, 1, 50 )
[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.180392, 0.384314, 0.0235294, 1 )
[sub_resource type="CubeMesh" id=2]
material = SubResource( 3 )
[node name="NavigationTests" type="Spatial"]
script = ExtResource( 4 )
[node name="EditorUI" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 7 )
World = NodePath("../TileWorld")
StreamContainer = NodePath("../StreamContainer")
[node name="HBoxContainer" type="HBoxContainer" parent="EditorUI"]
margin_left = 5.0
margin_top = 5.0
margin_right = 40.0
margin_bottom = 40.0
[node name="ResetButton" type="Button" parent="EditorUI/HBoxContainer"]
margin_right = 48.0
margin_bottom = 35.0
text = "Reset"
[node name="ModeLabel" type="Label" parent="EditorUI/HBoxContainer"]
margin_left = 52.0
margin_top = 10.0
margin_right = 88.0
margin_bottom = 24.0
text = "Mode"
[node name="GrassButton" type="Button" parent="EditorUI/HBoxContainer"]
margin_left = 92.0
margin_right = 140.0
margin_bottom = 35.0
toggle_mode = true
group = SubResource( 4 )
text = "Grass"
[node name="WaterButton" type="Button" parent="EditorUI/HBoxContainer"]
margin_left = 144.0
margin_right = 194.0
margin_bottom = 35.0
toggle_mode = true
group = SubResource( 4 )
text = "Water"
[node name="SandButton" type="Button" parent="EditorUI/HBoxContainer"]
margin_left = 198.0
margin_right = 240.0
margin_bottom = 35.0
toggle_mode = true
group = SubResource( 4 )
text = "Sand"
[node name="Player" parent="." instance=ExtResource( 1 )]
TileWorldNode = NodePath("../TileWorld")
[node name="GroundLayer" type="StaticBody" parent="."]
[node name="CollisionShape" type="CollisionShape" parent="GroundLayer"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
shape = SubResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="GroundLayer"]
transform = Transform( 50, 0, 0, 0, 1, 0, 0, 0, 50, 0, -1.05, 0 )
mesh = SubResource( 2 )
[node name="TileWorld" parent="." instance=ExtResource( 2 )]
GenerationMapType = 2
Size = 20
DebugMap = true
[node name="MouseHighlight" parent="." instance=ExtResource( 3 )]
[node name="StreamContainer" parent="." instance=ExtResource( 5 )]
[node name="Camera" parent="." instance=ExtResource( 6 )]
transform = Transform( 1, 0, 0, 0, 0.60042, 0.799685, 0, -0.799685, 0.60042, -4.76837e-07, 9.56665, 7.86873 )
[editable path="Player"]