[gd_scene load_steps=8 format=3 uid="uid://dfvl3luba7j4"] [ext_resource type="Texture2D" uid="uid://5hxbsfm0aa0" path="res://icon.svg" id="1_3phrh"] [ext_resource type="FontFile" uid="uid://b55n3f2bh16v5" path="res://assets/fonts/Linebeam.ttf" id="2_04cpk"] [sub_resource type="GDScript" id="GDScript_axp0a"] resource_name = "Test" script/source = "extends Control var lines: Array[String] = [ \"[code]piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0[/code]\\n\", \"[code]piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection[/code]\\n\", \"[code]i2c i2c-9: Successfully instantiated SPD at 0x50[/code]\\n\", \"[code]i2c i2c-9: Successfully instantiated SPD at 0x51[/code]\\n\", \"[code]i2c i2c-9: Successfully instantiated SPD at 0x52[/code]\\n\", \"[code]cryptd: max_cpu_qlen set to 1000[/code]\\n\", \"[code]i2c i2c-9: Successfully instantiated SPD at 0x53[/code]\\n\", \"[code]piix4_smbus 0000:00:14.0: Auxiliary SMBus Host Controller at 0xb20[/code]\\n\", \"[code]sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver[/code]\\n\", \"[code]sp5100-tco sp5100-tco: Using 0xfeb00000 for watchdog MMIO address[/code]\\n\", \"[code]LOADING DEMO[pulse freq=1.0 color=#ffffff40 ease=-2.0]...[/pulse][/code]\\n\"] func _ready() -> void: $AnimationPlayer.play(\"terminal\"); func next_line() -> void: $Terminal.append_text(lines[0]); lines.remove_at(0); " [sub_resource type="Animation" id="Animation_dirfa"] length = 0.001 [sub_resource type="Animation" id="Animation_t3ulj"] resource_name = "blink" length = 2.0 loop_mode = 1 [sub_resource type="Animation" id="Animation_6cb10"] resource_name = "terminal" length = 5.0 tracks/0/type = "method" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0.533333, 1.16667, 2, 2.06667, 2.1, 2.33333, 2.46667, 2.53333, 2.63333, 2.73333, 5), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), "values": [{ "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }, { "args": [], "method": &"next_line" }] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_jgx00"] _data = { "RESET": SubResource("Animation_dirfa"), "blink": SubResource("Animation_t3ulj"), "terminal": SubResource("Animation_6cb10") } [node name="Test" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = SubResource("GDScript_axp0a") [node name="ColorRect" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 1) [node name="Icon" type="Sprite2D" parent="."] position = Vector2(1762, 150) texture = ExtResource("1_3phrh") [node name="Timer" type="Timer" parent="."] wait_time = 1.5 one_shot = true autostart = true [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_jgx00") } [node name="Terminal" type="RichTextLabel" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 25.0 offset_top = 25.0 offset_right = -28.0 offset_bottom = -20.0 grow_horizontal = 2 grow_vertical = 2 theme_override_fonts/mono_font = ExtResource("2_04cpk") theme_override_font_sizes/mono_font_size = 35 theme_override_font_sizes/normal_font_size = 24 bbcode_enabled = true text = "[code]HELLO[/code] "