25 lines
980 B
Plaintext
25 lines
980 B
Plaintext
[gd_scene format=3 uid="uid://bdd87ih2rf4yk"]
|
|
|
|
[ext_resource type="Script" uid="uid://ryrc3a88d0nh" path="res://scripts/bullet.gd" id="1_v7oki"]
|
|
[ext_resource type="Texture2D" uid="uid://cjjer1w77c3g3" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_y25gk"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rk402"]
|
|
size = Vector2(48, 6)
|
|
|
|
[node name="Bullet" type="Area2D" unique_id=1365507081]
|
|
scale = Vector2(1, 0.88)
|
|
script = ExtResource("1_v7oki")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=789397651]
|
|
shape = SubResource("RectangleShape2D_rk402")
|
|
debug_color = Color(0.8214046, 0, 0.03968804, 0.41960785)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=2036585762]
|
|
texture_filter = 1
|
|
position = Vector2(15.000001, 3.4090908)
|
|
scale = Vector2(0.3763514, 0.15654685)
|
|
texture = ExtResource("2_y25gk")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|