From c45c9120c8c8c4b6047e5a9c7039ab0d9efa7051 Mon Sep 17 00:00:00 2001 From: pennyrigate Date: Tue, 21 Nov 2023 18:12:15 -0500 Subject: [PATCH] fixed speccy being misaligned --- objects/lore/hills/speccy.tscn | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/objects/lore/hills/speccy.tscn b/objects/lore/hills/speccy.tscn index 8f45da8..6b05e81 100644 --- a/objects/lore/hills/speccy.tscn +++ b/objects/lore/hills/speccy.tscn @@ -1,12 +1,17 @@ -[gd_scene load_steps=3 format=2] +[gd_scene load_steps=4 format=2] [ext_resource path="res://objects/lore/lore.tscn" type="PackedScene" id=1] [ext_resource path="res://graphics/npc/speccy.png" type="Texture" id=2] +[sub_resource type="AtlasTexture" id=1] +atlas = ExtResource( 2 ) +region = Rect2( 3, 0, 20, 24 ) +margin = Rect2( 0, -2, 0, 0 ) + [node name="Lore" instance=ExtResource( 1 )] [node name="TextureRect" parent="Panel" index="0"] -texture = ExtResource( 2 ) +texture = SubResource( 1 ) [node name="Control" parent="." index="1"] margin_top = 55.0