summaryrefslogtreecommitdiff
path: root/Objects/potion.tscn
blob: 7a5302554969f6580ac571fbf1a8ff4c152d5337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[gd_scene load_steps=4 format=3 uid="uid://cqii1000vi1y3"]

[ext_resource type="Texture2D" uid="uid://c85chn8gpwbi4" path="res://Objects/potion.png" id="1_ru42e"]
[ext_resource type="Script" path="res://Objects/potion.gd" id="1_x6nne"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_7il5r"]
size = Vector2(2, 10)

[node name="Potion" type="Area2D" groups=["object_heal"]]
collision_layer = 4
script = ExtResource("1_x6nne")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(0, -6)
texture = ExtResource("1_ru42e")
centered = false

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(3, 1)
shape = SubResource("RectangleShape2D_7il5r")