31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://dq1pnq3g34tay"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/bullet.gd" id="1_axiew"]
|
|
[ext_resource type="Texture2D" uid="uid://d07qtvmhqjjts" path="res://Textures/Bullet.png" id="2_c87oi"]
|
|
[ext_resource type="AudioStream" uid="uid://b4r0manp60hb4" path="res://Sound/HitHurt.ogg" id="3_g6cj5"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ad2gx"]
|
|
radius = 14.0
|
|
|
|
[node name="EnemyBullet" type="RigidBody2D" groups=["Bullet"]]
|
|
modulate = Color(1, 0, 0, 1)
|
|
gravity_scale = 0.0
|
|
lock_rotation = true
|
|
contact_monitor = true
|
|
max_contacts_reported = 1
|
|
script = ExtResource("1_axiew")
|
|
EnemyBullet = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_ad2gx")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
position = Vector2(1.42109e-14, 1)
|
|
scale = Vector2(0.034, 0.034)
|
|
texture = ExtResource("2_c87oi")
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("3_g6cj5")
|
|
volume_db = -5.0
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|