24 lines
953 B
Plaintext
24 lines
953 B
Plaintext
[gd_scene format=3 uid="uid://bp51pocvj7p3x"]
|
|
|
|
[ext_resource type="Script" uid="uid://bvy43aky6y3er" path="res://scripts/bullet.gd" id="1_mkf8s"]
|
|
[ext_resource type="Texture2D" uid="uid://cl142hwp38td6" path="res://assets/projectiles/pixel_bullet.png" id="2_y25gk"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y25gk"]
|
|
size = Vector2(10, 4)
|
|
|
|
[node name="Bullet" type="Area2D" unique_id=397024757]
|
|
script = ExtResource("1_mkf8s")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1862785605]
|
|
shape = SubResource("RectangleShape2D_y25gk")
|
|
debug_color = Color(0.92602646, 0.20405883, 0.46076977, 0.41960785)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1465228846]
|
|
texture_filter = 1
|
|
position = Vector2(-2.9999998, -1.9999998)
|
|
rotation = -3.1367095
|
|
scale = Vector2(0.07999989, 0.08039169)
|
|
texture = ExtResource("2_y25gk")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|