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/Output.tscn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Scenes/Game/Output.tscn') diff --git a/Scenes/Game/Output.tscn b/Scenes/Game/Output.tscn index 5a2cd3f..68f36f4 100644 --- a/Scenes/Game/Output.tscn +++ b/Scenes/Game/Output.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=3 format=2] [ext_resource path="res://Scenes/Game/OutputBlock.tscn" type="PackedScene" id=1] +[ext_resource path="res://Scripts/Game/Output.cs" type="Script" id=2] [node name="Output" type="PanelContainer"] margin_top = 31.0 @@ -8,6 +9,7 @@ margin_right = 640.0 margin_bottom = 451.0 size_flags_horizontal = 3 size_flags_vertical = 3 +script = ExtResource( 2 ) [node name="ScrollContainer" type="ScrollContainer" parent="."] margin_left = 8.0 @@ -25,6 +27,7 @@ margin_right = 624.0 margin_bottom = 54.0 size_flags_horizontal = 3 -[node name="OutputBlock" type="MarginContainer" parent="ScrollContainer/LineContainer" instance=ExtResource( 1 )] +[node name="OutputBlock" parent="ScrollContainer/LineContainer" instance=ExtResource( 1 )] +anchor_right = 0.0 margin_right = 624.0 margin_bottom = 54.0 -- cgit v1.2.3