22 lines
754 B
Text
22 lines
754 B
Text
[gd_scene load_steps=4 format=3 uid="uid://nf2xr7ufei5a"]
|
|
|
|
[ext_resource type="Script" uid="uid://csldj2x1axso1" path="res://Scripts/laser.gd" id="1_6vqwg"]
|
|
[ext_resource type="Texture2D" uid="uid://cv84w0y2jg3i3" path="res://Sprites/i_are_spaceship.png" id="1_fn5yt"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6vqwg"]
|
|
radius = 2.0
|
|
height = 8.0
|
|
|
|
[node name="Laser" type="Area2D"]
|
|
script = ExtResource("1_6vqwg")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
position = Vector2(-1, 1)
|
|
scale = Vector2(1.5, 1.5)
|
|
texture = ExtResource("1_fn5yt")
|
|
region_enabled = true
|
|
region_rect = Rect2(34, 17, 3, 7)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, 1)
|
|
shape = SubResource("CapsuleShape2D_6vqwg")
|