title.tscn 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [gd_scene format=3]
  2. [ext_resource type="Script" path="res://scripts/title.gd" id="1_title"]
  3. [ext_resource type="Script" path="res://scripts/walls.gd" id="2_walls"]
  4. [ext_resource type="Script" path="res://scripts/core.gd" id="3_core"]
  5. [node name="Title" type="Node2D"]
  6. script = ExtResource("1_title")
  7. [node name="Walls" type="StaticBody2D" parent="."]
  8. script = ExtResource("2_walls")
  9. [node name="Core" type="StaticBody2D" parent="."]
  10. script = ExtResource("3_core")
  11. radius = 200.0
  12. metadata/bounce = 0.9
  13. [node name="Balls" type="Node2D" parent="."]
  14. [node name="UI" type="CanvasLayer" parent="."]
  15. [node name="Title" type="Label" parent="UI"]
  16. anchor_top = 0.25
  17. anchor_right = 1.0
  18. anchor_bottom = 0.25
  19. offset_top = -70.0
  20. offset_bottom = 70.0
  21. grow_horizontal = 2
  22. grow_vertical = 2
  23. theme_override_font_sizes/font_size = 100
  24. text = "RedCore"
  25. horizontal_alignment = 1
  26. vertical_alignment = 1
  27. [node name="Start" type="Button" parent="UI"]
  28. anchor_left = 0.5
  29. anchor_top = 0.75
  30. anchor_right = 0.5
  31. anchor_bottom = 0.75
  32. offset_left = -100.0
  33. offset_top = -30.0
  34. offset_right = 100.0
  35. offset_bottom = 30.0
  36. grow_horizontal = 2
  37. grow_vertical = 2
  38. theme_override_font_sizes/font_size = 40
  39. text = "Start"
  40. flat = true
  41. [node name="LevelInfo" type="Label" parent="UI"]
  42. anchor_top = 0.75
  43. anchor_right = 1.0
  44. anchor_bottom = 0.75
  45. offset_left = 16.0
  46. offset_top = 40.0
  47. offset_right = -16.0
  48. offset_bottom = 100.0
  49. grow_horizontal = 2
  50. theme_override_font_sizes/font_size = 20
  51. horizontal_alignment = 1
  52. autowrap_mode = 3