Преглед на файлове

Ajoute le code cassé :-(

DricomDragon преди 2 дни
родител
ревизия
da0553b203
променени са 1 файла, в които са добавени 58 реда и са изтрити 9 реда
  1. 58 9
      godot/slides/11/Deprecation.tscn

+ 58 - 9
godot/slides/11/Deprecation.tscn

@@ -1,19 +1,68 @@
-[gd_scene load_steps=4 format=3 uid="uid://cc1o82x2ifg1w"]
+[gd_scene load_steps=5 format=3 uid="uid://cc1o82x2ifg1w"]
 
 [ext_resource type="Script" uid="uid://dujtdgtfgki4c" path="res://addons/slide_show/projector/slide/Slide.gd" id="1_xftop"]
 [ext_resource type="Texture2D" uid="uid://bwsu70io6ov03" path="res://slides/11/old_opengl3_arena_screenshot.png" id="2_1qyle"]
 [ext_resource type="PackedScene" uid="uid://bvrtmyq4g1qes" path="res://common/components/title/title.tscn" id="3_eapft"]
 
+[sub_resource type="CodeHighlighter" id="CodeHighlighter_gbbfm"]
+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="Deprecation" type="Node2D"]
 script = ExtResource("1_xftop")
 
-[node name="Sprite2D" type="Sprite2D" parent="."]
-position = Vector2(969, 635)
-texture = ExtResource("2_1qyle")
-
 [node name="Title" parent="." instance=ExtResource("3_eapft")]
-offset_left = 85.0
-offset_top = 26.0
-offset_right = 1847.0
-offset_bottom = 194.0
+offset_left = 484.0
+offset_top = -18.0
+offset_right = 1434.0
+offset_bottom = 150.0
 text = "Marche plus :-("
+
+[node name="GdScriptEdit" type="CodeEdit" parent="."]
+offset_left = 10.0
+offset_top = 146.0
+offset_right = 1387.0
+offset_bottom = 775.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 = "make exec
+g++ -o Texture.o -c Texture.cpp
+In file included from Texture.cpp:1:
+Texture.h:18:10: fatal error: SDL2/SDL_image.h: No such file or directory
+   18 | #include <SDL2/SDL_image.h>
+        |                   ^~~~~~~~~~~~~~~~~~
+compilation terminated.
+make: *** [makefile:16: Texture.o]
+Error 1
+"
+deselect_on_focus_loss_enabled = false
+virtual_keyboard_enabled = false
+syntax_highlighter = SubResource("CodeHighlighter_gbbfm")
+indent_use_spaces = true
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+position = Vector2(1381, 827)
+texture = ExtResource("2_1qyle")