|
@@ -1,4 +1,4 @@
|
|
|
-[gd_scene load_steps=7 format=3 uid="uid://drh3sqivyydkj"]
|
|
|
+[gd_scene load_steps=8 format=3 uid="uid://drh3sqivyydkj"]
|
|
|
|
|
|
[ext_resource type="Script" path="res://projector/slide/Slide.gd" id="1_pgpic"]
|
|
|
[ext_resource type="PackedScene" uid="uid://dogtm6fdbp3wl" path="res://common/components/gdedit/GdScriptEdit.tscn" id="3_3pelu"]
|
|
@@ -7,6 +7,32 @@
|
|
|
[ext_resource type="Texture2D" uid="uid://cs0ev7fsrh2wd" path="res://slides/283/Signal.svg" id="5_15k1w"]
|
|
|
[ext_resource type="PackedScene" uid="uid://b811jddpttnt4" path="res://common/components/subtitle/subtitle.tscn" id="6_t25x4"]
|
|
|
|
|
|
+[sub_resource type="CodeHighlighter" id="CodeHighlighter_2654d"]
|
|
|
+number_color = Color(0.803922, 0, 0.803922, 1)
|
|
|
+symbol_color = Color(0, 0, 1, 1)
|
|
|
+function_color = Color(0, 0.615686, 0, 1)
|
|
|
+member_variable_color = Color(0.8, 0.5, 0, 1)
|
|
|
+keyword_colors = {
|
|
|
+"InputEvent": Color(0, 0.4, 0, 1),
|
|
|
+"RigidBody2D": Color(0, 0.4, 0, 1),
|
|
|
+"String": Color(0, 0.4, 0, 1),
|
|
|
+"Vector2": Color(0, 0.4, 0, 1),
|
|
|
+"and": Color(1, 0, 0, 1),
|
|
|
+"bool": Color(1, 0, 0, 1),
|
|
|
+"class": Color(1, 0, 0, 1),
|
|
|
+"class_name": Color(1, 0, 0, 1),
|
|
|
+"extends": Color(1, 0, 0, 1),
|
|
|
+"float": Color(1, 0, 0, 1),
|
|
|
+"for": Color(1, 0, 0, 1),
|
|
|
+"func": Color(1, 0, 0, 1),
|
|
|
+"if": Color(1, 0, 0, 1),
|
|
|
+"in": Color(1, 0, 0, 1),
|
|
|
+"int": Color(1, 0, 0, 1),
|
|
|
+"return": Color(1, 0, 0, 1),
|
|
|
+"signal": Color(1, 0, 0, 1),
|
|
|
+"var": Color(1, 0, 0, 1)
|
|
|
+}
|
|
|
+
|
|
|
[node name="ParaSignal" type="Node2D"]
|
|
|
script = ExtResource("1_pgpic")
|
|
|
|
|
@@ -17,11 +43,14 @@ offset_right = 1852.0
|
|
|
offset_bottom = 186.0
|
|
|
text = "Reliez vos nœuds"
|
|
|
|
|
|
-[node name="GdScriptSignalEmit" parent="." instance=ExtResource("3_3pelu")]
|
|
|
+[node name="GdScriptSignalEmit" type="CodeEdit" parent="."]
|
|
|
offset_left = 31.0
|
|
|
offset_top = 21.0
|
|
|
offset_right = 771.0
|
|
|
offset_bottom = 626.0
|
|
|
+theme_override_colors/background_color = Color(1, 1, 1, 1)
|
|
|
+theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
|
+theme_override_font_sizes/font_size = 46
|
|
|
text = "class_name Penguin
|
|
|
|
|
|
signal took_off
|
|
@@ -29,6 +58,11 @@ signal took_off
|
|
|
func _process():
|
|
|
if linear_velocity.x > 42:
|
|
|
took_off.emit()"
|
|
|
+deselect_on_focus_loss_enabled = false
|
|
|
+virtual_keyboard_enabled = false
|
|
|
+syntax_highlighter = SubResource("CodeHighlighter_2654d")
|
|
|
+gutters_draw_line_numbers = true
|
|
|
+indent_use_spaces = true
|
|
|
|
|
|
[node name="SignalSend" type="Sprite2D" parent="."]
|
|
|
modulate = Color(0, 1, 0, 1)
|