This commit is contained in:
Dukantic
2024-10-25 20:35:40 +02:00
parent 2d1cbb3129
commit b32f61c50e
38 changed files with 1336 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=49 format=3 uid="uid://4ubk6w44h4s2"]
[gd_scene load_steps=52 format=3 uid="uid://4ubk6w44h4s2"]
[ext_resource type="Script" path="res://script/Player.cs" id="1_gmlsd"]
[ext_resource type="Texture2D" uid="uid://bo4q2rvn056p3" path="res://model/PatrickIdle1.png" id="2_w2lj6"]
@@ -34,6 +34,8 @@
[ext_resource type="Texture2D" uid="uid://rbp38pbtd8e0" path="res://model/PatrickIdle2.png" id="13_2yj6y"]
[ext_resource type="Theme" uid="uid://d0wymiuig18m3" path="res://themes/label.tres" id="15_hsss5"]
[ext_resource type="PackedScene" uid="uid://bj1ita42m6vj5" path="res://scene/gameboy.tscn" id="25_25150"]
[ext_resource type="Texture2D" uid="uid://d0tifgesw6o2c" path="res://model/PatrickGameConsole1.png" id="35_k0eif"]
[ext_resource type="Texture2D" uid="uid://ufsduorrajdw" path="res://model/PatrickGameConsole2.png" id="36_ln8i7"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_qxy68"]
height = 40.4
@@ -152,6 +154,18 @@ tracks/5/keys = {
"update": 1,
"values": [ExtResource("2_w2lj6")]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("Camera2D/CanvasLayer2:visible")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="Animation" id="Animation_shn62"]
resource_name = "down"
@@ -169,6 +183,34 @@ tracks/0/keys = {
"values": [ExtResource("11_wpam5"), ExtResource("12_t0eem"), ExtResource("11_wpam5")]
}
[sub_resource type="Animation" id="Animation_q5gvg"]
resource_name = "game"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Camera2D/CanvasLayer2:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Icon1:texture")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("2_w2lj6"), ExtResource("35_k0eif"), ExtResource("36_ln8i7"), ExtResource("35_k0eif"), ExtResource("36_ln8i7"), ExtResource("2_w2lj6")]
}
[sub_resource type="Animation" id="Animation_mf8ie"]
resource_name = "idle"
loop_mode = 1
@@ -365,6 +407,7 @@ tracks/0/keys = {
_data = {
"RESET": SubResource("Animation_epvli"),
"down": SubResource("Animation_shn62"),
"game": SubResource("Animation_q5gvg"),
"idle": SubResource("Animation_mf8ie"),
"left": SubResource("Animation_8foih"),
"paused": SubResource("Animation_0ydoq"),
@@ -373,7 +416,7 @@ _data = {
"up": SubResource("Animation_7twwg")
}
[node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "bar", "menu", "time", "over", "gameover", "audio")]
[node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "bar", "menu", "time", "over", "gameover", "audio", "gameboy")]
position = Vector2(1, 1)
motion_mode = 1
script = ExtResource("1_gmlsd")
@@ -388,6 +431,7 @@ time = NodePath("time")
over = NodePath("Camera2D/gameover/Panel/Sprite2D")
gameover = NodePath("Camera2D/gameover")
audio = NodePath("AudioStreamPlayer")
gameboy = NodePath("Camera2D/CanvasLayer2")
caniche = ExtResource("12_rjqtk")
shotgun = ExtResource("3_todyh")
caramel = ExtResource("4_54muj")