Comets.gd/scenes/ship.tscn

30 lines
932 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://cbo47ftx0vcro"]
[ext_resource type="Script" path="res://scripts/ship.gd" id="1_japvq"]
[ext_resource type="Texture2D" uid="uid://qcnuvee2jcp0" path="res://assets/img/ship.png" id="1_ymcdl"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_hwy8o"]
[node name="Ship" type="Area2D" groups=["ship"]]
script = ExtResource("1_japvq")
max_speed = null
steering_factor = null
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_ymcdl")
[node name="CPUParticles2D" type="CPUParticles2D" parent="Sprite2D"]
position = Vector2(-16, 0)
emission_shape = 1
emission_sphere_radius = 3.0
spread = 105.9
gravity = Vector2(0, 0)
[node name="Gun" type="Marker2D" parent="Sprite2D"]
position = Vector2(32, 0)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.54049
scale = Vector2(1.36118, -2.39866)
shape = SubResource("CapsuleShape2D_hwy8o")