diff --git a/game/project.godot b/game/project.godot index b1ed34b..7066d15 100644 --- a/game/project.godot +++ b/game/project.godot @@ -640,5 +640,6 @@ quality/driver/fallback_to_gles2=true vram_compression/import_etc=true quality/directional_shadow/size.mobile=1024 quality/shading/force_vertex_shading=true +environment/default_clear_color=Color( 0, 0, 0, 1 ) quality/2d/use_batching=true quality/shadows/enabled=false diff --git a/game/scenes/World.tscn b/game/scenes/World.tscn index fbe3e75..2d91d83 100644 --- a/game/scenes/World.tscn +++ b/game/scenes/World.tscn @@ -1,8 +1,10 @@ -[gd_scene load_steps=3 format=2] +[gd_scene load_steps=4 format=2] [ext_resource path="res://scenes/World.gd" type="Script" id=1] [ext_resource path="res://tilesets/Terrarin.tscn" type="PackedScene" id=3] +[sub_resource type="Environment" id=1] + [node name="World" type="Node2D" groups=[ "save", ]] @@ -10,3 +12,6 @@ script = ExtResource( 1 ) level_paths = [ NodePath("Terrarin") ] [node name="Terrarin" parent="." instance=ExtResource( 3 )] + +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource( 1 )