Bagelicious.tscn 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. [gd_scene load_steps=5 format=3 uid="uid://cd0xdv24ktxi"]
  2. [ext_resource type="Texture2D" uid="uid://c3vxfjwswbbps" path="res://logo.png" id="1_f3t2f"]
  3. [ext_resource type="Script" path="res://Bagelicious.gd" id="1_ya5nu"]
  4. [ext_resource type="Texture2D" uid="uid://b8fsbj1y78kk2" path="res://banner.png" id="2_mgmb0"]
  5. [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_l6t2m"]
  6. content_margin_left = 10.0
  7. content_margin_top = 10.0
  8. content_margin_right = 10.0
  9. content_margin_bottom = 10.0
  10. bg_color = Color(0.427451, 0.313726, 0.537255, 1)
  11. expand_margin_left = 5.0
  12. expand_margin_top = 5.0
  13. expand_margin_right = 5.0
  14. expand_margin_bottom = 5.0
  15. [node name="Bagelicious" type="Control"]
  16. layout_mode = 3
  17. anchors_preset = 15
  18. anchor_right = 1.0
  19. anchor_bottom = 1.0
  20. grow_horizontal = 2
  21. grow_vertical = 2
  22. mouse_filter = 1
  23. script = ExtResource("1_ya5nu")
  24. [node name="MainScreen" type="VBoxContainer" parent="."]
  25. visible = false
  26. layout_mode = 1
  27. anchors_preset = 15
  28. anchor_right = 1.0
  29. anchor_bottom = 1.0
  30. grow_horizontal = 2
  31. grow_vertical = 2
  32. [node name="s" type="TextureRect" parent="MainScreen"]
  33. custom_minimum_size = Vector2(0, 220)
  34. layout_mode = 2
  35. size_flags_vertical = 0
  36. texture = ExtResource("2_mgmb0")
  37. expand_mode = 1
  38. stretch_mode = 6
  39. [node name="AspectRatioContainer" type="AspectRatioContainer" parent="MainScreen"]
  40. layout_mode = 2
  41. ratio = 0.6
  42. stretch_mode = 1
  43. [node name="Description" type="MarginContainer" parent="MainScreen/AspectRatioContainer"]
  44. layout_mode = 2
  45. theme_override_constants/margin_left = 10
  46. theme_override_constants/margin_top = 10
  47. theme_override_constants/margin_right = 10
  48. theme_override_constants/margin_bottom = 10
  49. [node name="VBoxContainer" type="VBoxContainer" parent="MainScreen/AspectRatioContainer/Description"]
  50. layout_mode = 2
  51. [node name="RichTextLabel" type="RichTextLabel" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer"]
  52. layout_mode = 2
  53. bbcode_enabled = true
  54. text = "[color=#f9a9abff][font_size=24]Far Away Bagels[/font_size][/color]
  55. [color=#b14b54ff][font_size=16]★★☆☆☆[/font_size] [font_size=9]61 reviews[/font_size][/color]
  56. [color=#f9a9abff][font_size=18]Popular[/font_size][/color]"
  57. fit_content = true
  58. [node name="Offers" type="VBoxContainer" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer"]
  59. layout_mode = 2
  60. size_flags_horizontal = 3
  61. [node name="Bagel" type="MarginContainer" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer/Offers"]
  62. layout_mode = 2
  63. theme_override_constants/margin_left = 5
  64. theme_override_constants/margin_top = 5
  65. theme_override_constants/margin_right = 5
  66. theme_override_constants/margin_bottom = 5
  67. [node name="HBoxContainer" type="HBoxContainer" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer/Offers/Bagel"]
  68. layout_mode = 2
  69. size_flags_vertical = 0
  70. [node name="RichTextLabel2" type="RichTextLabel" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer/Offers/Bagel/HBoxContainer"]
  71. layout_mode = 2
  72. size_flags_horizontal = 3
  73. size_flags_vertical = 0
  74. bbcode_enabled = true
  75. text = "[color=#f9ddabff][b]1. Bagel Deluxe[/b]
  76. [font_size=10]With no additives or chemicals and only organic 100% premium hormone-free brown sugar, we serve up a bagel so delicious you will be left speechless.[/font_size][/color]
  77. [color=#f9a9abff][font_size=15]4.99 💰[/font_size][/color]"
  78. fit_content = true
  79. scroll_active = false
  80. [node name="Button" type="Button" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer/Offers/Bagel/HBoxContainer" groups=["bagelbutton"]]
  81. layout_mode = 2
  82. size_flags_vertical = 0
  83. theme_override_colors/font_color = Color(0.976471, 0.866667, 0.670588, 1)
  84. text = " + "
  85. metadata/bagelid = 0
  86. [node name="Bagel2" type="MarginContainer" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer/Offers"]
  87. layout_mode = 2
  88. theme_override_constants/margin_left = 5
  89. theme_override_constants/margin_top = 5
  90. theme_override_constants/margin_right = 5
  91. theme_override_constants/margin_bottom = 5
  92. [node name="HBoxContainer" type="HBoxContainer" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer/Offers/Bagel2"]
  93. layout_mode = 2
  94. size_flags_vertical = 0
  95. [node name="RichTextLabel2" type="RichTextLabel" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer/Offers/Bagel2/HBoxContainer"]
  96. layout_mode = 2
  97. size_flags_horizontal = 3
  98. size_flags_vertical = 0
  99. bbcode_enabled = true
  100. text = "[color=#f9ddabff][b]4. Concrete Bagel[/b]
  101. [font_size=10]This bagel is an eternal classic. The base of the bagel is a concrete patty that's layered with laminate.[/font_size][/color]
  102. [color=#f9a9abff][font_size=15]14.99 💰[/font_size][/color]"
  103. fit_content = true
  104. scroll_active = false
  105. [node name="Button" type="Button" parent="MainScreen/AspectRatioContainer/Description/VBoxContainer/Offers/Bagel2/HBoxContainer" groups=["bagelbutton"]]
  106. layout_mode = 2
  107. size_flags_vertical = 0
  108. theme_override_colors/font_color = Color(0.976471, 0.866667, 0.670588, 1)
  109. text = " + "
  110. metadata/bagelid = 1
  111. [node name="Delivery" type="CenterContainer" parent="MainScreen/AspectRatioContainer"]
  112. visible = false
  113. layout_mode = 2
  114. [node name="Panel" type="PanelContainer" parent="MainScreen/AspectRatioContainer/Delivery"]
  115. layout_mode = 2
  116. mouse_filter = 1
  117. theme_override_styles/panel = SubResource("StyleBoxFlat_l6t2m")
  118. [node name="VBoxContainer" type="VBoxContainer" parent="MainScreen/AspectRatioContainer/Delivery/Panel"]
  119. layout_mode = 2
  120. [node name="RichTextLabel" type="RichTextLabel" parent="MainScreen/AspectRatioContainer/Delivery/Panel/VBoxContainer"]
  121. layout_mode = 2
  122. bbcode_enabled = true
  123. text = " [color=#f9ddabff]Delivery address[/color]"
  124. fit_content = true
  125. autowrap_mode = 0
  126. [node name="HBoxContainer2" type="HBoxContainer" parent="MainScreen/AspectRatioContainer/Delivery/Panel/VBoxContainer"]
  127. layout_mode = 2
  128. [node name="LineEditS" type="LineEdit" parent="MainScreen/AspectRatioContainer/Delivery/Panel/VBoxContainer/HBoxContainer2"]
  129. layout_mode = 2
  130. size_flags_horizontal = 3
  131. virtual_keyboard_type = 2
  132. [node name="Label" type="Label" parent="MainScreen/AspectRatioContainer/Delivery/Panel/VBoxContainer/HBoxContainer2"]
  133. layout_mode = 2
  134. theme_override_colors/font_color = Color(0.976471, 0.866667, 0.670588, 1)
  135. text = "°S"
  136. [node name="HBoxContainer" type="HBoxContainer" parent="MainScreen/AspectRatioContainer/Delivery/Panel/VBoxContainer"]
  137. layout_mode = 2
  138. [node name="LineEditE" type="LineEdit" parent="MainScreen/AspectRatioContainer/Delivery/Panel/VBoxContainer/HBoxContainer"]
  139. layout_mode = 2
  140. size_flags_horizontal = 3
  141. virtual_keyboard_type = 2
  142. [node name="Label" type="Label" parent="MainScreen/AspectRatioContainer/Delivery/Panel/VBoxContainer/HBoxContainer"]
  143. layout_mode = 2
  144. theme_override_colors/font_color = Color(0.976471, 0.866667, 0.670588, 1)
  145. text = "°E"
  146. [node name="SendBB" type="Button" parent="MainScreen/AspectRatioContainer/Delivery/Panel/VBoxContainer"]
  147. layout_mode = 2
  148. theme_override_colors/font_color = Color(0.976471, 0.866667, 0.670588, 1)
  149. text = " Send "
  150. flat = true
  151. [node name="OtherScreen" type="AspectRatioContainer" parent="."]
  152. layout_mode = 1
  153. anchors_preset = -1
  154. anchor_top = 0.1
  155. anchor_right = 1.0
  156. anchor_bottom = 0.9
  157. grow_horizontal = 2
  158. grow_vertical = 2
  159. ratio = 0.6
  160. stretch_mode = 1
  161. [node name="LoginScreen" type="VBoxContainer" parent="OtherScreen"]
  162. layout_mode = 2
  163. size_flags_vertical = 4
  164. [node name="MarginContainer" type="MarginContainer" parent="OtherScreen/LoginScreen"]
  165. layout_mode = 2
  166. theme_override_constants/margin_left = 30
  167. theme_override_constants/margin_top = 30
  168. theme_override_constants/margin_right = 30
  169. theme_override_constants/margin_bottom = 5
  170. [node name="TextureRect" type="TextureRect" parent="OtherScreen/LoginScreen/MarginContainer"]
  171. layout_mode = 2
  172. texture = ExtResource("1_f3t2f")
  173. expand_mode = 4
  174. [node name="Label" type="RichTextLabel" parent="OtherScreen/LoginScreen"]
  175. layout_mode = 2
  176. bbcode_enabled = true
  177. text = "[center][b]Bagelicious[/b].me[/center]"
  178. fit_content = true
  179. [node name="MarginContainer2" type="MarginContainer" parent="OtherScreen/LoginScreen"]
  180. layout_mode = 2
  181. theme_override_constants/margin_top = 30
  182. [node name="EnterCode" type="LineEdit" parent="OtherScreen/LoginScreen/MarginContainer2"]
  183. custom_minimum_size = Vector2(0, 30)
  184. layout_mode = 2
  185. placeholder_text = "Enter code"
  186. alignment = 1
  187. max_length = 4
  188. [node name="PosSpy" type="PanelContainer" parent="."]
  189. visible = false
  190. layout_mode = 1
  191. anchors_preset = -1
  192. anchor_top = 1.0
  193. anchor_right = 1.0
  194. anchor_bottom = 1.0
  195. grow_horizontal = 2
  196. grow_vertical = 0
  197. [node name="RichTextLabel" type="RichTextLabel" parent="PosSpy"]
  198. layout_mode = 2
  199. bbcode_enabled = true
  200. text = "[center][color=#f9ddabff]Your location: unreachable[/color][/center]"
  201. fit_content = true
  202. [node name="PosSpyTimer" type="Timer" parent="."]
  203. wait_time = 0.5
  204. autostart = true
  205. [node name="Delivering" type="ColorRect" parent="."]
  206. visible = false
  207. layout_mode = 1
  208. anchors_preset = 15
  209. anchor_right = 1.0
  210. anchor_bottom = 1.0
  211. grow_horizontal = 2
  212. grow_vertical = 2
  213. color = Color(0.286275, 0.12549, 0.270588, 1)
  214. [node name="RichTextLabel" type="RichTextLabel" parent="Delivering"]
  215. layout_mode = 1
  216. anchors_preset = 8
  217. anchor_left = 0.5
  218. anchor_top = 0.5
  219. anchor_right = 0.5
  220. anchor_bottom = 0.5
  221. offset_left = -20.0
  222. offset_top = -20.0
  223. offset_right = 20.0
  224. offset_bottom = 20.0
  225. grow_horizontal = 2
  226. grow_vertical = 2
  227. bbcode_enabled = true
  228. text = "[font_size=32][color=#f9ddab]Delivering...[/color][/font_size]"
  229. fit_content = true
  230. autowrap_mode = 0