|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://c5rmt3jeffjx7"] |
|
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://c5rmt3jeffjx7"] |
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://nodes/player/player.gd" id="1_exx2i"] |
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cm4rn4vgyjd1b" path="res://nodes/player/temp.png" id="1_s33dc"] |
|
|
|
|
@ -8,6 +8,43 @@ |
|
|
|
|
radius = 9.0 |
|
|
|
|
height = 24.0 |
|
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_gwu4b"] |
|
|
|
|
resource_name = "zoom_in" |
|
|
|
|
length = 3.0 |
|
|
|
|
tracks/0/type = "value" |
|
|
|
|
tracks/0/imported = false |
|
|
|
|
tracks/0/enabled = true |
|
|
|
|
tracks/0/path = NodePath("camera:zoom") |
|
|
|
|
tracks/0/interp = 1 |
|
|
|
|
tracks/0/loop_wrap = true |
|
|
|
|
tracks/0/keys = { |
|
|
|
|
"times": PackedFloat32Array(0, 1.6, 3), |
|
|
|
|
"transitions": PackedFloat32Array(1, 1.86606, 1), |
|
|
|
|
"update": 0, |
|
|
|
|
"values": [Vector2(0.2, 0.2), Vector2(0.2, 0.2), Vector2(5, 5)] |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_kwmth"] |
|
|
|
|
length = 0.001 |
|
|
|
|
tracks/0/type = "value" |
|
|
|
|
tracks/0/imported = false |
|
|
|
|
tracks/0/enabled = true |
|
|
|
|
tracks/0/path = NodePath("camera:zoom") |
|
|
|
|
tracks/0/interp = 1 |
|
|
|
|
tracks/0/loop_wrap = true |
|
|
|
|
tracks/0/keys = { |
|
|
|
|
"times": PackedFloat32Array(0), |
|
|
|
|
"transitions": PackedFloat32Array(1), |
|
|
|
|
"update": 0, |
|
|
|
|
"values": [Vector2(0.2, 0.2)] |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_t0d07"] |
|
|
|
|
_data = { |
|
|
|
|
"RESET": SubResource("Animation_kwmth"), |
|
|
|
|
"zoom_in": SubResource("Animation_gwu4b") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[node name="player" type="CharacterBody2D"] |
|
|
|
|
script = ExtResource("1_exx2i") |
|
|
|
|
LOSE_SCREEN = "res://scenes/lose_screen.tscn" |
|
|
|
|
@ -22,7 +59,7 @@ shape = SubResource("CapsuleShape2D_w17ly") |
|
|
|
|
metadata/_edit_group_ = true |
|
|
|
|
|
|
|
|
|
[node name="camera" type="Camera2D" parent="."] |
|
|
|
|
zoom = Vector2(5, 5) |
|
|
|
|
zoom = Vector2(0.2, 0.2) |
|
|
|
|
|
|
|
|
|
[node name="oriented_container" type="Node2D" parent="."] |
|
|
|
|
|
|
|
|
|
@ -31,3 +68,9 @@ target_position = Vector2(24, 0) |
|
|
|
|
|
|
|
|
|
[node name="sprite" type="Sprite2D" parent="oriented_container"] |
|
|
|
|
texture = ExtResource("1_s33dc") |
|
|
|
|
|
|
|
|
|
[node name="fx_animator" type="AnimationPlayer" parent="."] |
|
|
|
|
autoplay = "zoom_in" |
|
|
|
|
libraries = { |
|
|
|
|
"": SubResource("AnimationLibrary_t0d07") |
|
|
|
|
} |
|
|
|
|
|