23 lines
908 B
Text
23 lines
908 B
Text
[gd_scene load_steps=4 format=3 uid="uid://bhkuvj884yyan"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/objects/weapon.gd" id="1_wdpx2"]
|
|
[ext_resource type="PackedScene" uid="uid://qr1h87np4sn1" path="res://scenes/projectiles/Rocket.tscn" id="2_fypwx"]
|
|
[ext_resource type="Texture2D" uid="uid://c3gei46k8muk3" path="res://sprites/laserbox.png" id="3_7gexv"]
|
|
|
|
[node name="SingleRocketMk1" type="Node2D" node_paths=PackedStringArray("shoot_timer", "spawner_points")]
|
|
script = ExtResource("1_wdpx2")
|
|
projectile = ExtResource("2_fypwx")
|
|
ammo_type = "Rockets"
|
|
ammo_consumption = 1.0
|
|
shoot_timer = NodePath("ShootingTimer")
|
|
spawner_points = [NodePath("Spawner")]
|
|
|
|
[node name="ShootingTimer" type="Timer" parent="."]
|
|
wait_time = 0.5
|
|
one_shot = true
|
|
|
|
[node name="SpawnerSprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("3_7gexv")
|
|
|
|
[node name="Spawner" type="Node2D" parent="."]
|
|
position = Vector2(4, 0)
|