From 2f3abbb6f1141f15ef77ac27e431bc66bb0c7899 Mon Sep 17 00:00:00 2001 From: Sophia Pearson Date: Sun, 4 Sep 2022 15:43:12 +0200 Subject: game: adapt scripts to new design --- Scenes/Game/OutputBlock.tscn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Scenes/Game/OutputBlock.tscn') diff --git a/Scenes/Game/OutputBlock.tscn b/Scenes/Game/OutputBlock.tscn index e6f0dfd..aa1d60f 100644 --- a/Scenes/Game/OutputBlock.tscn +++ b/Scenes/Game/OutputBlock.tscn @@ -1,9 +1,14 @@ -[gd_scene format=2] +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Scripts/Game/OutputBlock.cs" type="Script" id=1] [node name="OutputBlock" type="MarginContainer"] anchor_right = 1.0 +script = ExtResource( 1 ) +Content = "This is where the output goes." [node name="ContentLabel" type="RichTextLabel" parent="."] +unique_name_in_owner = true margin_right = 640.0 margin_bottom = 54.0 text = "This is where the output goes and it should wrap correctly if it goes beyond the screen width." -- cgit v1.2.3