June2026Game/Scenes/bullet.tscn

23 lines
888 B
Plaintext

[gd_scene format=3 uid="uid://dvg70drsbendq"]
[ext_resource type="Script" uid="uid://u1ubij2eih4r" path="res://Scripts/bullet.gd" id="1_xjght"]
[ext_resource type="Texture2D" uid="uid://c03dorgqsjth6" path="res://Assets/Projectiles/pixel_bullet.png" id="2_oduel"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4mw4s"]
size = Vector2(10, 4)
[node name="Bullet" type="Area2D" unique_id=1549351635]
script = ExtResource("1_xjght")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=687436499]
shape = SubResource("RectangleShape2D_4mw4s")
debug_color = Color(0.9064841, 0.22817236, 0.5106338, 0.41960785)
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1106935654]
texture_filter = 1
position = Vector2(-2.9999998, -1.9999999)
rotation = 3.1415927
scale = Vector2(0.08, 0.08)
texture = ExtResource("2_oduel")