[gd_scene load_steps=13 format=2] [ext_resource path="res://scenes/AdaptiveWorldStream.cs" type="Script" id=1] [ext_resource path="res://entities/Player3D.tscn" type="PackedScene" id=2] [ext_resource path="res://scenes/World.gd" type="Script" id=3] [ext_resource path="res://scenes/StreamContainer.cs" type="Script" id=4] [ext_resource path="res://entities/Player.cs" type="Script" id=5] [ext_resource path="res://scenes/DebugCamera.gd" type="Script" id=6] [ext_resource path="res://utils/TileHighlight.tscn" type="PackedScene" id=7] [sub_resource type="CubeMesh" id=1] size = Vector3( 1, 1, 1 ) [sub_resource type="SpatialMaterial" id=2] params_blend_mode = 3 albedo_color = Color( 1, 1, 1, 0.156863 ) [sub_resource type="BoxShape" id=9] extents = Vector3( 20, 1, 20 ) [sub_resource type="CapsuleShape" id=7] radius = 0.2 height = 0.5 [sub_resource type="CapsuleMesh" id=8] radius = 0.2 mid_height = 0.5 radial_segments = 16 [node name="AdaptiveWorldStream" type="Spatial"] script = ExtResource( 1 ) [node name="TileHighlight" parent="." instance=ExtResource( 7 )] [node name="MouseTileHighlight" parent="." instance=ExtResource( 7 )] [node name="OPlayer" parent="." instance=ExtResource( 2 )] visible = false [node name="Camera" parent="OPlayer" index="0"] visible = false [node name="MeshInstance" parent="OPlayer" index="1"] visible = false [node name="Collision" parent="OPlayer" index="2"] visible = false [node name="Movable" parent="OPlayer" index="3"] visible = false [node name="World" type="Spatial" parent="."] script = ExtResource( 3 ) [node name="DirectionalLight" type="DirectionalLight" parent="World"] transform = Transform( 0.328059, -0.878387, 0.347583, 0, 0.367946, 0.929847, -0.944657, -0.305045, 0.120708, 0, 6.59293, 1.20265 ) shadow_enabled = true [node name="Control" type="Control" parent="."] margin_right = 40.0 margin_bottom = 40.0 [node name="HBoxContainer" type="HBoxContainer" parent="Control"] margin_right = 40.0 margin_bottom = 40.0 [node name="GridContainer" type="GridContainer" parent="Control/HBoxContainer"] margin_right = 127.0 margin_bottom = 158.0 columns = 2 [node name="Label9" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_right = 103.0 margin_bottom = 14.0 rect_pivot_offset = Vector2( -335, -33 ) text = "FPS" [node name="fps_label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_left = 107.0 margin_right = 127.0 margin_bottom = 14.0 text = "0,0" [node name="Label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_top = 18.0 margin_right = 103.0 margin_bottom = 32.0 rect_pivot_offset = Vector2( -335, -33 ) text = "Tile" [node name="tile_label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_left = 107.0 margin_top = 18.0 margin_right = 127.0 margin_bottom = 32.0 text = "0,0" [node name="Label2" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_top = 36.0 margin_right = 103.0 margin_bottom = 50.0 text = "Tile Offset" [node name="tile_offset_label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_left = 107.0 margin_top = 36.0 margin_right = 127.0 margin_bottom = 50.0 text = "0,0" [node name="Label4" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_top = 54.0 margin_right = 103.0 margin_bottom = 68.0 rect_pivot_offset = Vector2( -335, -33 ) text = "Mouse World" [node name="mouse_world_label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_left = 107.0 margin_top = 54.0 margin_right = 127.0 margin_bottom = 68.0 text = "0,0" [node name="Label6" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_top = 72.0 margin_right = 103.0 margin_bottom = 86.0 rect_pivot_offset = Vector2( -335, -33 ) text = "Mouse Tile" [node name="mouse_tile_label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_left = 107.0 margin_top = 72.0 margin_right = 127.0 margin_bottom = 86.0 text = "0,0" [node name="Label3" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_top = 90.0 margin_right = 103.0 margin_bottom = 104.0 text = "#Tiles" [node name="num_tiles_label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_left = 107.0 margin_top = 90.0 margin_right = 127.0 margin_bottom = 104.0 text = "0" [node name="Label5" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_top = 108.0 margin_right = 103.0 margin_bottom = 122.0 text = "#Active" [node name="num_active_tiles_label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_left = 107.0 margin_top = 108.0 margin_right = 127.0 margin_bottom = 122.0 text = "0" [node name="Label7" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_top = 126.0 margin_right = 103.0 margin_bottom = 140.0 text = "#Tiles Added" [node name="num_coords_added_label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_left = 107.0 margin_top = 126.0 margin_right = 127.0 margin_bottom = 140.0 text = "0" [node name="Label8" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_top = 144.0 margin_right = 103.0 margin_bottom = 158.0 text = "#Tiles Removed" [node name="num_coords_removed_label" type="Label" parent="Control/HBoxContainer/GridContainer"] margin_left = 107.0 margin_top = 144.0 margin_right = 127.0 margin_bottom = 158.0 text = "0" [node name="StreamContainer" type="Spatial" parent="."] script = ExtResource( 4 ) Dimensions = Vector2( 40, 30 ) [node name="ActiveTiles" type="Spatial" parent="StreamContainer"] [node name="Bounds" type="MeshInstance" parent="StreamContainer"] transform = Transform( 4, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0 ) visible = false mesh = SubResource( 1 ) skeleton = NodePath("../..") material/0 = SubResource( 2 ) [node name="Area" type="Area" parent="StreamContainer"] [node name="CollisionShape" type="CollisionShape" parent="StreamContainer/Area"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 ) shape = SubResource( 9 ) [node name="Player" type="KinematicBody" parent="."] script = ExtResource( 5 ) [node name="CollisionShape" type="CollisionShape" parent="Player"] transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, 0 ) shape = SubResource( 7 ) [node name="Camera" type="Camera" parent="Player"] transform = Transform( 1, 0, 0, 0, 0.511698, 0.859165, 0, -0.859165, 0.511698, -4.76837e-07, 6.61621, 3.80453 ) current = true fov = 60.0 script = ExtResource( 6 ) [node name="MeshInstance" type="MeshInstance" parent="Player"] transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, 0 ) mesh = SubResource( 8 ) [connection signal="world_generated" from="World" to="." method="_on_World_world_generated"] [editable path="OPlayer"]