car_select.tscn 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://car_select.gd" type="Script" id=1]
  3. [ext_resource path="res://Images/choose_van.png" type="Texture" id=2]
  4. [ext_resource path="res://Images/choose_trailer.png" type="Texture" id=3]
  5. [ext_resource path="res://Images/choose_tow.png" type="Texture" id=4]
  6. [node name="base" type="Control" index="0"]
  7. anchor_left = 0.0
  8. anchor_top = 0.0
  9. anchor_right = 1.0
  10. anchor_bottom = 1.0
  11. rect_pivot_offset = Vector2( 0, 0 )
  12. mouse_filter = 0
  13. mouse_default_cursor_shape = 0
  14. size_flags_horizontal = 2
  15. size_flags_vertical = 2
  16. script = ExtResource( 1 )
  17. __meta__ = {
  18. "__editor_plugin_screen__": "2D"
  19. }
  20. [node name="van 1" type="Button" parent="." index="0"]
  21. anchor_left = 0.0
  22. anchor_top = 0.0
  23. anchor_right = 0.0
  24. anchor_bottom = 0.0
  25. margin_left = 4.0
  26. margin_top = 160.0
  27. margin_right = 340.0
  28. margin_bottom = 400.0
  29. rect_pivot_offset = Vector2( 0, 0 )
  30. focus_mode = 2
  31. mouse_filter = 0
  32. mouse_default_cursor_shape = 0
  33. size_flags_horizontal = 2
  34. size_flags_vertical = 2
  35. toggle_mode = false
  36. enabled_focus_mode = 2
  37. shortcut = null
  38. group = null
  39. icon = ExtResource( 2 )
  40. flat = false
  41. align = 1
  42. _sections_unfolded = [ "Anchor", "Margin" ]
  43. [node name="van 2" type="Button" parent="." index="1"]
  44. anchor_left = 0.0
  45. anchor_top = 0.0
  46. anchor_right = 0.0
  47. anchor_bottom = 0.0
  48. margin_left = 344.0
  49. margin_top = 160.0
  50. margin_right = 680.0
  51. margin_bottom = 401.0
  52. rect_pivot_offset = Vector2( 0, 0 )
  53. focus_mode = 2
  54. mouse_filter = 0
  55. mouse_default_cursor_shape = 0
  56. size_flags_horizontal = 2
  57. size_flags_vertical = 2
  58. toggle_mode = false
  59. enabled_focus_mode = 2
  60. shortcut = null
  61. group = null
  62. icon = ExtResource( 3 )
  63. flat = false
  64. align = 1
  65. _sections_unfolded = [ "Margin" ]
  66. [node name="van 3" type="Button" parent="." index="2"]
  67. anchor_left = 0.0
  68. anchor_top = 0.0
  69. anchor_right = 0.0
  70. anchor_bottom = 0.0
  71. margin_left = 684.0
  72. margin_top = 160.0
  73. margin_right = 1020.0
  74. margin_bottom = 400.0
  75. rect_pivot_offset = Vector2( 0, 0 )
  76. focus_mode = 2
  77. mouse_filter = 0
  78. mouse_default_cursor_shape = 0
  79. size_flags_horizontal = 2
  80. size_flags_vertical = 2
  81. toggle_mode = false
  82. enabled_focus_mode = 2
  83. shortcut = null
  84. group = null
  85. icon = ExtResource( 4 )
  86. flat = false
  87. align = 1
  88. _sections_unfolded = [ "Margin" ]
  89. [connection signal="pressed" from="van 1" to="." method="_on_van_1_pressed"]
  90. [connection signal="pressed" from="van 2" to="." method="_on_van_2_pressed"]
  91. [connection signal="pressed" from="van 3" to="." method="_on_van_3_pressed"]