Files

24 lines
967 B
Plaintext
Raw Permalink Normal View History

[gd_scene format=3 uid="uid://qrewcx81o1xi"]
[ext_resource type="Script" uid="uid://ryrc3a88d0nh" path="res://scripts/bullet.gd" id="1_mkf8s"]
[ext_resource type="Texture2D" uid="uid://cjjer1w77c3g3" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_y25gk"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mvphy"]
size = Vector2(12, 6)
[node name="Bullet" type="Area2D" unique_id=1877237172]
script = ExtResource("1_mkf8s")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=117632852]
shape = SubResource("RectangleShape2D_mvphy")
debug_color = Color(0.9521257, 0.20191753, 0.23529023, 0.41960785)
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1732561171]
texture_filter = 1
position = Vector2(-3.9999998, -3)
rotation = 3.1415927
scale = Vector2(0.11, 0.11)
texture = ExtResource("2_y25gk")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]