One_Eleven_Android/scenes/AlternativeChoices/AlternativeChoiceTimeline_6.tscn
2024-11-10 03:34:28 +03:00

129 lines
4 KiB
Text

[gd_scene load_steps=19 format=2]
[ext_resource path="res://resources/AlternativeChoices/HoverAlternative.gdshader" type="Shader" id=1]
[ext_resource path="res://scenes/AlternativeChoices/AlternativeChoiceBase.tscn" type="PackedScene" id=2]
[ext_resource path="res://resources/AlternativeChoices/Timeline_2/Sofa.webp" type="Texture" id=3]
[ext_resource path="res://resources/AlternativeChoices/Timeline_2/Orange.webp" type="Texture" id=4]
[ext_resource path="res://resources/AlternativeChoices/Timeline_2/Yellow.webp" type="Texture" id=5]
[ext_resource path="res://resources/AlternativeChoices/Timeline_6/Door.webp" type="Texture" id=6]
[ext_resource path="res://scripts/AlternativeChoices/AlternativeChoiceTimeline_6.gd" type="Script" id=7]
[sub_resource type="ShaderMaterial" id=12]
shader = ExtResource( 1 )
shader_param/mixing = 0.0
[sub_resource type="ShaderMaterial" id=13]
shader = ExtResource( 1 )
shader_param/mixing = 0.0
[sub_resource type="ShaderMaterial" id=14]
shader = ExtResource( 1 )
shader_param/mixing = 0.0
[sub_resource type="Shader" id=19]
code = "shader_type canvas_item;
uniform float mixing = 0.0;
void fragment(){
vec4 color = texture(TEXTURE,UV);
color.rgb = mix(color.rgb, vec3(1,1,1).rgb, mixing);
COLOR = color;
}"
[sub_resource type="ShaderMaterial" id=15]
shader = SubResource( 19 )
shader_param/mixing = 0.0
[sub_resource type="DynamicFontData" id=20]
font_path = "res://resources/fonts/TimesNewerRoman-Regular.otf"
[sub_resource type="DynamicFont" id=16]
size = 36
font_data = SubResource( 20 )
[sub_resource type="DynamicFontData" id=21]
font_path = "res://resources/fonts/TimesNewerRoman-Regular.otf"
[sub_resource type="DynamicFont" id=17]
size = 36
font_data = SubResource( 21 )
[sub_resource type="DynamicFontData" id=22]
font_path = "res://resources/fonts/TimesNewerRoman-Regular.otf"
[sub_resource type="DynamicFont" id=18]
size = 36
font_data = SubResource( 22 )
[node name="AlternativeChoice" instance=ExtResource( 2 )]
script = ExtResource( 7 )
[node name="Orange" type="TextureButton" parent="SpriteButtons" index="0"]
material = SubResource( 12 )
margin_left = 1292.0
margin_top = 255.0
margin_right = 3531.0
margin_bottom = 3369.0
rect_scale = Vector2( 0.088, 0.088 )
texture_normal = ExtResource( 4 )
[node name="Yellow" type="TextureButton" parent="SpriteButtons" index="1"]
material = SubResource( 13 )
margin_left = 1595.84
margin_top = 329.0
margin_right = 4378.84
margin_bottom = 6594.0
rect_scale = Vector2( 0.105, 0.105 )
texture_normal = ExtResource( 5 )
[node name="Sofa" type="TextureButton" parent="SpriteButtons" index="2"]
material = SubResource( 14 )
margin_left = 55.0
margin_top = 454.0
margin_right = 819.0
margin_bottom = 908.0
rect_scale = Vector2( 0.495, 0.495 )
texture_normal = ExtResource( 3 )
[node name="Door" type="TextureButton" parent="SpriteButtons" index="3"]
material = SubResource( 15 )
margin_left = 712.0
margin_top = 216.0
margin_right = 1076.0
margin_bottom = 995.0
rect_scale = Vector2( 0.5, 0.5 )
texture_normal = ExtResource( 6 )
[node name="OrangeLabel" type="Label" parent="Labels" index="0"]
visible = false
margin_bottom = 45.0
custom_fonts/font = SubResource( 16 )
align = 1
valign = 1
[node name="YellowLabel" type="Label" parent="Labels" index="1"]
visible = false
margin_bottom = 43.0
custom_fonts/font = SubResource( 17 )
align = 1
valign = 1
[node name="SofaLabel" type="Label" parent="Labels" index="2"]
visible = false
margin_bottom = 43.0
custom_fonts/font = SubResource( 18 )
align = 1
valign = 1
[node name="DoorLabel" type="Label" parent="Labels" index="3"]
visible = false
margin_bottom = 43.0
custom_fonts/font = SubResource( 18 )
align = 1
valign = 1
[connection signal="button_up" from="SpriteButtons/Orange" to="." method="_on_Orange_button_up"]
[connection signal="button_up" from="SpriteButtons/Yellow" to="." method="_on_Yellow_button_up"]
[connection signal="button_up" from="SpriteButtons/Sofa" to="." method="_on_Sofa_button_up"]
[connection signal="button_up" from="SpriteButtons/Door" to="." method="_on_Door_button_up"]