Initial commit (1/2)
This commit is contained in:
commit
3411c5796d
66 changed files with 2261 additions and 0 deletions
24
scenes/weapons/presets/SingleLaserMk1.tscn
Normal file
24
scenes/weapons/presets/SingleLaserMk1.tscn
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cf11711uqb42j"]
|
||||
|
||||
[ext_resource type="Script" path="res://modules/weapon.gd" id="1_smgrb"]
|
||||
[ext_resource type="PackedScene" uid="uid://djmoij5kuou3j" path="res://scenes/projectiles/Laser.tscn" id="2_eiesu"]
|
||||
[ext_resource type="Texture2D" uid="uid://c3gei46k8muk3" path="res://sprites/laserbox.png" id="3_n1sx7"]
|
||||
|
||||
[node name="SingleLaser" type="Node2D" node_paths=PackedStringArray("ShootingTimer", "SpawnerPoints")]
|
||||
script = ExtResource("1_smgrb")
|
||||
ShootingProjectile = ExtResource("2_eiesu")
|
||||
Spread = 5.0
|
||||
AmmoType = "Laser Energy"
|
||||
AmmoConsumption = 1.0
|
||||
ShootingTimer = NodePath("ShootingTimer")
|
||||
SpawnerPoints = [NodePath("Spawner")]
|
||||
|
||||
[node name="ShootingTimer" type="Timer" parent="."]
|
||||
wait_time = 0.25
|
||||
one_shot = true
|
||||
|
||||
[node name="SpawnerSprite" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("3_n1sx7")
|
||||
|
||||
[node name="Spawner" type="Node2D" parent="."]
|
||||
position = Vector2(4, 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue