A little folders cleanup
This commit is contained in:
parent
997e3c0982
commit
545da7be1f
90 changed files with 68 additions and 1661 deletions
27
scenes/Ships/Modules/Weapons/Projectiles/laser.tscn
Normal file
27
scenes/Ships/Modules/Weapons/Projectiles/laser.tscn
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://djmoij5kuou3j"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/objects/projectile.gd" id="1_6nacn"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mo2if"]
|
||||
size = Vector2(4, 32)
|
||||
|
||||
[node name="Laser" type="Node2D" node_paths=PackedStringArray("collider")]
|
||||
script = ExtResource("1_6nacn")
|
||||
speed = 1000.0
|
||||
collider = NodePath("Collision")
|
||||
|
||||
[node name="LaserBody" type="Line2D" parent="."]
|
||||
points = PackedVector2Array(2, 0, 30, 0)
|
||||
width = 4.0
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
round_precision = 4
|
||||
|
||||
[node name="Collision" type="Area2D" parent="."]
|
||||
collision_layer = 4
|
||||
collision_mask = 3
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Collision"]
|
||||
position = Vector2(16, -4.34399e-05)
|
||||
rotation = -1.5708
|
||||
shape = SubResource("RectangleShape2D_mo2if")
|
||||
Loading…
Add table
Add a link
Reference in a new issue