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

212 lines
6.6 KiB
Text

[gd_scene load_steps=18 format=2]
[ext_resource path="res://scenes/AlternativeChoices/AlternativeChoiceBase.tscn" type="PackedScene" id=1]
[ext_resource path="res://resources/graphics/backgrounds/panorama/white.webp" type="Texture" id=2]
[ext_resource path="res://resources/AlternativeChoices/HoverAlternative.gdshader" type="Shader" id=3]
[ext_resource path="res://scripts/AlternativeChoices/AlternativeChoiceTimeline_140.gd" type="Script" id=4]
[ext_resource path="res://resources/AlternativeChoices/Timeline_120/Door_day.webp" type="Texture" id=5]
[ext_resource path="res://resources/AlternativeChoices/Timeline_5/Arrow.webp" type="Texture" id=6]
[ext_resource path="res://resources/audio/sfx/Shagi dom.ogg" type="AudioStream" id=7]
[ext_resource path="res://resources/graphics/backgrounds/panorama/red.webp" type="Texture" id=8]
[sub_resource type="ShaderMaterial" id=27]
shader = ExtResource( 3 )
shader_param/mixing = 0.0
[sub_resource type="ShaderMaterial" id=23]
shader = ExtResource( 3 )
shader_param/mixing = 0.0
[sub_resource type="ShaderMaterial" id=24]
shader = ExtResource( 3 )
shader_param/mixing = 0.0
[sub_resource type="ShaderMaterial" id=25]
shader = ExtResource( 3 )
shader_param/mixing = 0.0
[sub_resource type="ShaderMaterial" id=26]
shader = ExtResource( 3 )
shader_param/mixing = 0.0
[sub_resource type="ShaderMaterial" id=28]
shader = ExtResource( 3 )
shader_param/mixing = 0.0
[sub_resource type="ShaderMaterial" id=29]
shader = ExtResource( 3 )
shader_param/mixing = 0.0
[sub_resource type="DynamicFontData" id=17]
font_path = "res://resources/fonts/TimesNewerRoman-Regular.otf"
[sub_resource type="DynamicFont" id=22]
size = 36
font_data = SubResource( 17 )
[node name="AlternativeChoice" instance=ExtResource( 1 )]
script = ExtResource( 4 )
[node name="SpriteButtons" parent="." index="0"]
z_index = 1
[node name="Garage" type="TextureButton" parent="SpriteButtons" index="0"]
material = SubResource( 27 )
margin_left = 943.0
margin_top = 139.0
margin_right = 1508.0
margin_bottom = 1239.0
rect_scale = Vector2( 0.5, 0.5 )
texture_normal = ExtResource( 5 )
[node name="Red" type="TextureButton" parent="SpriteButtons" index="1"]
material = SubResource( 23 )
margin_left = 1126.0
margin_top = 191.0
margin_right = 1637.0
margin_bottom = 1346.0
rect_scale = Vector2( 0.5, 0.5 )
texture_normal = ExtResource( 8 )
[node name="White" type="TextureButton" parent="SpriteButtons" index="2"]
material = SubResource( 24 )
margin_left = 2085.0
margin_top = 318.0
margin_right = 2609.0
margin_bottom = 1143.0
rect_scale = Vector2( 0.5, 0.5 )
texture_normal = ExtResource( 2 )
[node name="Emilia" type="TextureButton" parent="SpriteButtons" index="3"]
material = SubResource( 25 )
margin_left = 2656.0
margin_top = 735.0
margin_right = 2776.0
margin_bottom = 825.0
rect_scale = Vector2( 0.5, 0.5 )
focus_mode = 0
texture_normal = ExtResource( 6 )
flip_h = true
[node name="Stairs" type="TextureButton" parent="SpriteButtons" index="4"]
material = SubResource( 26 )
margin_left = 1460.0
margin_top = 1053.0
margin_right = 1580.0
margin_bottom = 1143.0
rect_rotation = 270.0
rect_scale = Vector2( 0.5, 0.5 )
texture_normal = ExtResource( 6 )
[node name="Basement" type="TextureButton" parent="SpriteButtons" index="5"]
material = SubResource( 28 )
margin_left = 70.0001
margin_top = 989.0
margin_right = 190.0
margin_bottom = 1079.0
rect_rotation = -35.0
rect_scale = Vector2( 0.5, 0.5 )
texture_normal = ExtResource( 6 )
[node name="Kitchen" type="TextureButton" parent="SpriteButtons" index="6"]
material = SubResource( 29 )
margin_left = 2680.0
margin_top = 987.0
margin_right = 2800.0
margin_bottom = 1077.0
rect_rotation = 35.0
rect_scale = Vector2( 0.5, 0.5 )
texture_normal = ExtResource( 6 )
flip_h = true
[node name="1" type="Label" parent="Labels" index="0"]
visible = false
margin_bottom = 45.0
custom_fonts/font = SubResource( 22 )
align = 1
valign = 1
[node name="2" type="Label" parent="Labels" index="1"]
visible = false
margin_bottom = 45.0
custom_fonts/font = SubResource( 22 )
align = 1
valign = 1
[node name="3" type="Label" parent="Labels" index="2"]
visible = false
margin_bottom = 45.0
custom_fonts/font = SubResource( 22 )
align = 1
valign = 1
[node name="4" type="Label" parent="Labels" index="3"]
visible = false
margin_bottom = 45.0
custom_fonts/font = SubResource( 22 )
align = 1
valign = 1
[node name="5" type="Label" parent="Labels" index="4"]
visible = false
margin_bottom = 45.0
custom_fonts/font = SubResource( 22 )
align = 1
valign = 1
[node name="6" type="Label" parent="Labels" index="5"]
visible = false
margin_bottom = 45.0
custom_fonts/font = SubResource( 22 )
align = 1
valign = 1
[node name="7" type="Label" parent="Labels" index="6"]
visible = false
margin_bottom = 45.0
custom_fonts/font = SubResource( 22 )
align = 1
valign = 1
[node name="MovingControls" type="Node2D" parent="." index="2"]
z_index = 400
[node name="LeftMove" type="TextureRect" parent="MovingControls" index="0"]
margin_right = 60.0
margin_bottom = 1080.0
[node name="Sprite" type="Sprite" parent="MovingControls/LeftMove" index="0"]
position = Vector2( 0, 495 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 6 )
centered = false
[node name="RightMove" type="TextureRect" parent="MovingControls" index="1"]
margin_left = 1860.0
margin_right = 1920.0
margin_bottom = 1080.0
flip_h = true
[node name="Sprite" type="Sprite" parent="MovingControls/RightMove" index="0"]
position = Vector2( 0, 495 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 6 )
centered = false
flip_h = true
[node name="WalkingEffect" type="AudioStreamPlayer2D" parent="." index="3"]
stream = ExtResource( 7 )
volume_db = 7.0
bus = "SFX"
[connection signal="button_up" from="SpriteButtons/Garage" to="." method="_on_Garage_button_up"]
[connection signal="button_up" from="SpriteButtons/Red" to="." method="_on_2_button_up"]
[connection signal="button_up" from="SpriteButtons/White" to="." method="_on_4_button_up"]
[connection signal="button_up" from="SpriteButtons/Emilia" to="." method="_on_15_button_up"]
[connection signal="button_up" from="SpriteButtons/Stairs" to="." method="_on_Stairs_button_up"]
[connection signal="button_up" from="SpriteButtons/Basement" to="." method="_on_Basement_button_up"]
[connection signal="button_up" from="SpriteButtons/Kitchen" to="." method="_on_Kitchen_button_up"]
[connection signal="mouse_entered" from="MovingControls/LeftMove" to="." method="_on_LeftMove_mouse_entered"]
[connection signal="mouse_exited" from="MovingControls/LeftMove" to="." method="_on_LeftMove_mouse_exited"]
[connection signal="mouse_entered" from="MovingControls/RightMove" to="." method="_on_RightMove_mouse_entered"]
[connection signal="mouse_exited" from="MovingControls/RightMove" to="." method="_on_RightMove_mouse_exited"]