23 lines
849 B
Plaintext
23 lines
849 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://cy02yf4v8q5v6"]
|
|
|
|
[ext_resource type="Script" uid="uid://wmy17yj81te8" path="res://bullet.gd" id="1_mkf8s"]
|
|
[ext_resource type="Texture2D" uid="uid://dwn36dqvridjp" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_y25gk"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y25gk"]
|
|
size = Vector2(34, 8)
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource("1_mkf8s")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_y25gk")
|
|
debug_color = Color(0.931576, 2.76271e-05, 0.652218, 0.42)
|
|
|
|
[node name="BulletImage" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(-8, 5)
|
|
scale = Vector2(-0.25, 0.225)
|
|
texture = ExtResource("2_y25gk")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|