JulyGame/scenes/bullet.tscn
2025-08-25 21:07:20 -04:00

27 lines
928 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bgwa5osciu6kj"]
[ext_resource type="Script" uid="uid://bemhplfq3bapd" path="res://scripts/bullet.gd" id="1_mkf8s"]
[ext_resource type="Texture2D" uid="uid://gptsl2hav386" path="res://assets/graphics/player/pixel_bullet.png" id="2_y25gk"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_h1aey"]
radius = 7.0
height = 32.0
[node name="bullet" type="Area2D"]
z_index = 2
scale = Vector2(0.599998, 0.56)
script = ExtResource("1_mkf8s")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.55509
shape = SubResource("CapsuleShape2D_h1aey")
debug_color = Color(0.849979, 0, 0.312876, 0.42)
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(6.66668, 5.35714)
scale = Vector2(0.199997, 0.199997)
texture = ExtResource("2_y25gk")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]