|
@@ -0,0 +1,45 @@
|
|
|
+[gd_scene load_steps=6 format=2]
|
|
|
+
|
|
|
+[ext_resource path="res://2strail.png" type="Texture" id=1]
|
|
|
+[ext_resource path="res://light.png" type="Texture" id=2]
|
|
|
+
|
|
|
+[sub_resource type="Shader" id=1]
|
|
|
+code = "shader_type canvas_item;
|
|
|
+render_mode blend_add;
|
|
|
+
|
|
|
+void fragment(){
|
|
|
+ COLOR.a = texture(TEXTURE,UV).a - sin(TIME*20f)/30f;
|
|
|
+}"
|
|
|
+
|
|
|
+[sub_resource type="ShaderMaterial" id=2]
|
|
|
+shader = SubResource( 1 )
|
|
|
+
|
|
|
+[sub_resource type="CanvasItemMaterial" id=3]
|
|
|
+blend_mode = 1
|
|
|
+
|
|
|
+[node name="2strail" type="Sprite"]
|
|
|
+position = Vector2( 1002, 495.375 )
|
|
|
+scale = Vector2( 28.75, 1 )
|
|
|
+texture = ExtResource( 1 )
|
|
|
+
|
|
|
+[node name="2strail2" type="Sprite" parent="."]
|
|
|
+modulate = Color( 1, 0, 0, 1 )
|
|
|
+material = SubResource( 2 )
|
|
|
+position = Vector2( -0.0492477, -0.762421 )
|
|
|
+scale = Vector2( 1, 3.68967 )
|
|
|
+z_index = 1
|
|
|
+texture = ExtResource( 1 )
|
|
|
+
|
|
|
+[node name="light" type="Sprite" parent="2strail2"]
|
|
|
+modulate = Color( 1, 1, 1, 0.501961 )
|
|
|
+material = SubResource( 3 )
|
|
|
+position = Vector2( -3.92375, 0.882786 )
|
|
|
+scale = Vector2( 0.0395468, 0.298902 )
|
|
|
+texture = ExtResource( 2 )
|
|
|
+
|
|
|
+[node name="light2" type="Sprite" parent="2strail2"]
|
|
|
+modulate = Color( 1, 1, 1, 0.501961 )
|
|
|
+material = SubResource( 3 )
|
|
|
+position = Vector2( 4.05212, 0.626678 )
|
|
|
+scale = Vector2( 0.0395468, 0.298902 )
|
|
|
+texture = ExtResource( 2 )
|