starfighter/MB_FYP/scenes/player.tscn

28 lines
938 B
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://ckh362yqjkpi0"]
[ext_resource type="Script" path="res://script/player.cs" id="1_lhmq0"]
[ext_resource type="Texture2D" uid="uid://ofevjaw7ld0a" path="res://assets/Ships/Fighters/Player/Fighter/ShipBlue.png" id="2_guof5"]
[ext_resource type="Script" path="res://script/camera.cs" id="3_ui7sm"]
[sub_resource type="CircleShape2D" id="CircleShape2D_btpq3"]
radius = 41.0488
[node name="Player" type="CharacterBody2D"]
collision_mask = 13
motion_mode = 1
script = ExtResource("1_lhmq0")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_btpq3")
[node name="ShipSprite" type="Sprite2D" parent="."]
texture = ExtResource("2_guof5")
[node name="LaserSpawn" type="Node2D" parent="."]
position = Vector2(0, -58)
[node name="Camera2D" type="Camera2D" parent="."]
script = ExtResource("3_ui7sm")
[node name="EffectSpawn" type="Node2D" parent="."]