[gd_scene load_steps=19 format=2] [ext_resource path="res://scenes/AlternativeChoices/AlternativeChoiceBase.tscn" type="PackedScene" id=1] [ext_resource path="res://scripts/AlternativeChoices/AlternativeChoiceTimeline_Sofa.gd" type="Script" id=2] [ext_resource path="res://resources/AlternativeChoices/Timeline_2/Yellow.webp" type="Texture" id=3] [ext_resource path="res://resources/AlternativeChoices/Timeline_2/Sofa.webp" type="Texture" id=4] [ext_resource path="res://resources/AlternativeChoices/Timeline_2/Orange.webp" type="Texture" id=5] [ext_resource path="res://resources/AlternativeChoices/Timeline_6/Door.webp" type="Texture" id=6] [ext_resource path="res://resources/AlternativeChoices/HoverAlternative.gdshader" type="Shader" id=7] [sub_resource type="ShaderMaterial" id=22] shader = ExtResource( 7 ) shader_param/mixing = 0.0 [sub_resource type="ShaderMaterial" id=23] shader = ExtResource( 7 ) shader_param/mixing = 0.0 [sub_resource type="ShaderMaterial" id=24] shader = ExtResource( 7 ) shader_param/mixing = 0.0 [sub_resource type="Shader" id=11] 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=25] shader = SubResource( 11 ) shader_param/mixing = 0.0 [sub_resource type="DynamicFontData" id=19] font_path = "res://resources/fonts/TimesNewerRoman-Regular.otf" [sub_resource type="DynamicFont" id=26] size = 36 font_data = SubResource( 19 ) [sub_resource type="DynamicFontData" id=20] font_path = "res://resources/fonts/TimesNewerRoman-Regular.otf" [sub_resource type="DynamicFont" id=27] 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=28] size = 36 font_data = SubResource( 21 ) [node name="AlternativeChoice" instance=ExtResource( 1 )] script = ExtResource( 2 ) [node name="Orange" type="TextureButton" parent="SpriteButtons" index="0"] material = SubResource( 22 ) 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( 5 ) [node name="Yellow" type="TextureButton" parent="SpriteButtons" index="1"] material = SubResource( 23 ) 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( 3 ) [node name="Sofa" type="TextureButton" parent="SpriteButtons" index="2"] material = SubResource( 24 ) 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( 4 ) [node name="Door" type="TextureButton" parent="SpriteButtons" index="3"] material = SubResource( 25 ) 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( 26 ) align = 1 valign = 1 [node name="YellowLabel" type="Label" parent="Labels" index="1"] visible = false margin_bottom = 43.0 custom_fonts/font = SubResource( 27 ) align = 1 valign = 1 [node name="SofaLabel" type="Label" parent="Labels" index="2"] visible = false margin_bottom = 43.0 custom_fonts/font = SubResource( 28 ) align = 1 valign = 1 [node name="DoorLabel" type="Label" parent="Labels" index="3"] visible = false margin_bottom = 43.0 custom_fonts/font = SubResource( 28 ) 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"]