22 lines
611 B
Plaintext
22 lines
611 B
Plaintext
[gd_scene load_steps=3 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/game/ship_controller.gd" id="1_controller"]
|
|
|
|
[sub_resource type="CircleShape2D" id="ShipCollision"]
|
|
radius = 24.0
|
|
|
|
[node name="PlayerShip" type="CharacterBody2D"]
|
|
collision_layer = 2
|
|
collision_mask = 1
|
|
script = ExtResource("1_controller")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("ShipCollision")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
position_smoothing_enabled = true
|
|
position_smoothing_speed = 4.0
|