91 lines
2.3 KiB
Plaintext
91 lines
2.3 KiB
Plaintext
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://addons/summer_day/tool/canvas/canvas.gd" type="Script" id=1]
|
|
[ext_resource path="res://Main.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://addons/summer_day/tool/canvas/rendering/empty_canvas_layer.gd" type="Script" id=3]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=3]
|
|
bg_color = Color( 0.180392, 0.172549, 0.203922, 1 )
|
|
border_width_left = 1
|
|
border_width_top = 1
|
|
border_width_right = 1
|
|
border_width_bottom = 1
|
|
border_color = Color( 0.121569, 0.113725, 0.133333, 1 )
|
|
|
|
[sub_resource type="GDScript" id=4]
|
|
script/source = "extends ViewportContainer
|
|
|
|
|
|
func _gui_input(event):
|
|
pass
|
|
|
|
func _clips_input():
|
|
pass
|
|
"
|
|
|
|
[sub_resource type="Environment" id=1]
|
|
ambient_light_color = Color( 1, 1, 1, 1 )
|
|
|
|
[sub_resource type="World" id=2]
|
|
environment = SubResource( 1 )
|
|
|
|
[node name="Canvas" type="PanelContainer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 12.0
|
|
margin_top = 12.0
|
|
margin_right = -12.0
|
|
margin_bottom = -12.0
|
|
custom_styles/panel = SubResource( 3 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Render" type="ViewportContainer" parent="."]
|
|
margin_left = 1.0
|
|
margin_top = 1.0
|
|
margin_right = 999.0
|
|
margin_bottom = 575.0
|
|
stretch = true
|
|
script = SubResource( 4 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="BackgroundLayer" type="Viewport" parent="Render"]
|
|
size = Vector2( 998, 574 )
|
|
size_override_stretch = true
|
|
transparent_bg = true
|
|
handle_input_locally = false
|
|
usage = 0
|
|
render_target_update_mode = 3
|
|
gui_disable_input = true
|
|
|
|
[node name="EmptyCanvasLayer" type="Polygon2D" parent="Render/BackgroundLayer"]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="RenderLayer" type="Viewport" parent="Render"]
|
|
size = Vector2( 998, 574 )
|
|
world = SubResource( 2 )
|
|
transparent_bg = true
|
|
handle_input_locally = false
|
|
render_target_update_mode = 3
|
|
gui_disable_input = true
|
|
|
|
[node name="Main" parent="Render/RenderLayer" instance=ExtResource( 2 )]
|
|
|
|
[node name="ForegroundLayer" type="Viewport" parent="Render"]
|
|
size = Vector2( 998, 574 )
|
|
transparent_bg = true
|
|
handle_input_locally = false
|
|
usage = 0
|
|
render_target_update_mode = 3
|
|
gui_disable_input = true
|
|
|
|
[node name="Label" type="Label" parent="Render"]
|
|
margin_right = 40.0
|
|
margin_bottom = 14.0
|
|
|
|
[connection signal="resized" from="." to="." method="_on_Canvas_resized"]
|