Fixed weapons scenes inheritance

This commit is contained in:
2025-11-08 02:23:42 +03:00
parent 32fa3dca57
commit 8f7e7aa78f
40 changed files with 277 additions and 412 deletions
@@ -1,24 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://du60nb1ni0bco"]
[gd_scene load_steps=5 format=3 uid="uid://dukgbg13ujkv2"]
[ext_resource type="Script" uid="uid://dkvur5bdwg3sr" path="res://game/entities/weapons/launcher/launcher_projectile.gd" id="1_0mcat"]
[ext_resource type="PackedScene" uid="uid://ybkqaynvpcjm" path="res://game/entities/weapons/abstract_projectile.tscn" id="1_0mcat"]
[ext_resource type="Script" uid="uid://dkvur5bdwg3sr" path="res://game/entities/weapons/launcher/launcher_projectile.gd" id="2_6hdsf"]
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_0mcat"]
size = Vector2(8, 4)
size = Vector2(4, 8)
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_0mcat"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6hdsf"]
radius = 1.0
height = 6.0
[node name="LauncherProjectile" type="CharacterBody2D"]
motion_mode = 1
script = ExtResource("1_0mcat")
[node name="LauncherProjectile" instance=ExtResource("1_0mcat")]
script = ExtResource("2_6hdsf")
damage = 24
speed = 300
metadata/_custom_type_script = "uid://ctmjb3nkxrepu"
[node name="Sprite2D" type="Sprite2D" parent="."]
[node name="Sprite2D" parent="." index="0"]
texture = SubResource("PlaceholderTexture2D_0mcat")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5707964
shape = SubResource("CapsuleShape2D_0mcat")
[node name="CollisionShape2D" parent="." index="1"]
shape = SubResource("CapsuleShape2D_6hdsf")