Init commit
This commit is contained in:
commit
a4452b69c4
59 changed files with 1259 additions and 0 deletions
21
Scenes/laser.tscn
Normal file
21
Scenes/laser.tscn
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[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 = 3.0
|
||||
height = 10.0
|
||||
|
||||
[node name="Laser" type="Area2D"]
|
||||
script = ExtResource("1_6vqwg")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(-1, 1)
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("1_fn5yt")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(34, 17, 3, 7)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CapsuleShape2D_6vqwg")
|
||||
Loading…
Add table
Add a link
Reference in a new issue