mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2025-10-21 19:30:35 +00:00
23 lines
658 B
Plaintext
23 lines
658 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]
|
|
|
|
[node name="player_bullet" type="Sprite" groups=[
|
|
"Net",
|
|
]]
|
|
texture = ExtResource( 1 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="hitbox" type="Area2D" parent="." groups=[
|
|
"Player_damager",
|
|
]]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="hitbox"]
|
|
rotation = 1.5708
|
|
shape = SubResource( 1 )
|
|
|
|
[connection signal="body_entered" from="hitbox" to="." method="_on_hitbox_body_entered"]
|