fix: puts these items back at the origin which is necessary so their positions in the scene can be used

This commit is contained in:
Duncan Brown
2022-08-11 19:31:30 -04:00
parent 5b315bb0ee
commit 689062989b
3 changed files with 11 additions and 6 deletions

View File

@@ -22,9 +22,9 @@ dialog_color = Color( 1, 1, 1, 1 )
animations = null
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 1038.5, 424 )
position = Vector2( 0.249146, -42.8763 )
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 1039, 424 )
position = Vector2( 0.498291, -44.6254 )
shape = SubResource( 4 )

View File

@@ -4,11 +4,11 @@
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=3]
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 34.5, 45 )
extents = Vector2( 34.5, 37.6304 )
[node name="pen" type="Area2D"]
pause_mode = 1
position = Vector2( -103, 0 )
position = Vector2( 0.266479, 2.24493 )
script = ExtResource( 3 )
global_id = "r5_pen"
esc_script = "res://game/items/inventory/pen.esc"
@@ -23,9 +23,9 @@ dialog_color = Color( 1, 1, 1, 1 )
animations = null
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 1038.5, 424 )
position = Vector2( 0.222656, -35.5324 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 1039, 424 )
position = Vector2( -0.0223389, -40.1869 )
shape = SubResource( 4 )