NovemberGodotGame/novembergame/scenes/bullet.tscn

25 lines
868 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://02fr3rb7e6s2"]
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_kc7iu"]
[ext_resource type="Texture2D" uid="uid://ye4pj0vptmk5" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_xdfmr"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_m2rb6"]
size = Vector2(11, 5)
[node name="Area2D" type="Area2D"]
script = ExtResource("1_kc7iu")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 0.5)
shape = SubResource("RectangleShape2D_m2rb6")
debug_color = Color(0.366555, 0.610522, 0.244131, 0.42)
[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(-3, -2)
rotation = -3.14159
scale = Vector2(0.1, 0.1)
texture = ExtResource("2_xdfmr")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]