SeptemberGameAB/scenes/bullet.tscn

23 lines
786 B
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=3 uid="uid://cyy6jr7mxu0jl"]
[ext_resource type="Script" uid="uid://cb874g2gkrukb" path="res://scripts/bullet.gd" id="1_mkf8s"]
2025-11-12 13:28:58 +00:00
[ext_resource type="Texture2D" uid="uid://bwubigf4fgyo8" path="res://assets/graphics/effects/02.png" id="2_y25gk"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h1aey"]
2025-11-12 13:28:58 +00:00
size = Vector2(4, 2)
[node name="Bullet" type="Area2D"]
z_index = 100
2025-10-26 17:42:53 +00:00
collision_layer = 8
collision_mask = 22
script = ExtResource("1_mkf8s")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_h1aey")
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.1, 0.1)
texture = ExtResource("2_y25gk")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]