From 5814c892af05350de44b1763b0a64b6cdb440965 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 28 Apr 2024 17:29:00 +0200 Subject: [PATCH] Reposition `SummoningStone`s to be aligned with the new sprite scale --- entities/summoning_circle.tscn | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/entities/summoning_circle.tscn b/entities/summoning_circle.tscn index abc0b74..df2ecbb 100644 --- a/entities/summoning_circle.tscn +++ b/entities/summoning_circle.tscn @@ -1,39 +1,33 @@ -[gd_scene load_steps=6 format=3 uid="uid://uoopwyh1ea7t"] +[gd_scene load_steps=6 format=3 uid="uid://xj0pa287n1wo"] [ext_resource type="Texture2D" uid="uid://n0wj20mduwy8" path="res://entities/summoning_circle.png" id="1_c6jmb"] [ext_resource type="Script" path="res://entities/summoning_circle.gd" id="1_x3bxd"] [ext_resource type="PackedScene" uid="uid://4d3ksr3171x4" path="res://entities/imp.tscn" id="2_48rxv"] -[ext_resource type="PackedScene" uid="uid://4xivigiybb1d" path="res://entities/sacrifice_stone.tscn" id="2_dwkfn"] +[ext_resource type="PackedScene" uid="uid://ddpo03rb6068c" path="res://entities/sacrifice_stone.tscn" id="2_dwkfn"] [ext_resource type="PackedScene" uid="uid://tx1qi6ahlxjp" path="res://behaviours/spawner.tscn" id="3_p6s0q"] [node name="SummoningCircle" type="Node2D"] script = ExtResource("1_x3bxd") scene_imp = ExtResource("2_48rxv") +[node name="Spawner" parent="." instance=ExtResource("3_p6s0q")] + [node name="Demoncircle" type="Sprite2D" parent="."] position = Vector2(2, 4) scale = Vector2(2, 2) texture = ExtResource("1_c6jmb") -[node name="Spawner" parent="." instance=ExtResource("3_p6s0q")] - [node name="S1" parent="." instance=ExtResource("2_dwkfn")] -position = Vector2(-79, -45) +position = Vector2(-92, -64) [node name="S2" parent="." instance=ExtResource("2_dwkfn")] -position = Vector2(0, -85) +position = Vector2(0, -108) [node name="S3" parent="." instance=ExtResource("2_dwkfn")] -position = Vector2(-77, 44) +position = Vector2(92, -64) [node name="S4" parent="." instance=ExtResource("2_dwkfn")] -position = Vector2(80, 44) +position = Vector2(75, 30) [node name="S5" parent="." instance=ExtResource("2_dwkfn")] -position = Vector2(77, -45) - -[connection signal="sacrifice_changed" from="S1" to="." method="_on_sacrifice_changed"] -[connection signal="sacrifice_changed" from="S2" to="." method="_on_sacrifice_changed"] -[connection signal="sacrifice_changed" from="S3" to="." method="_on_sacrifice_changed"] -[connection signal="sacrifice_changed" from="S4" to="." method="_on_sacrifice_changed"] -[connection signal="sacrifice_changed" from="S5" to="." method="_on_sacrifice_changed"] +position = Vector2(-75, 30)