47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://ifus76ia8xws"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://83sv1yu3pkya" path="res://Characters/Ships/player_ship.png" id="1_5mj4t"]
|
|
[ext_resource type="Script" uid="uid://doegfk88vnwo1" path="res://Characters/player.gd" id="1_eovys"]
|
|
[ext_resource type="PackedScene" uid="uid://ngrscx1l0dn5" path="res://GPE/CannonBall/cannon_ball.tscn" id="2_65n15"]
|
|
[ext_resource type="PackedScene" uid="uid://c2pruida0t5o0" path="res://Player/hud.tscn" id="3_vb825"]
|
|
[ext_resource type="PackedScene" uid="uid://bu4cvy8wdnt54" path="res://Player/game_over_screen.tscn" id="5_l48on"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_eovys"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("1_5mj4t")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_vb825"]
|
|
radius = 37.0
|
|
height = 118.0
|
|
|
|
[node name="Player" type="Area2D" groups=["players"]]
|
|
script = ExtResource("1_eovys")
|
|
bullet_scene = ExtResource("2_65n15")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
rotation = -1.5707964
|
|
sprite_frames = SubResource("SpriteFrames_eovys")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
rotation = -1.5707964
|
|
shape = SubResource("CapsuleShape2D_vb825")
|
|
|
|
[node name="HUD" parent="." instance=ExtResource("3_vb825")]
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
drag_horizontal_enabled = true
|
|
drag_vertical_enabled = true
|
|
|
|
[node name="ShootTimer" type="Timer" parent="."]
|
|
autostart = true
|
|
|
|
[node name="GameOverScreen" parent="." instance=ExtResource("5_l48on")]
|