Initial commit (1/2)

This commit is contained in:
Алкесей Мирнеков 2023-11-05 16:23:18 +03:00 committed by GitHub
commit 3411c5796d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 2261 additions and 0 deletions

View file

@ -0,0 +1,33 @@
[gd_scene load_steps=4 format=3 uid="uid://b5ejm8antxfsm"]
[ext_resource type="Script" path="res://modules/weapon.gd" id="1_ugbl6"]
[ext_resource type="PackedScene" uid="uid://djmoij5kuou3j" path="res://scenes/projectiles/Laser.tscn" id="2_b52h8"]
[ext_resource type="Texture2D" uid="uid://c3gei46k8muk3" path="res://sprites/laserbox.png" id="3_ahhl5"]
[node name="DoubleLaserMk1" type="Node2D" node_paths=PackedStringArray("ShootingTimer", "SpawnerPoints")]
script = ExtResource("1_ugbl6")
ShootingProjectile = ExtResource("2_b52h8")
AmmoType = "Laser Energy"
AmmoConsumption = 2.0
ShootingTimer = NodePath("ShootingTimer")
SpawnerPoints = [NodePath("SpawnerSprite1/Spawner1"), NodePath("SpawnerSprite2/Spawner2")]
[node name="SpawnerSprite1" type="Sprite2D" parent="."]
position = Vector2(4, -12)
rotation = 0.0174533
texture = ExtResource("3_ahhl5")
[node name="Spawner1" type="Node2D" parent="SpawnerSprite1"]
position = Vector2(4, 0)
[node name="SpawnerSprite2" type="Sprite2D" parent="."]
position = Vector2(4, 12)
rotation = -0.0174533
texture = ExtResource("3_ahhl5")
[node name="Spawner2" type="Node2D" parent="SpawnerSprite2"]
position = Vector2(4, 0)
[node name="ShootingTimer" type="Timer" parent="."]
wait_time = 0.15
one_shot = true