Fixed weapons scenes inheritance
This commit is contained in:
@@ -1,22 +1,21 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://d31js2vi7dlit"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cmni0xrbbfcy5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bdxq4aflhc8vd" path="res://game/entities/weapons/laser/laser_projectile.gd" id="1_3a8fg"]
|
||||
[ext_resource type="PackedScene" uid="uid://ybkqaynvpcjm" path="res://game/entities/weapons/abstract_projectile.tscn" id="1_3a8fg"]
|
||||
[ext_resource type="Script" uid="uid://bdxq4aflhc8vd" path="res://game/entities/weapons/laser/laser_projectile.gd" id="2_je1a2"]
|
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_3a8fg"]
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_je1a2"]
|
||||
size = Vector2(4, 4)
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_3a8fg"]
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ylokk"]
|
||||
radius = 1.0
|
||||
|
||||
[node name="LaserProjectile" type="CharacterBody2D"]
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_3a8fg")
|
||||
[node name="LaserProjectile" instance=ExtResource("1_3a8fg")]
|
||||
script = ExtResource("2_je1a2")
|
||||
damage = 1
|
||||
speed = 240
|
||||
metadata/_custom_type_script = "uid://ctmjb3nkxrepu"
|
||||
speed = 500
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("PlaceholderTexture2D_3a8fg")
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
texture = SubResource("PlaceholderTexture2D_je1a2")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_3a8fg")
|
||||
[node name="CollisionShape2D" parent="." index="1"]
|
||||
shape = SubResource("CircleShape2D_ylokk")
|
||||
|
||||
Reference in New Issue
Block a user