This repository has been archived on 2024-07-02. You can view files and clone it, but cannot push or open issues or pull requests.
HoppyEaster/Scenes/GamePauseTest.tscn

193 lines
101 KiB
Text
Raw Normal View History

2023-04-15 11:30:52 +00:00
[gd_scene load_steps=19 format=3 uid="uid://beio3828jo4ht"]
[ext_resource type="Script" path="res://Scripts/GameManager.gd" id="1_nh5gk"]
[ext_resource type="TileSet" uid="uid://bj7uu2180mie3" path="res://Assets/Tileset.tres" id="2_ws3yx"]
[ext_resource type="Script" path="res://Scripts/MapGenerator.gd" id="3_335m3"]
[ext_resource type="Script" path="res://Scripts/EntitySystem/BunnyGenerator.gd" id="4_38mjq"]
[ext_resource type="PackedScene" uid="uid://cpl4tllohhyel" path="res://Prefabs/bunny.tscn" id="5_24kvo"]
[ext_resource type="Script" path="res://Scripts/PlayerController.gd" id="6_1tkxe"]
[ext_resource type="Texture2D" uid="uid://ojlfqxj5bilo" path="res://Assets/Sprites/Jesus/jesus_spritesheet.png" id="7_6m0we"]
[ext_resource type="Script" path="res://Scripts/WeaponSystem/WeaponController.gd" id="8_ohifd"]
[ext_resource type="PackedScene" uid="uid://csxh42o8twxwn" path="res://Prefabs/projectile.tscn" id="9_unx3c"]
[ext_resource type="Theme" uid="uid://b0b3fxesfrpb7" path="res://Assets/UI/Theme.tres" id="11_5xn0p"]
[ext_resource type="PackedScene" uid="uid://dtiav1qdm1p34" path="res://Prefabs/pause_menu.tscn" id="11_wfu1b"]
[sub_resource type="Animation" id="Animation_kdxam"]
resource_name = "Idle"
length = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Player Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="Animation" id="Animation_dwpep"]
resource_name = "MoveDown"
length = 0.8
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Player Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = false
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [0, 1, 2, 3, 4, 5, 6, 7]
}
[sub_resource type="Animation" id="Animation_2jvl5"]
resource_name = "MoveLeft"
length = 0.8
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Player Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [24, 25, 26, 27, 28, 29, 30, 31]
}
[sub_resource type="Animation" id="Animation_4ig1u"]
resource_name = "MoveRight"
length = 0.8
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Player Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [8, 9, 10, 11, 12, 13, 14, 15]
}
[sub_resource type="Animation" id="Animation_pswkh"]
resource_name = "MoveUp"
length = 0.8
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Player Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [16, 17, 18, 19, 20, 21, 22, 23]
}
[sub_resource type="Animation" id="Animation_o3hln"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Player Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bi1h3"]
_data = {
"Idle": SubResource("Animation_kdxam"),
"MoveDown": SubResource("Animation_dwpep"),
"MoveLeft": SubResource("Animation_2jvl5"),
"MoveRight": SubResource("Animation_4ig1u"),
"MoveUp": SubResource("Animation_pswkh"),
"RESET": SubResource("Animation_o3hln")
}
[node name="GameManager" type="Node2D" node_paths=PackedStringArray("map_generator", "bunny_generator")]
script = ExtResource("1_nh5gk")
map_generator = NodePath("Map Generator")
bunny_generator = NodePath("Bunny Generator")
[node name="Map Generator" type="TileMap" parent="."]
scale = Vector2(1.5, 1.5)
tile_set = ExtResource("2_ws3yx")
cell_quadrant_size = 32
format = 2
layer_0/tile_data = PackedInt32Array(2949194, 720897, 3, 2883658, 720897, 2, 2818122, 720897, 2, 2752586, 720897, 2, 2687050, 720897, 2, 2621514, 720897, 2, 2555978, 720897, 2, 2490442, 720897, 2, 2424906, 720897, 2, 2359370, 720897, 2, 2293834, 720897, 2, 2228298, 720897, 2, 2162762, 720897, 2, 2097226, 720897, 2, 2031690, 720897, 2, 1966154, 720897, 2, 1900618, 720897, 2, 1835082, 720897, 2, 1769546, 720897, 2, 1704010, 720897, 2, 1638474, 720897, 2, 1572938, 720897, 2, 1507402, 720897, 2, 1441866, 720897, 2, 1376330, 720897, 2, 1310794, 720897, 2, 1245258, 720897, 2, 1179722, 720897, 2, 1114186, 720897, 2, 1048650, 720897, 2, 983114, 720897, 2, 917578, 720897, 2, 852042, 720897, 2, 786506, 720897, 2, 720970, 720897, 2, 655434, 720897, 2, 589898, 720897, 2, 524362, 720897, 2, 458826, 720897, 2, 393290, 720897, 2, 327754, 720897, 2, 262218, 720897, 2, 196682, 720897, 2, 131146, 720897, 2, 65610, 720897, 2, 74, 720897, 2, -65462, 720897, 2, -130998, 720897, 2, -196534, 720897, 2, -262070, 720897, 2, -327606, 720897, 2, -393142, 720897, 2, -458678, 720897, 2, -524214, 720897, 2, -589750, 720897, 2, -655286, 720897, 0, 2949193, 589825, 3, 2883657, 589825, 2, 2818121, 589825, 2, 2752585, 589825, 2, 2687049, 589825, 2, 2621513, 589825, 2, 2555977, 589825, 2, 2490441, 589825, 2, 2424905, 589825, 2, 2359369, 589825, 2, 2293833, 589825, 2, 2228297, 589825, 2, 2162761, 589825, 2, 2097225, 589825, 2, 2031689, 589825, 2, 1966153, 589825, 2, 1900617, 589825, 2, 1835081, 589825, 2, 1769545, 589825, 2, 1704009, 589825, 2, 1638473, 589825, 2, 1572937, 589825, 2, 1507401, 589825, 2, 1441865, 589825, 2, 1376329, 589825, 2, 1310793, 589825, 2, 1245257, 589825, 2, 1179721, 589825, 2, 1114185, 589825, 2, 1048649, 589825, 2, 983113, 589825, 2, 917577, 589825, 2, 852041, 589825, 2, 786505, 589825, 2, 720969, 589825, 2, 655433, 589825, 2, 589897, 589825, 2, 524361, 589825, 2, 458825, 589825, 2, 393289, 589825, 2, 327753, 589825, 2, 262217, 589825, 2, 196681, 589825, 2, 131145, 589825, 2, 65609, 589825, 2, 73, 589825, 2, -65463, 589825, 2, -130999, 589825, 2, -196535, 589825, 2, -262071, 589825, 2, -327607, 589825, 2, -393143, 589825, 2, -458679, 589825, 2, -524215, 589825, 2, -589751, 589825, 2, -655287, 655361, 0, 2949192, 589825, 3, 2883656, 589825, 2, 2818120, 589825, 2, 2752584, 589825, 2, 2687048, 589825, 2, 2621512, 589825, 2, 2555976, 589825, 2, 2490440, 589825, 2, 2424904, 589825, 2, 2359368, 589825, 2, 2293832, 589825, 2, 2228296, 589825, 2, 2162760, 589825, 2, 2097224, 589825, 2, 2031688, 589825, 2, 1966152, 589825, 2, 1900616, 589825, 2, 1835080, 589825, 2, 1769544, 589825, 2, 1704008, 589825, 2, 1638472, 589825, 2, 1572936, 589825, 2, 1507400, 589825, 2, 1441864, 589825, 2, 1376328, 589825, 2, 1310792, 589825, 2, 1245256, 589825, 2, 1179720, 589825, 2, 1114184, 589825, 2, 1048648, 589825, 2, 983112, 589825, 2, 917576, 589825, 2, 852040, 589825, 2, 786504, 589825, 2, 720968, 589825, 2, 655432, 589825, 2, 589896, 589825, 2, 524360, 589825, 2, 458824, 589825, 2, 393288, 589825, 2, 327752, 589825, 2, 262216, 589825, 2, 196680, 589825, 2, 131144, 589825, 2, 65608, 589825, 2, 72, 589825, 2, -65464, 589825, 2, -131000, 589825, 2, -196536, 589825, 2, -262072, 589825, 2, -327608, 589825, 2, -393144, 589825, 2, -458680, 589825, 2, -524216, 589825, 2, -589752, 589825, 2, -655288, 655361, 0, 2949191, 589825, 3, 2883655, 589825, 2, 2818119, 589825, 2, 2752583, 589825, 2, 2687047, 589825, 2, 2621511, 589825, 2, 2555975, 589825, 2, 2490439, 589825, 2, 2424903, 589825, 2, 2359367, 589825, 2, 2293831, 589825, 2, 2228295, 589825, 2, 2162759, 589825, 2, 2097223, 589825, 2, 2031687, 589825, 2, 1966151, 589825, 2, 1900615, 589825, 2, 1835079, 589825, 2, 1769543, 589825, 2, 1704007, 589825, 2, 1638471, 589825, 2, 1572935, 589825, 2, 1507399, 589825, 2, 1441863, 589825, 2, 1376327, 589825, 2, 1310791, 589825, 2, 1245255, 589825, 2, 1179719, 589825, 2, 1114183, 589825, 2, 1048647, 589825, 2, 983111, 589825, 2, 917575, 589825, 2, 852039, 589825, 2, 786503, 589825, 2, 720967, 589825, 2, 655431, 589825, 2, 589895, 589825, 2, 524359, 589825, 2, 458823, 5898
script = ExtResource("3_335m3")
start_area_corner_size = 3
[node name="Bunny Generator" type="Node2D" parent="." node_paths=PackedStringArray("player")]
script = ExtResource("4_38mjq")
bunny_prefab = ExtResource("5_24kvo")
player = NodePath("../Player")
[node name="Player" type="CharacterBody2D" parent="." node_paths=PackedStringArray("animation_player")]
position = Vector2(1440, 810)
collision_layer = 0
script = ExtResource("6_1tkxe")
animation_player = NodePath("Player Animator")
[node name="Player Sprite" type="Sprite2D" parent="Player"]
position = Vector2(0, -20)
texture = ExtResource("7_6m0we")
hframes = 8
vframes = 4
[node name="Player Collider" type="CollisionPolygon2D" parent="Player"]
position = Vector2(2, -24)
polygon = PackedVector2Array(12, 32, -16, 32, -16, -24, 12, -24)
[node name="Player Camera" type="Camera2D" parent="Player"]
position = Vector2(0, -25)
zoom = Vector2(2, 2)
position_smoothing_enabled = true
drag_horizontal_enabled = true
drag_vertical_enabled = true
editor_draw_drag_margin = true
[node name="Player Animator" type="AnimationPlayer" parent="Player"]
libraries = {
"": SubResource("AnimationLibrary_bi1h3")
}
[node name="WeaponController" type="Node2D" parent="Player"]
position = Vector2(0, -16)
script = ExtResource("8_ohifd")
projectile_prefab = ExtResource("9_unx3c")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 50
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 50
theme_override_constants/margin_bottom = 50
[node name="PauseMenu" parent="CanvasLayer/MarginContainer" instance=ExtResource("11_wfu1b")]
layout_mode = 2
theme = ExtResource("11_5xn0p")