182 lines
6.0 KiB
Plaintext
182 lines
6.0 KiB
Plaintext
[gd_scene load_steps=14 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]
|
|
[ext_resource path="res://entities/Tree.tscn" type="PackedScene" id=8]
|
|
[ext_resource path="res://scenes/HexTile3DPatch.tscn" type="PackedScene" id=9]
|
|
|
|
[sub_resource type="ButtonGroup" id=4]
|
|
resource_local_to_scene = false
|
|
resource_name = "TileTypeButtonGroup"
|
|
|
|
[sub_resource type="Animation" id=5]
|
|
resource_name = "Idle"
|
|
loop = true
|
|
tracks/0/type = "transform"
|
|
tracks/0/path = NodePath("Geometry")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = PoolRealArray( 0, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1.00063, 1.49958 )
|
|
|
|
[sub_resource type="Animation" id=6]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
tracks/0/path = NodePath("Geometry:rotation_degrees:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"points": PoolRealArray( -10.23, -0.25, 0, 0.25, 0 ),
|
|
"times": PoolRealArray( 0 )
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/path = NodePath("Geometry:rotation_degrees:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"points": PoolRealArray( 0, -0.25, 0, 0.25, 0 ),
|
|
"times": PoolRealArray( 0 )
|
|
}
|
|
tracks/2/type = "bezier"
|
|
tracks/2/path = NodePath("Geometry:rotation_degrees:z")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/keys = {
|
|
"points": PoolRealArray( 0, -0.25, 0, 0.25, 0 ),
|
|
"times": PoolRealArray( 0 )
|
|
}
|
|
|
|
[sub_resource type="Animation" id=7]
|
|
resource_name = "TreeShake"
|
|
length = 0.8
|
|
loop = true
|
|
step = 0.05
|
|
tracks/0/type = "transform"
|
|
tracks/0/path = NodePath("Geometry")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = PoolRealArray( 0, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1, 1.5, 0.3, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1, 1.5, 0.301, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 0.671551, 1.46936, 0.302, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 0.647776, 1.48, 0.303, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1, 1.5, 0.304, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1.00045, 1.4997, 0.6, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1, 1.5 )
|
|
tracks/1/type = "bezier"
|
|
tracks/1/path = NodePath("Geometry:rotation_degrees:x")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"points": PoolRealArray( 7.4006, -0.05, -6.00801, 0.05, 6.00801, 16.7033, -0.05, -0.232568, 0.05, 0.232568, -11.011, -0.05, -0.833332, 0.05, 0.833332, 7.7294, -0.05, 0.833333, 0.05, -0.833333, -5.77825, -0.05, 0.232568, 0.05, -0.232568, 4.10589, -0.05, 0.465136, 0.05, -0.465136, -0.157859, -0.1, 0, 0.1, 0 ),
|
|
"times": PoolRealArray( 0, 0.05, 0.15, 0.3, 0.4, 0.5, 0.6 )
|
|
}
|
|
|
|
[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 )]
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
TileWorldNode = NodePath("../TileWorld")
|
|
|
|
[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 )]
|
|
ShowHexTiles = true
|
|
|
|
[node name="Area" parent="StreamContainer" index="2"]
|
|
collision_layer = 0
|
|
|
|
[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 )
|
|
|
|
[node name="Tree" parent="." instance=ExtResource( 8 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.54934, 0.00752521, 2.60764 )
|
|
|
|
[node name="Geometry" parent="Tree" index="0"]
|
|
transform = Transform( 1.5, 0, 0, 0, 0.984722, 0.266325, 0, -0.177712, 1.47574, 0, 0, 0 )
|
|
|
|
[node name="Tree2" parent="." instance=ExtResource( 8 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.73489, 0, 0.451849 )
|
|
|
|
[node name="Geometry" parent="Tree2" index="0"]
|
|
transform = Transform( 1.5, 0, 0, 0, 0.984722, 0.266325, 0, -0.177712, 1.47574, 0, 0, 0 )
|
|
|
|
[node name="AnimationPlayer" parent="Tree2" index="3"]
|
|
anims/Idle = SubResource( 5 )
|
|
anims/RESET = SubResource( 6 )
|
|
anims/TreeShake = SubResource( 7 )
|
|
|
|
[node name="Spatial" parent="." instance=ExtResource( 9 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.14454, 0 )
|
|
|
|
[editable path="Player"]
|
|
[editable path="TileWorld"]
|
|
[editable path="StreamContainer"]
|
|
[editable path="Tree"]
|
|
[editable path="Tree2"]
|