Initial commit (1/2)
This commit is contained in:
commit
3411c5796d
66 changed files with 2261 additions and 0 deletions
24
scenes/projectiles/Laser.tscn
Normal file
24
scenes/projectiles/Laser.tscn
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://djmoij5kuou3j"]
|
||||
|
||||
[ext_resource type="Script" path="res://modules/projectile.gd" id="1_plpqo"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mo2if"]
|
||||
size = Vector2(1, 8)
|
||||
|
||||
[node name="Laser" type="Node2D" node_paths=PackedStringArray("Collider")]
|
||||
script = ExtResource("1_plpqo")
|
||||
Speed = 600.0
|
||||
Collider = NodePath("Collision")
|
||||
|
||||
[node name="LaserBody" type="Line2D" parent="."]
|
||||
points = PackedVector2Array(0, 0, 8, 0)
|
||||
width = 1.0
|
||||
|
||||
[node name="Collision" type="Area2D" parent="."]
|
||||
collision_layer = 4
|
||||
collision_mask = 3
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Collision"]
|
||||
position = Vector2(4, 0)
|
||||
rotation = -1.5708
|
||||
shape = SubResource("RectangleShape2D_mo2if")
|
||||
Loading…
Add table
Add a link
Reference in a new issue