ScriptVar.tscn 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. [gd_scene load_steps=9 format=3 uid="uid://dir3iaegou7hr"]
  2. [ext_resource type="Script" path="res://addons/slide_show/projector/slide/Slide.gd" id="1_srvlz"]
  3. [ext_resource type="PackedScene" uid="uid://bvrtmyq4g1qes" path="res://common/components/title/title.tscn" id="3_gddvr"]
  4. [ext_resource type="Texture2D" uid="uid://dpbx5ghf6g5hr" path="res://slides/271/int.svg" id="4_i2xvr"]
  5. [ext_resource type="Texture2D" uid="uid://bpjnbtydn70jj" path="res://slides/271/float.svg" id="5_d7ofb"]
  6. [ext_resource type="Texture2D" uid="uid://bevxu72q6gx6o" path="res://slides/271/bool.svg" id="6_srauc"]
  7. [ext_resource type="Texture2D" uid="uid://dwlepb4saped1" path="res://slides/271/String.svg" id="7_6fbij"]
  8. [ext_resource type="Texture2D" uid="uid://by4l3q5rij0pt" path="res://slides/271/PackedStringArray.svg" id="8_ceq0u"]
  9. [sub_resource type="CodeHighlighter" id="CodeHighlighter_2654d"]
  10. number_color = Color(0.803922, 0, 0.803922, 1)
  11. symbol_color = Color(0, 0, 1, 1)
  12. function_color = Color(0, 0.615686, 0, 1)
  13. member_variable_color = Color(0.8, 0.5, 0, 1)
  14. keyword_colors = {
  15. "InputEvent": Color(0, 0.4, 0, 1),
  16. "RigidBody2D": Color(0, 0.4, 0, 1),
  17. "String": Color(0, 0.4, 0, 1),
  18. "Vector2": Color(0, 0.4, 0, 1),
  19. "and": Color(1, 0, 0, 1),
  20. "bool": Color(1, 0, 0, 1),
  21. "class": Color(1, 0, 0, 1),
  22. "class_name": Color(1, 0, 0, 1),
  23. "extends": Color(1, 0, 0, 1),
  24. "float": Color(1, 0, 0, 1),
  25. "for": Color(1, 0, 0, 1),
  26. "func": Color(1, 0, 0, 1),
  27. "if": Color(1, 0, 0, 1),
  28. "in": Color(1, 0, 0, 1),
  29. "int": Color(1, 0, 0, 1),
  30. "return": Color(1, 0, 0, 1),
  31. "signal": Color(1, 0, 0, 1),
  32. "var": Color(1, 0, 0, 1)
  33. }
  34. [node name="ScriptVar" type="Node2D"]
  35. script = ExtResource("1_srvlz")
  36. [node name="Title" parent="." instance=ExtResource("3_gddvr")]
  37. offset_left = 85.0
  38. offset_top = 26.0
  39. offset_right = 1847.0
  40. offset_bottom = 194.0
  41. text = "Les variables"
  42. [node name="GdScriptEdit" type="CodeEdit" parent="."]
  43. offset_left = 49.0
  44. offset_top = 406.0
  45. offset_right = 1837.0
  46. offset_bottom = 1063.0
  47. theme_override_colors/background_color = Color(1, 1, 1, 1)
  48. theme_override_colors/font_color = Color(0, 0, 0, 1)
  49. theme_override_font_sizes/font_size = 46
  50. text = "var penguin_speed: float = 50.0
  51. penguin_speed = penguin_speed + 5"
  52. deselect_on_focus_loss_enabled = false
  53. virtual_keyboard_enabled = false
  54. syntax_highlighter = SubResource("CodeHighlighter_2654d")
  55. gutters_draw_line_numbers = true
  56. indent_use_spaces = true
  57. [node name="Int" type="Sprite2D" parent="."]
  58. position = Vector2(187, 283)
  59. scale = Vector2(2, 2)
  60. texture = ExtResource("4_i2xvr")
  61. [node name="Float" type="Sprite2D" parent="."]
  62. position = Vector2(692, 292)
  63. scale = Vector2(2, 2)
  64. texture = ExtResource("5_d7ofb")
  65. [node name="Bool" type="Sprite2D" parent="."]
  66. position = Vector2(1184, 290)
  67. scale = Vector2(2, 2)
  68. texture = ExtResource("6_srauc")
  69. [node name="String" type="Sprite2D" parent="."]
  70. position = Vector2(1680, 286)
  71. scale = Vector2(2, 2)
  72. texture = ExtResource("7_6fbij")
  73. [node name="StringArray" type="Sprite2D" parent="."]
  74. position = Vector2(1678, 539)
  75. scale = Vector2(2, 2)
  76. texture = ExtResource("8_ceq0u")