23 lines
835 B
Plaintext
23 lines
835 B
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://36q833dx6dmq"]
|
|
|
|
[ext_resource type="Script" uid="uid://c3i2bhlectmoo" path="res://script/ship.gd" id="1_4cq66"]
|
|
[ext_resource type="Texture2D" uid="uid://b037piy3tkefs" path="res://assets/ship.png" id="1_l3rv8"]
|
|
[ext_resource type="PackedScene" uid="uid://b1jtii12cqye1" path="res://scene/shoot.tscn" id="2_v4325"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4cq66"]
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
script = ExtResource("1_4cq66")
|
|
SHOOT_NODE = ExtResource("2_v4325")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
rotation = 1.5708
|
|
shape = SubResource("RectangleShape2D_4cq66")
|
|
|
|
[node name="Ship" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
rotation = 1.5708
|
|
texture = ExtResource("1_l3rv8")
|