mirror of
https://github.com/Relintai/rsc_rpg.git
synced 2025-04-22 05:51:17 +02:00
Added an environment node.
This commit is contained in:
parent
a159f18580
commit
eb3b783072
@ -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
|
||||
|
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user