-
Notifications
You must be signed in to change notification settings - Fork 0
/
rock.tscn
33 lines (25 loc) · 1.23 KB
/
rock.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
29
30
31
32
33
[gd_scene load_steps=6 format=3 uid="uid://dtttkaaqjsnpd"]
[ext_resource type="Script" path="res://rock.gd" id="1_e32re"]
[ext_resource type="Texture2D" uid="uid://du6fsayqvbl53" path="res://ROCK.png" id="1_mqjen"]
[ext_resource type="PackedScene" uid="uid://bbvhhiyr4crmu" path="res://Snippets/deal_damage.tscn" id="2_ur7pu"]
[ext_resource type="Script" path="res://Penetration.gd" id="4_704m2"]
[sub_resource type="CircleShape2D" id="CircleShape2D_crygl"]
radius = 9.0
[node name="Bullet" type="Node2D" node_paths=PackedStringArray("BulletSprite")]
script = ExtResource("1_e32re")
BulletSprite = NodePath("BulletSprite")
[node name="DealDamage" parent="." node_paths=PackedStringArray("HitBox") instance=ExtResource("2_ur7pu")]
HitBox = NodePath("../Area2D")
CanHit = "Both"
Damage = 25.0
[node name="BulletSprite" type="Sprite2D" parent="."]
texture = ExtResource("1_mqjen")
offset = Vector2(0, -2)
[node name="Area2D" type="Area2D" parent="."]
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_crygl")
[node name="Penetration" type="Node2D" parent="." node_paths=PackedStringArray("HitBox")]
script = ExtResource("4_704m2")
HitBox = NodePath("../Area2D")
PenCount = 0