-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBarrell.tscn
28 lines (20 loc) · 840 Bytes
/
Barrell.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Barrell.gd" type="Script" id=1]
[ext_resource path="res://Interactable.tscn" type="PackedScene" id=2]
[ext_resource path="res://RPGpack_sheet_32x32.png" type="Texture" id=3]
[sub_resource type="CircleShape2D" id=2]
radius = 8.0
[sub_resource type="CircleShape2D" id=1]
radius = 7.77199
[node name="Barrell" type="StaticBody2D"]
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )
[node name="Interactable" parent="." instance=ExtResource( 2 )]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Interactable"]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 3 )
offset = Vector2( 0, -10 )
region_enabled = true
region_rect = Rect2( 256, 320, 32, 32 )