Done refactoring

This commit is contained in:
2ndbeam 2023-11-05 21:51:47 +03:00
commit 2176e9d798
88 changed files with 821 additions and 880 deletions

View file

@ -1,15 +1,14 @@
[gd_scene load_steps=4 format=3 uid="uid://dse2xxx501xuj"]
[ext_resource type="Script" path="res://modules/weapon.gd" id="1_6r7e6"]
[ext_resource type="Script" path="res://scripts/objects/weapon.gd" id="1_6r7e6"]
[ext_resource type="PackedScene" uid="uid://djmoij5kuou3j" path="res://scenes/projectiles/Laser.tscn" id="2_8akh2"]
[ext_resource type="Texture2D" uid="uid://c3gei46k8muk3" path="res://sprites/laserbox.png" id="3_ncnas"]
[node name="SingleLaser" type="Node2D" node_paths=PackedStringArray("ShootingTimer", "SpawnerPoints")]
[node name="SingleLaser" type="Node2D" node_paths=PackedStringArray("shoot_timer", "spawner_points")]
script = ExtResource("1_6r7e6")
ShootingProjectile = ExtResource("2_8akh2")
Spread = 3.0
ShootingTimer = NodePath("ShootingTimer")
SpawnerPoints = [NodePath("Spawner")]
projectile = ExtResource("2_8akh2")
shoot_timer = NodePath("ShootingTimer")
spawner_points = [NodePath("Spawner")]
[node name="ShootingTimer" type="Timer" parent="."]
wait_time = 0.25