JulyGameTTL/Scenes/bullet.tscn

25 lines
914 B
Plaintext
Raw Normal View History

2025-08-26 01:11:19 +00:00
[gd_scene load_steps=4 format=3 uid="uid://clevnux6u2ybx"]
2025-08-12 01:08:52 +00:00
[ext_resource type="Script" uid="uid://bsrl75gqbvfkf" path="res://Scripts/bullet.gd" id="1_xjght"]
2025-08-26 01:11:19 +00:00
[ext_resource type="Texture2D" uid="uid://dynmuqsc4iqxu" path="res://Assets/Graphics/objects/pixel_bullet.png" id="2_oduel"]
2025-08-12 01:08:52 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_oduel"]
size = Vector2(6, 4)
[node name="Bullet" type="Area2D"]
script = ExtResource("1_xjght")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_oduel")
debug_color = Color(0.997962, 0, 0.153889, 0.42)
2025-08-26 01:11:19 +00:00
[node name="bulletgraphic" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(-1.74828, -1.49657)
rotation = 3.14159
scale = Vector2(0.0586825, 0.0639693)
texture = ExtResource("2_oduel")
2025-08-12 01:08:52 +00:00
[connection signal="body_entered" from="." to="." method="_on_body_entered"]