22 lines
1 KiB
Text
22 lines
1 KiB
Text
[gd_scene format=3 uid="uid://b2ltmeb14nc17"]
|
|
|
|
[ext_resource type="Script" uid="uid://d1rwqotmrag1r" path="res://scripts/stock_weapon.gd" id="1_kx6bj"]
|
|
[ext_resource type="Resource" uid="uid://cels8t3hqjtsu" path="res://resources/player_weapons/shot_stock.tres" id="2_hefae"]
|
|
[ext_resource type="Texture2D" uid="uid://ti1uy42vnnhw" path="res://graphics/shot.png" id="3_58qml"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mvdrj"]
|
|
size = Vector2(12, 8)
|
|
|
|
[node name="StockWeapon" type="Area2D" unique_id=1832200900]
|
|
script = ExtResource("1_kx6bj")
|
|
shot_data = ExtResource("2_hefae")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=2134507225]
|
|
texture = ExtResource("3_58qml")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1890946059]
|
|
shape = SubResource("RectangleShape2D_mvdrj")
|
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="." unique_id=985862716]
|
|
|
|
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|