FuncIt/source/entities/shooting/Line_Trajectory/Line_Bullet.tscn
2021-11-09 10:13:47 +02:00

22 lines
655 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://source/assets/sprites/bullet/bullet.png" type="Texture" id=1]
[ext_resource path="res://source/assets/scripts/shooting/Line/Line_Bullet.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 5.4212
height = 7.62897
[node name="Bullet" type="Area2D"]
script = ExtResource( 2 )
[node name="bullet" type="Sprite" parent="."]
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource( 1 )
[connection signal="body_entered" from="." to="." method="_on_Bullet_body_entered"]