Mostly health
This commit is contained in:
27
scenes/bullet.tscn
Normal file
27
scenes/bullet.tscn
Normal file
@ -0,0 +1,27 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://4uk2iyn5fef2"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_5kpin"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds114lnkh1ydj" path="res://sprites/objects/projectile.png" id="2_ugbet"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_m137n"]
|
||||
radius = 5.09902
|
||||
|
||||
[node name="bullet" type="Area2D"]
|
||||
top_level = true
|
||||
rotation = 0.815342
|
||||
collision_mask = 3
|
||||
script = ExtResource("1_5kpin")
|
||||
|
||||
[node name="Projectile" type="Sprite2D" parent="."]
|
||||
position = Vector2(-4.28308, -1.28656)
|
||||
rotation = 0.00146517
|
||||
scale = Vector2(0.296997, 0.352615)
|
||||
texture = ExtResource("2_ugbet")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-2.18388, -2.05686)
|
||||
rotation = -2.34336
|
||||
scale = Vector2(1, 1)
|
||||
shape = SubResource("CircleShape2D_m137n")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
Reference in New Issue
Block a user