135 lines
3.6 KiB
Plaintext
135 lines
3.6 KiB
Plaintext
[gd_scene load_steps=5 format=1]
|
|
|
|
[ext_resource path="res://burano.png" type="Texture" id=1]
|
|
[ext_resource path="res://splat.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="CanvasItemMaterial" id=1]
|
|
|
|
shader/shading_mode = 2
|
|
|
|
[sub_resource type="Animation" id=2]
|
|
|
|
length = 4.0
|
|
loop = true
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("light1:transform/pos")
|
|
tracks/0/interp = 1
|
|
tracks/0/keys = { "cont":true, "times":FloatArray( 0, 1, 2, 3 ), "transitions":FloatArray( -2, -2, -2, -2 ), "values":[ Vector2( 601.028, 242.639 ), Vector2( 318.649, 327.353 ), Vector2( 381.263, 130.915 ), Vector2( 462.294, 389.968 ) ] }
|
|
tracks/1/type = "value"
|
|
tracks/1/path = NodePath("light2:transform/pos")
|
|
tracks/1/interp = 1
|
|
tracks/1/keys = { "cont":true, "times":FloatArray( 0, 1, 2, 3 ), "transitions":FloatArray( -2, -2, -2, -2 ), "values":[ Vector2( 196.528, 185.139 ), Vector2( 135.142, 454.013 ), Vector2( 638.105, 334.923 ), Vector2( 331.375, 101.653 ) ] }
|
|
tracks/2/type = "value"
|
|
tracks/2/path = NodePath("light3:transform/pos")
|
|
tracks/2/interp = 1
|
|
tracks/2/keys = { "cont":true, "times":FloatArray( 0, 1, 2, 3 ), "transitions":FloatArray( -2, -2, -2, -2 ), "values":[ Vector2( 442.528, 411.139 ), Vector2( 635.283, 236.8 ), Vector2( 216.215, 396.815 ), Vector2( 682.96, 294.708 ) ] }
|
|
|
|
[node name="lightmask_demo" type="Control"]
|
|
|
|
anchor/right = 1
|
|
anchor/bottom = 1
|
|
focus/ignore_mouse = false
|
|
focus/stop_mouse = true
|
|
size_flags/horizontal = 2
|
|
size_flags/vertical = 2
|
|
margin/left = 0.0
|
|
margin/top = 0.0
|
|
margin/right = 0.0
|
|
margin/bottom = 0.0
|
|
|
|
[node name="burano" type="TextureFrame" parent="."]
|
|
|
|
material/material = SubResource( 1 )
|
|
focus/ignore_mouse = true
|
|
focus/stop_mouse = true
|
|
size_flags/horizontal = 2
|
|
size_flags/vertical = 2
|
|
margin/left = 0.0
|
|
margin/top = 0.0
|
|
margin/right = 800.0
|
|
margin/bottom = 600.0
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="light1" type="Light2D" parent="."]
|
|
|
|
transform/pos = Vector2( 601.028, 242.639 )
|
|
transform/scale = Vector2( 1.62522, 1.62999 )
|
|
enabled = true
|
|
texture = ExtResource( 2 )
|
|
offset = Vector2( 0, 0 )
|
|
scale = 1.0
|
|
color = Color( 1, 1, 1, 1 )
|
|
energy = 1.0
|
|
mode = 2
|
|
range/height = 0.0
|
|
range/z_min = -1024
|
|
range/z_max = 1024
|
|
range/layer_min = 0
|
|
range/layer_max = 0
|
|
range/item_mask = 1
|
|
shadow/enabled = false
|
|
shadow/color = Color( 0, 0, 0, 0 )
|
|
shadow/buffer_size = 2048
|
|
shadow/esm_multiplier = 80.0
|
|
shadow/item_mask = 1
|
|
|
|
[node name="light2" type="Light2D" parent="."]
|
|
|
|
transform/pos = Vector2( 196.528, 185.139 )
|
|
transform/scale = Vector2( 1.76194, 1.71984 )
|
|
enabled = true
|
|
texture = ExtResource( 2 )
|
|
offset = Vector2( 0, 0 )
|
|
scale = 1.0
|
|
color = Color( 1, 1, 1, 1 )
|
|
energy = 1.0
|
|
mode = 2
|
|
range/height = 0.0
|
|
range/z_min = -1024
|
|
range/z_max = 1024
|
|
range/layer_min = 0
|
|
range/layer_max = 0
|
|
range/item_mask = 1
|
|
shadow/enabled = false
|
|
shadow/color = Color( 0, 0, 0, 0 )
|
|
shadow/buffer_size = 2048
|
|
shadow/esm_multiplier = 80.0
|
|
shadow/item_mask = 1
|
|
|
|
[node name="light3" type="Light2D" parent="."]
|
|
|
|
transform/pos = Vector2( 442.528, 411.139 )
|
|
transform/scale = Vector2( 1.76194, 1.71984 )
|
|
enabled = true
|
|
texture = ExtResource( 2 )
|
|
offset = Vector2( 0, 0 )
|
|
scale = 1.0
|
|
color = Color( 1, 1, 1, 1 )
|
|
energy = 1.0
|
|
mode = 2
|
|
range/height = 0.0
|
|
range/z_min = -1024
|
|
range/z_max = 1024
|
|
range/layer_min = 0
|
|
range/layer_max = 0
|
|
range/item_mask = 1
|
|
shadow/enabled = false
|
|
shadow/color = Color( 0, 0, 0, 0 )
|
|
shadow/buffer_size = 2048
|
|
shadow/esm_multiplier = 80.0
|
|
shadow/item_mask = 1
|
|
|
|
[node name="anim" type="AnimationPlayer" parent="."]
|
|
|
|
playback/process_mode = 1
|
|
playback/default_blend_time = 0.0
|
|
root/root = NodePath("..")
|
|
anims/maskmotion = SubResource( 2 )
|
|
playback/active = true
|
|
playback/speed = 1.0
|
|
blend_times = [ ]
|
|
autoplay = "maskmotion"
|
|
|
|
|