From f89b42e0b5caf61bb090fdb260b77bbefbe9e00b Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Thu, 18 Jan 2018 10:01:50 +0700 Subject: [PATCH] Update scenes for latest Godot --- default_env.tres | 4 +++- fps_counter.tscn | 8 +++++--- icon.png.import | 8 ++++++++ main.tscn | 10 ++++------ scene.tscn | 22 +++++++++++----------- 5 files changed, 31 insertions(+), 21 deletions(-) diff --git a/default_env.tres b/default_env.tres index 6bf8f87..2eb3882 100644 --- a/default_env.tres +++ b/default_env.tres @@ -66,7 +66,9 @@ ssao_intensity2 = 1.0 ssao_bias = 0.01 ssao_light_affect = 0.0 ssao_color = Color( 0, 0, 0, 1 ) -ssao_blur = true +ssao_quality = 0 +ssao_blur = 1 +ssao_edge_sharpness = 4.0 dof_blur_far_enabled = false dof_blur_far_distance = 10.0 dof_blur_far_transition = 5.0 diff --git a/fps_counter.tscn b/fps_counter.tscn index 67fc001..8701ac7 100644 --- a/fps_counter.tscn +++ b/fps_counter.tscn @@ -13,14 +13,16 @@ _sections_unfolded = [ "Extra Spacing", "Font", "Settings" ] [node name="Label" type="Label"] -anchor_left = 1 -anchor_right = 1 +anchor_left = 1.0 +anchor_top = 0.0 +anchor_right = 1.0 +anchor_bottom = 0.0 margin_top = 10.0 margin_right = 10.0 grow_horizontal = 0 rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false mouse_filter = 2 +mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 4 custom_fonts/font = SubResource( 1 ) diff --git a/icon.png.import b/icon.png.import index 42e94a3..1d2680c 100644 --- a/icon.png.import +++ b/icon.png.import @@ -4,6 +4,14 @@ importer="texture" type="StreamTexture" path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" +[deps] + +source_file="res://icon.png" +source_md5="c3558f79862e8e00c74fb188280dd8ef" + +dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ] +dest_md5="faf846ccd89e2edfcabb6f1c3125aa7e" + [params] compress/mode=0 diff --git a/main.tscn b/main.tscn index 2626311..b85db71 100644 --- a/main.tscn +++ b/main.tscn @@ -19,22 +19,22 @@ anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false mouse_filter = 0 +mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 script = ExtResource( 1 ) _sections_unfolded = [ "Anchor", "Margin" ] -[node name="Label" type="Label" parent="."] +[node name="Label" type="Label" parent="." index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false mouse_filter = 2 +mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 4 custom_fonts/font = SubResource( 1 ) @@ -46,10 +46,8 @@ lines_skipped = 0 max_lines_visible = -1 _sections_unfolded = [ "Anchor", "Margin", "custom_fonts" ] -[node name="FPS" parent="." instance=ExtResource( 3 )] +[node name="FPS" parent="." index="1" instance=ExtResource( 3 )] -anchor_top = 0.0 -anchor_bottom = 0.0 margin_left = 189.0 margin_bottom = 58.0 diff --git a/scene.tscn b/scene.tscn index 07b4429..7247640 100644 --- a/scene.tscn +++ b/scene.tscn @@ -9,15 +9,14 @@ mid_height = 1.0 radial_segments = 64 rings = 8 -[node name="Node" type="Node"] +[node name="Node" type="Node" index="0"] -[node name="MeshInstance" type="MeshInstance" parent="."] +[node name="MeshInstance" type="MeshInstance" parent="." index="0"] layers = 1 material_override = null cast_shadow = 1 extra_cull_margin = 0.0 -visible_in_all_rooms = false use_in_baked_light = false lod_min_distance = 0.0 lod_min_hysteresis = 0.0 @@ -28,21 +27,22 @@ skeleton = NodePath("..") material/0 = null _sections_unfolded = [ "Geometry", "material" ] -[node name="Label" parent="." instance=ExtResource( 1 )] +[node name="Label" parent="." index="1" instance=ExtResource( 1 )] -[node name="Camera" type="Camera" parent="."] +[node name="Camera" type="Camera" parent="." index="2"] transform = Transform( 0.930689, 0.16529, -0.326338, 0, 0.892097, 0.451845, 0.365811, -0.420527, 0.830265, -0.972205, 1.19673, 2.59579 ) -projection = 0 -fov = 65.0 -near = 0.1 -far = 100.0 keep_aspect = 1 -current = true cull_mask = 1048575 environment = null h_offset = 0.0 v_offset = 0.0 -doppler/tracking = 0 +doppler_tracking = 0 +projection = 0 +current = true +fov = 65.0 +size = 1.0 +near = 0.1 +far = 100.0