diff --git a/README.md b/README.md new file mode 100644 index 0000000..2e03cb8 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +
+ +A small game that tells the incredible story of **Barry**, a ~~slightly~~ overweight man who should perhaps include some vegetables in his diet. + +However, even though steel and rocks are not very appealing as snacks, our hero would much rather munch the chassis of a Boeing AH-64 Apache helicopter than a carrot, which in fact will lead him to some definitely astonishing events throughout the plot. + +This game was developed for the [GMTK game jam 2024](https://itch.io/jam/gmtk-2024) in a total of 96 hours, so consider supporting it with a positive review and sharing it, it would make our day! + +## Controls +
Best played with a controller
+
KeyAction
A / LT / L2Move left.
D / RT / R2Move right.
W / RB / R1Jump. (Also accelerate credits)
Left click / Left joystickControl left arm.
Right click / Right joystickControl right arm.
S / LB / L1Descend (from level 4 onwards). (Also slow down credits.)
Space / Menu / OptionsPause. (Also skip credits.)
Esc / Change view / SelectToggle full-screen.
+ +## Source code +Be careful, this game was made in scarce time and under pressure (and coffee), so do not expect it to be neat and tidy, but rather like a scary mess that somehow works... + +## Installation instructions +At the moment, “**do you want some veggies?**” is only available for Windows devices (aside from being playable on the web, of course), and the installation instructions are as follows: + +1. Download the file “**do you want some veggies? — Windows**” and unzip it in whichever place you prefer. +2. Double click “**do you want some veggies**.exe” from the newly extracted folder. +3. Enjoy your game! + +## License +This software is licensed under the [MIT license](LICENSE), except for the following assets: +* *'4 Chiptunes (Adventure)'* by SubspaceAudio. +* *'NES Shooter Music (5 tracks, 3 jingles)'* by SketchyLogic. +* *'War Pack'* by 2dGameCreation. +* *'City tilemap 32x32'* by AvKov. +* Sound effects imported from Myinstants. +* *'Realistic CRT shader'* by c64cosmin. +* *'JinxedWizards'* by Christina Antoinette Neofotistou. +* *'DoggoBark Serif'* by tavern-entering dog Studios. +* *'Credits Screen'* by MiDe. \ No newline at end of file diff --git a/assets/fonts/JinxedWizards.ttf.import b/assets/fonts/JinxedWizards.ttf.import index 23d7aa4..db4d27c 100644 --- a/assets/fonts/JinxedWizards.ttf.import +++ b/assets/fonts/JinxedWizards.ttf.import @@ -15,6 +15,7 @@ dest_files=["res://.godot/imported/JinxedWizards.ttf-1e0df0dd4ff9dc1d278fbc10634 Rendering=null antialiasing=1 generate_mipmaps=false +disable_embedded_bitmaps=true multichannel_signed_distance_field=false msdf_pixel_range=8 msdf_size=48 diff --git a/assets/fonts/doggobark-serif.ttf.import b/assets/fonts/doggobark-serif.ttf.import index 5ae499d..9328a92 100644 --- a/assets/fonts/doggobark-serif.ttf.import +++ b/assets/fonts/doggobark-serif.ttf.import @@ -15,6 +15,7 @@ dest_files=["res://.godot/imported/doggobark-serif.ttf-a7ca8f127732d18c211d50772 Rendering=null antialiasing=1 generate_mipmaps=false +disable_embedded_bitmaps=true multichannel_signed_distance_field=false msdf_pixel_range=8 msdf_size=48 diff --git a/assets/sprites/splash_screen.png b/assets/sprites/splash_screen.png new file mode 100644 index 0000000..14aa334 Binary files /dev/null and b/assets/sprites/splash_screen.png differ diff --git a/assets/sprites/splash_screen.png.import b/assets/sprites/splash_screen.png.import new file mode 100644 index 0000000..47ea0b6 --- /dev/null +++ b/assets/sprites/splash_screen.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ckish0q515h3b" +path="res://.godot/imported/splash_screen.png-d7652c3435215d0f18123860dcc39a5c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/splash_screen.png" +dest_files=["res://.godot/imported/splash_screen.png-d7652c3435215d0f18123860dcc39a5c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/sprites/splash_screen.pxo b/assets/sprites/splash_screen.pxo new file mode 100644 index 0000000..62ee8a7 Binary files /dev/null and b/assets/sprites/splash_screen.pxo differ diff --git a/project.godot b/project.godot index aeb770e..f477cb0 100644 --- a/project.godot +++ b/project.godot @@ -13,7 +13,8 @@ config_version=5 config/name="do you want some veggies?" config/version="v1.0.0" run/main_scene="res://scenes/main.tscn" -config/features=PackedStringArray("4.2", "Mobile") +config/features=PackedStringArray("4.3", "Mobile") +boot_splash/image="res://assets/sprites/splash_screen.png" config/icon="res://icon.png" [autoload] @@ -31,15 +32,15 @@ mouse_cursor/custom_image="res://assets/sprites/cursor.png" move_left={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":4,"axis_value":1.0,"script":null) ] } move_right={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":5,"axis_value":1.0,"script":null) ] } @@ -47,7 +48,7 @@ change_lang={ "deadzone": 0.5, "events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":true,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":true,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":81,"key_label":0,"unicode":113,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":81,"key_label":0,"unicode":113,"location":0,"echo":false,"script":null) ] } left_click={ @@ -102,22 +103,22 @@ right_joystick_right={ } toggle_fullscreen={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":4,"pressure":0.0,"pressed":true,"script":null) ] } jump={ "deadzone": 0.5, "events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":10,"pressure":0.0,"pressed":true,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) ] } descend={ "deadzone": 0.5, "events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":9,"pressure":0.0,"pressed":true,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) ] } zoom_out={ @@ -148,7 +149,7 @@ debug_eat={ pause={ "deadzone": 0.5, "events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":6,"pressure":0.0,"pressed":true,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null) ] } diff --git a/scenes/gam268B.tmp b/scenes/gam268B.tmp new file mode 100644 index 0000000..99678d5 --- /dev/null +++ b/scenes/gam268B.tmp @@ -0,0 +1,1087 @@ +[gd_scene load_steps=104 format=3 uid="uid://15c2udrya53f"] + +[ext_resource type="Script" path="res://scripts/game.gd" id="1_7yfrf"] +[ext_resource type="Script" path="res://scripts/game_manager.gd" id="2_hjhhc"] +[ext_resource type="Texture2D" uid="uid://68aqfgsuky3g" path="res://assets/sprites/title.png" id="2_i06m3"] +[ext_resource type="Texture2D" uid="uid://bii3h3eqvjmkx" path="res://assets/sprites/long_health_bar.png" id="2_iq6k3"] +[ext_resource type="Script" path="res://scripts/title.gd" id="2_spp0g"] +[ext_resource type="Texture2D" uid="uid://flnnne4rgbqp" path="res://assets/sprites/united_kingdom.png" id="3_7vcst"] +[ext_resource type="Shader" path="res://shaders/die_text.gdshader" id="3_55uxr"] +[ext_resource type="PackedScene" uid="uid://2hbi76fyekee" path="res://scenes/enemies/vehicle.tscn" id="3_fmr6d"] +[ext_resource type="FontFile" uid="uid://p4jquj05bc75" path="res://assets/fonts/doggobark-serif.ttf" id="3_n3tx8"] +[ext_resource type="Texture2D" uid="uid://87v15juaymtl" path="res://assets/sprites/player_icon_perfect.png" id="4_3xseo"] +[ext_resource type="Texture2D" uid="uid://dbbttbp5yh30t" path="res://assets/sprites/title_background.png" id="4_j57ky"] +[ext_resource type="FontFile" uid="uid://dy15p7qros583" path="res://assets/fonts/JinxedWizards.ttf" id="4_t3ooc"] +[ext_resource type="PackedScene" uid="uid://br3loduuk5lhm" path="res://scenes/enemies/helicopter.tscn" id="4_tjk1l"] +[ext_resource type="PackedScene" uid="uid://csi8pe1rwkyca" path="res://scenes/enemies/math_bullet.tscn" id="6_1btwa"] +[ext_resource type="PackedScene" uid="uid://wbfwhcrwjcli" path="res://scenes/enemies/missile.tscn" id="6_8btnm"] +[ext_resource type="PackedScene" uid="uid://brcs0q1bm23ks" path="res://scenes/player.tscn" id="6_dtkok"] +[ext_resource type="PackedScene" uid="uid://deivs6akoc4un" path="res://scenes/edible.tscn" id="7_tniya"] +[ext_resource type="Texture2D" uid="uid://d4lroi0xapcwx" path="res://assets/sprites/scene_1.png" id="10_lf8rj"] +[ext_resource type="Texture2D" uid="uid://ciru7c8ao8iin" path="res://assets/sprites/cake.png" id="11_libmp"] +[ext_resource type="Texture2D" uid="uid://ckxq1q1d8i47w" path="res://assets/sprites/ham.png" id="12_54map"] +[ext_resource type="Texture2D" uid="uid://s7bnntcu3o6b" path="res://assets/sprites/salad.png" id="13_620j0"] +[ext_resource type="Texture2D" uid="uid://dbyopp5he4ons" path="res://assets/sprites/beer.png" id="14_673og"] +[ext_resource type="Texture2D" uid="uid://db1aa7vk4vna" path="res://assets/sprites/scene_3.png" id="15_qjddm"] +[ext_resource type="Shader" path="res://shaders/xor.gdshader" id="15_rtsj1"] +[ext_resource type="Texture2D" uid="uid://ddrjm6nvkgmss" path="res://assets/sprites/scene_2.png" id="15_ti44v"] +[ext_resource type="Texture2D" uid="uid://1m5owtv5avhs" path="res://assets/sprites/scene_3_house_roof.png" id="16_nmwgb"] +[ext_resource type="Script" path="res://scripts/scene_3_parallax.gd" id="17_5j8mc"] +[ext_resource type="Texture2D" uid="uid://c1ng5crbym4j8" path="res://assets/sprites/wood.png" id="17_8ydcc"] +[ext_resource type="Texture2D" uid="uid://b5hekgjta2gc6" path="res://assets/sprites/scene_3_parallax.png" id="17_u1n4v"] +[ext_resource type="Texture2D" uid="uid://dsvjnpb4n6nvh" path="res://assets/sprites/flame.png" id="18_0rcfq"] +[ext_resource type="Texture2D" uid="uid://b2vdmc6twgnnu" path="res://assets/sprites/blue_flame.png" id="18_3ddhp"] +[ext_resource type="Texture2D" uid="uid://bfty4qwwh8q1j" path="res://assets/sprites/scene_4.png" id="20_ejg8n"] +[ext_resource type="Texture2D" uid="uid://v70x0qvurjxp" path="res://assets/sprites/alien.png" id="21_7c51t"] +[ext_resource type="PackedScene" uid="uid://c6kxwp8eac0o2" path="res://scenes/music.tscn" id="29_2gned"] +[ext_resource type="PackedScene" uid="uid://btla1wfekjsed" path="res://scenes/enemies/asteroid.tscn" id="33_aw1ge"] +[ext_resource type="PackedScene" uid="uid://cuuilqw6cn71y" path="res://scenes/enemies/human.tscn" id="36_vwrxx"] + +[sub_resource type="Animation" id="Animation_gxvk8"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Height Text:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(300, 673)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Hunger Meter:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(100, -144)] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Player icon:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(72, -72)] +} + +[sub_resource type="Animation" id="Animation_5ibmn"] +resource_name = "start" +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Height Text:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(800, -100), Vector2(800, 50)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Hunger Meter:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(100, -144), Vector2(100, 0)] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Player icon:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(72, -72), Vector2(72, 72)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_afpxc"] +_data = { +"RESET": SubResource("Animation_gxvk8"), +"start": SubResource("Animation_5ibmn") +} + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_r742t"] +shader = ExtResource("3_55uxr") +shader_parameter/amplitude = 10.0 + +[sub_resource type="Animation" id="Animation_jcg0u"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Death/Death Text:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(242, -100)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Death/Death Comment:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(175, 700)] +} + +[sub_resource type="Animation" id="Animation_2s0vr"] +resource_name = "death_message_show" +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Death/Death Text:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(242, -100), Vector2(242, 294)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Death/Death Comment:position") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(175, 700), Vector2(175, 420)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_rwi1l"] +_data = { +"RESET": SubResource("Animation_jcg0u"), +"death_message_show": SubResource("Animation_2s0vr") +} + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_1tkq2"] +shader = ExtResource("15_rtsj1") +shader_parameter/dimensions = Vector2(1152, 648) +shader_parameter/amplitude = Vector2(100, 125) +shader_parameter/frequency = Vector2(3.14159, 1.5708) +shader_parameter/shift = Vector2(1, 1.5) + +[sub_resource type="Animation" id="Animation_j242l"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("../Camera2D/Pause Stuff/Pause Text:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(365, -100)] +} + +[sub_resource type="Animation" id="Animation_7ujec"] +resource_name = "move_back" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("../Camera2D/Pause Stuff/Pause Text:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(365, 294), Vector2(365, -100)] +} + +[sub_resource type="Animation" id="Animation_pg3iy"] +resource_name = "pause_text_move" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("../Camera2D/Pause Stuff/Pause Text:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(365, -100), Vector2(365, 294)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_uhat3"] +_data = { +"RESET": SubResource("Animation_j242l"), +"move_back": SubResource("Animation_7ujec"), +"pause_text_move": SubResource("Animation_pg3iy") +} + +[sub_resource type="AtlasTexture" id="AtlasTexture_dm15y"] +atlas = ExtResource("2_i06m3") +region = Rect2(0, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dyd3a"] +atlas = ExtResource("2_i06m3") +region = Rect2(560, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_h71t4"] +atlas = ExtResource("2_i06m3") +region = Rect2(1120, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_oxi8e"] +atlas = ExtResource("2_i06m3") +region = Rect2(1680, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vd8m4"] +atlas = ExtResource("2_i06m3") +region = Rect2(2240, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_es1y1"] +atlas = ExtResource("2_i06m3") +region = Rect2(1680, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bxtr1"] +atlas = ExtResource("2_i06m3") +region = Rect2(1120, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_s0bte"] +atlas = ExtResource("2_i06m3") +region = Rect2(560, 0, 560, 136) + +[sub_resource type="SpriteFrames" id="SpriteFrames_pc7fx"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_dm15y") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dyd3a") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_h71t4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_oxi8e") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vd8m4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_es1y1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bxtr1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_s0bte") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] + +[sub_resource type="Animation" id="Animation_irbgi"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(0, 0)] +} + +[sub_resource type="Animation" id="Animation_5cv13"] +resource_name = "move" +step = 1.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(0, 0), Vector2(0, 400)] +} + +[sub_resource type="Animation" id="Animation_ljppc"] +resource_name = "move_back" +step = 1.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(0, 400), Vector2(0, 0)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_ousa3"] +_data = { +"RESET": SubResource("Animation_irbgi"), +"move": SubResource("Animation_5cv13"), +"move_back": SubResource("Animation_ljppc") +} + +[sub_resource type="Animation" id="Animation_88115"] +resource_name = "move" +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Title/Language Button:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(-525, -300), Vector2(-650, -300)] +} + +[sub_resource type="Animation" id="Animation_b2nfx"] +resource_name = "move_back" +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Title/Language Button:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(-650, -300), Vector2(-550, -300)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_4uq8b"] +_data = { +"move": SubResource("Animation_88115"), +"move_back": SubResource("Animation_b2nfx") +} + +[sub_resource type="AtlasTexture" id="AtlasTexture_53ctj"] +atlas = ExtResource("10_lf8rj") +region = Rect2(0, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i8d50"] +atlas = ExtResource("10_lf8rj") +region = Rect2(288, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bdflb"] +atlas = ExtResource("10_lf8rj") +region = Rect2(576, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_khtbg"] +atlas = ExtResource("10_lf8rj") +region = Rect2(864, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_q0qno"] +atlas = ExtResource("10_lf8rj") +region = Rect2(576, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2fjbi"] +atlas = ExtResource("10_lf8rj") +region = Rect2(288, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_06hm4"] +atlas = ExtResource("10_lf8rj") +region = Rect2(0, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4gg0k"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1152, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kbr8i"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1440, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_w5sbn"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1728, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nyubk"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1440, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ty08u"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1152, 0, 288, 162) + +[sub_resource type="SpriteFrames" id="SpriteFrames_rvvdv"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_53ctj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i8d50") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bdflb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_khtbg") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_q0qno") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2fjbi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_06hm4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_4gg0k") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kbr8i") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_w5sbn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nyubk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ty08u") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_d8usi"] +atlas = ExtResource("16_nmwgb") +region = Rect2(0, 0, 102, 38) + +[sub_resource type="AtlasTexture" id="AtlasTexture_326g7"] +atlas = ExtResource("16_nmwgb") +region = Rect2(102, 0, 102, 38) + +[sub_resource type="SpriteFrames" id="SpriteFrames_ciqm1"] +animations = [{ +"frames": [], +"loop": true, +"name": &"default", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_d8usi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_326g7") +}], +"loop": false, +"name": &"destroy", +"speed": 60.0 +}] + +[sub_resource type="Animation" id="Animation_l4moi"] +resource_name = "appear" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_upvf5"] +_data = { +"appear": SubResource("Animation_l4moi") +} + +[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_osjjv"] +particle_flag_disable_z = true +direction = Vector3(0, -1, 0) +spread = 180.0 +initial_velocity_min = 15.0 +initial_velocity_max = 15.0 +angular_velocity_min = 125.0 +angular_velocity_max = 125.0 +gravity = Vector3(0, 1500, 0) +scale_min = 4.0 +scale_max = 5.0 + +[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_edaui"] +particle_flag_disable_z = true +direction = Vector3(0, -1, 0) +initial_velocity_min = 30.0 +initial_velocity_max = 30.0 +gravity = Vector3(0, 0, 0) +scale_min = 30.0 +scale_max = 30.0 + +[sub_resource type="AtlasTexture" id="AtlasTexture_1b741"] +atlas = ExtResource("20_ejg8n") +region = Rect2(0, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fmooh"] +atlas = ExtResource("20_ejg8n") +region = Rect2(288, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_632fo"] +atlas = ExtResource("20_ejg8n") +region = Rect2(576, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ggoh5"] +atlas = ExtResource("20_ejg8n") +region = Rect2(864, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uawu3"] +atlas = ExtResource("20_ejg8n") +region = Rect2(1152, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_381r7"] +atlas = ExtResource("20_ejg8n") +region = Rect2(1440, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2ov3a"] +atlas = ExtResource("20_ejg8n") +region = Rect2(1152, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cgca0"] +atlas = ExtResource("20_ejg8n") +region = Rect2(864, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8dg2k"] +atlas = ExtResource("20_ejg8n") +region = Rect2(576, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_30u1f"] +atlas = ExtResource("20_ejg8n") +region = Rect2(288, 0, 288, 162) + +[sub_resource type="SpriteFrames" id="SpriteFrames_13bjo"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_1b741") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fmooh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_632fo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ggoh5") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uawu3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_381r7") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2ov3a") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_cgca0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8dg2k") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_30u1f") +}], +"loop": true, +"name": &"default", +"speed": 2.0 +}] + +[sub_resource type="CircleShape2D" id="CircleShape2D_arpig"] +radius = 41.0 + +[sub_resource type="CircleShape2D" id="CircleShape2D_fa5fb"] +radius = 39.0512 + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_imp8j"] +size = Vector2(81, 51) + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_w3po8"] +radius = 24.0 +height = 56.0 + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_tl4aw"] +normal = Vector2(1, 0) + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_wjcno"] +normal = Vector2(-1, 0) + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_ifv33"] + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_0o4m0"] +normal = Vector2(0, 1) + +[node name="Game" type="Node2D"] +script = ExtResource("1_7yfrf") +death_phrases = { +"english": ["Not bad for a skinny little guy...", "C'mon, even my granny can do better than that!", "I've seen girls who eat more than you, just saying", "\"Mom was right, I needed that extra sugar\"", "\"Can't wait to poop all this food\"", "Are you still hungry buddy?", "* But your soul refused to die -- Nah, just kidding", "Don't you feel kinda hungry after all this?", "ඞ", "Press any key to restart"], +"spanish": ["No está mal para un tipo flacucho y enclenque...", "¡Vamos, joder! Hasta mi abuela puede con eso", "Solo digo que he visto a niñitas comer más", "\"Mami tenía razón, necesitaba ese azúcar extra\"", "\"Me muero de ganas de cagar todo esto\"", "¿Todavía quieres comer amiguito?", "* Pero tu alma se negó a morir -- Nah, es coña", "¿No te da ganas de comer jugar a este juego?", "ඞ", "Presiona cualquier botón para volver a empezar"] +} + +[node name="Game Manager" type="Node" parent="."] +process_mode = 3 +script = ExtResource("2_hjhhc") +scene_spawn_time = [[], [Vector2(4, 5), Vector2(5, 6), Vector2(4.5, 7)], [Vector2(2.5, 3.3), Vector2(10, 10), Vector2(4.5, 5.5), Vector2(3.3, 4.5)], [Vector2(2, 3), Vector2(2.5, 3.5), Vector2(7.5, 10)], [Vector2(1.5, 2.5), Vector2(2, 3), Vector2(2.5, 3.5)]] +enemy_list = [[], [ExtResource("36_vwrxx"), ExtResource("36_vwrxx"), ExtResource("36_vwrxx")], [ExtResource("4_tjk1l"), ExtResource("4_tjk1l"), ExtResource("3_fmr6d"), ExtResource("3_fmr6d")], [ExtResource("33_aw1ge"), ExtResource("33_aw1ge"), ExtResource("6_8btnm")], [ExtResource("6_1btwa"), ExtResource("6_1btwa"), ExtResource("6_1btwa")]] + +[node name="Camera2D" type="Camera2D" parent="."] +position = Vector2(0, -10500) +zoom = Vector2(0.056, 0.056) +limit_smoothed = true + +[node name="HUD" type="CanvasLayer" parent="Camera2D"] + +[node name="Hunger Meter" type="TextureProgressBar" parent="Camera2D/HUD"] +z_index = 1 +anchors_preset = -1 +anchor_right = 0.136285 +offset_left = 100.0 +offset_top = -144.0 +offset_right = 5764.01 +offset_bottom = -63.0 +scale = Vector2(1.5, 1.5) +max_value = 1250.0 +texture_progress = ExtResource("2_iq6k3") +metadata/_edit_use_anchors_ = true + +[node name="Player icon" type="Sprite2D" parent="Camera2D/HUD"] +z_index = 1 +position = Vector2(72, -72) +scale = Vector2(3, 3) +texture = ExtResource("4_3xseo") + +[node name="Height Text" type="Label" parent="Camera2D/HUD"] +auto_translate_mode = 2 +z_index = 1 +anchors_preset = 13 +anchor_left = 0.5 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -276.0 +offset_top = 673.0 +offset_right = 64.0 +offset_bottom = 47329.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(1, 1, 1, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) +theme_override_constants/shadow_offset_x = 3 +theme_override_constants/shadow_offset_y = 3 +theme_override_constants/outline_size = 3 +theme_override_fonts/font = ExtResource("3_n3tx8") +theme_override_font_sizes/font_size = 32 +text = "Height: " +horizontal_alignment = 1 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Camera2D/HUD"] +libraries = { +"": SubResource("AnimationLibrary_afpxc") +} + +[node name="Death" type="Node" parent="Camera2D/HUD"] + +[node name="Death Text" type="Label" parent="Camera2D/HUD/Death"] +z_index = 2 +material = SubResource("ShaderMaterial_r742t") +anchors_preset = 13 +anchor_left = 0.5 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -334.0 +offset_top = -100.0 +offset_right = 334.0 +offset_bottom = 46556.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.4, 0, 0, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_colors/font_outline_color = Color(1, 1, 1, 1) +theme_override_constants/shadow_offset_x = 5 +theme_override_constants/shadow_offset_y = 5 +theme_override_constants/outline_size = 5 +theme_override_fonts/font = ExtResource("4_t3ooc") +theme_override_font_sizes/font_size = 64 +text = "You Starved to Death" +horizontal_alignment = 1 + +[node name="Death Comment" type="Label" parent="Camera2D/HUD/Death"] +auto_translate_mode = 2 +z_index = 2 +anchors_preset = 13 +anchor_left = 0.5 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -401.0 +offset_top = 700.0 +offset_right = -61.0 +offset_bottom = 47356.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(1, 1, 1, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) +theme_override_constants/shadow_offset_x = 3 +theme_override_constants/shadow_offset_y = 3 +theme_override_constants/outline_size = 3 +theme_override_fonts/font = ExtResource("3_n3tx8") +theme_override_font_sizes/font_size = 32 +text = "You Starved to Death" +horizontal_alignment = 1 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Camera2D/HUD/Death"] +root_node = NodePath("../..") +libraries = { +"": SubResource("AnimationLibrary_rwi1l") +} + +[node name="Xor BG" type="CanvasLayer" parent="Camera2D"] +layer = -2 + +[node name="Xor Background Texture" type="ColorRect" parent="Camera2D/Xor BG"] +material = SubResource("ShaderMaterial_1tkq2") +offset_left = -576.0 +offset_top = -324.0 +offset_right = 1728.0 +offset_bottom = 972.0 + +[node name="Pause Stuff" type="CanvasLayer" parent="Camera2D"] +process_mode = 3 +layer = 0 + +[node name="Pause Text" type="Label" parent="Camera2D/Pause Stuff"] +process_mode = 2 +z_index = 2 +material = SubResource("ShaderMaterial_r742t") +anchors_preset = 13 +anchor_left = 0.5 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -211.0 +offset_top = -100.0 +offset_right = 177.0 +offset_bottom = 46556.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.411765, 0.741176, 0.184314, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_colors/font_outline_color = Color(1, 1, 1, 1) +theme_override_constants/shadow_offset_x = 5 +theme_override_constants/shadow_offset_y = 5 +theme_override_constants/outline_size = 5 +theme_override_fonts/font = ExtResource("4_t3ooc") +theme_override_font_sizes/font_size = 64 +text = "Game Paused" +horizontal_alignment = 1 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Camera2D/Pause Stuff"] +root_node = NodePath("../../../Game Manager") +libraries = { +"": SubResource("AnimationLibrary_uhat3") +} + +[node name="Title" type="CanvasLayer" parent="."] +follow_viewport_enabled = true +script = ExtResource("2_spp0g") +title_movement_velocity = 2 +title_movement_height = 100 + +[node name="Title Text" type="AnimatedSprite2D" parent="Title"] +z_index = 1 +sprite_frames = SubResource("SpriteFrames_pc7fx") +autoplay = "default" +frame_progress = 0.36727 +metadata/_edit_lock_ = true + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Title/Title Text"] +libraries = { +"": SubResource("AnimationLibrary_ousa3") +} + +[node name="Title Background" type="TextureRect" parent="Title"] +z_index = -1 +offset_left = -576.0 +offset_top = -324.0 +offset_right = 576.0 +offset_bottom = 324.0 +texture = ExtResource("4_j57ky") +metadata/_edit_lock_ = true + +[node name="Language Button" type="Button" parent="Title"] +offset_left = -525.0 +offset_top = -300.0 +offset_right = -448.0 +offset_bottom = -253.0 +icon = ExtResource("3_7vcst") +expand_icon = true + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Title/Language Button"] +root_node = NodePath("../../..") +libraries = { +"": SubResource("AnimationLibrary_4uq8b") +} + +[node name="Move Animation Timer" type="Timer" parent="Title"] +one_shot = true + +[node name="Background" type="Node" parent="."] + +[node name="Scene 1" type="Node" parent="Background"] + +[node name="Scene 1 Background" type="AnimatedSprite2D" parent="Background/Scene 1"] +z_index = -2 +scale = Vector2(4, 4) +sprite_frames = SubResource("SpriteFrames_rvvdv") +autoplay = "default" + +[node name="Scene 2" type="Sprite2D" parent="Background"] +z_index = -2 +position = Vector2(25, -325) +scale = Vector2(8, 8) +texture = ExtResource("15_ti44v") + +[node name="Scene 3" type="Node" parent="Background"] + +[node name="Scene 3 Foreground" type="Sprite2D" parent="Background/Scene 3"] +z_index = -3 +position = Vector2(153, -1933) +scale = Vector2(32, 32) +texture = ExtResource("15_qjddm") + +[node name="Roof" type="AnimatedSprite2D" parent="Background/Scene 3/Scene 3 Foreground"] +modulate = Color(1, 1, 1, 0) +z_index = 1 +position = Vector2(-5, 30) +sprite_frames = SubResource("SpriteFrames_ciqm1") +autoplay = "default" + +[node name="Roof Animation" type="AnimationPlayer" parent="Background/Scene 3/Scene 3 Foreground/Roof"] +libraries = { +"": SubResource("AnimationLibrary_upvf5") +} + +[node name="Break Particles" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Foreground/Roof"] +z_index = 2 +position = Vector2(2, 0.031) +emitting = false +amount = 12 +process_material = SubResource("ParticleProcessMaterial_osjjv") +texture = ExtResource("17_8ydcc") +lifetime = 3.0 +one_shot = true +explosiveness = 1.0 + +[node name="Scene 3 Parallax" type="Sprite2D" parent="Background/Scene 3"] +z_index = -4 +position = Vector2(153, -1933) +scale = Vector2(34, 34) +texture = ExtResource("17_u1n4v") +script = ExtResource("17_5j8mc") + +[node name="GPUParticles2D" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(-20, 2.5) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_3ddhp") + +[node name="GPUParticles2D2" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(39.3824, -9.44118) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_0rcfq") + +[node name="GPUParticles2D3" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(71.8824, -20.8529) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_3ddhp") + +[node name="GPUParticles2D4" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(119.088, 6) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_0rcfq") + +[node name="GPUParticles2D5" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(-104.765, -31.7353) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_0rcfq") + +[node name="Scene 4" type="Node" parent="Background"] + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Background/Scene 4"] +z_index = -2 +position = Vector2(0, -10519) +scale = Vector2(72, 72) +sprite_frames = SubResource("SpriteFrames_13bjo") +autoplay = "default" + +[node name="Alien" type="Sprite2D" parent="Background/Scene 4"] +z_index = 1 +position = Vector2(9060, -7135) +rotation = -0.462512 +scale = Vector2(90, 90) +texture = ExtResource("21_7c51t") + +[node name="Scene 5" type="Node" parent="Background"] + +[node name="Edibles" type="Node" parent="."] + +[node name="Scene 1" type="Node" parent="Edibles"] + +[node name="Cake" parent="Edibles/Scene 1" instance=ExtResource("7_tniya")] +z_index = -1 +position = Vector2(170, 75) +metadata/nutrients = 25.0 + +[node name="Sprite2D" type="Sprite2D" parent="Edibles/Scene 1/Cake"] +scale = Vector2(6, 6) +texture = ExtResource("11_libmp") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Edibles/Scene 1/Cake"] +shape = SubResource("CircleShape2D_arpig") + +[node name="Ham" parent="Edibles/Scene 1" instance=ExtResource("7_tniya")] +z_index = -1 +position = Vector2(340, -175) +scale = Vector2(0.75, 0.75) +metadata/nutrients = 25.0 + +[node name="Sprite2D" type="Sprite2D" parent="Edibles/Scene 1/Ham"] +scale = Vector2(6, 6) +texture = ExtResource("12_54map") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Edibles/Scene 1/Ham"] +shape = SubResource("CircleShape2D_fa5fb") + +[node name="Salad" parent="Edibles/Scene 1" instance=ExtResource("7_tniya")] +z_index = -1 +position = Vector2(42, 75) +metadata/nutrients = 25.0 + +[node name="Sprite2D" type="Sprite2D" parent="Edibles/Scene 1/Salad"] +scale = Vector2(6, 6) +texture = ExtResource("13_620j0") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Edibles/Scene 1/Salad"] +position = Vector2(-1.5, 5.5) +shape = SubResource("RectangleShape2D_imp8j") + +[node name="Beer" parent="Edibles/Scene 1" instance=ExtResource("7_tniya")] +z_index = -1 +position = Vector2(455, -185) +metadata/nutrients = 25.0 + +[node name="Sprite2D" type="Sprite2D" parent="Edibles/Scene 1/Beer"] +scale = Vector2(4, 4) +texture = ExtResource("14_673og") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Edibles/Scene 1/Beer"] +position = Vector2(-2, -1) +shape = SubResource("CapsuleShape2D_w3po8") + +[node name="Scene 2" type="Node" parent="Edibles"] + +[node name="Scene 3" type="Node" parent="Edibles"] + +[node name="Scene 4" type="Node" parent="Edibles"] + +[node name="Scene 5" type="Node" parent="Edibles"] + +[node name="Boundaries" type="Node" parent="."] + +[node name="Left Boundary" type="RigidBody2D" parent="Boundaries"] +position = Vector2(-550, 0) +gravity_scale = 0.0 +freeze = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Left Boundary"] +shape = SubResource("WorldBoundaryShape2D_tl4aw") + +[node name="Right Boundary" type="RigidBody2D" parent="Boundaries"] +position = Vector2(550, 0) +gravity_scale = 0.0 +freeze = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Right Boundary"] +shape = SubResource("WorldBoundaryShape2D_wjcno") + +[node name="Bottom Boundary" type="RigidBody2D" parent="Boundaries"] +position = Vector2(0, 253) +gravity_scale = 0.0 +freeze = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Bottom Boundary"] +shape = SubResource("WorldBoundaryShape2D_ifv33") + +[node name="Top Boundary" type="RigidBody2D" parent="Boundaries"] +position = Vector2(0, -325) +gravity_scale = 0.0 +freeze = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Top Boundary"] +shape = SubResource("WorldBoundaryShape2D_0o4m0") + +[node name="Music" parent="." instance=ExtResource("29_2gned")] + +[node name="Player" parent="." instance=ExtResource("6_dtkok")] + +[connection signal="game_start" from="Title" to="." method="_on_title_game_start"] +[connection signal="pressed" from="Title/Language Button" to="." method="_on_language_button_pressed"] +[connection signal="timeout" from="Title/Move Animation Timer" to="Title" method="_on_move_animation_timer_timeout"] +[connection signal="death" from="Player" to="." method="_on_player_death"] +[connection signal="next_scene" from="Player" to="." method="_on_player_next_scene"] +[connection signal="next_scene" from="Player" to="Game Manager" method="_on_player_next_scene"] diff --git a/scenes/gam62CA.tmp b/scenes/gam62CA.tmp new file mode 100644 index 0000000..48bb800 --- /dev/null +++ b/scenes/gam62CA.tmp @@ -0,0 +1,1083 @@ +[gd_scene load_steps=104 format=3 uid="uid://15c2udrya53f"] + +[ext_resource type="Script" path="res://scripts/game.gd" id="1_7yfrf"] +[ext_resource type="Script" path="res://scripts/game_manager.gd" id="2_hjhhc"] +[ext_resource type="Texture2D" uid="uid://68aqfgsuky3g" path="res://assets/sprites/title.png" id="2_i06m3"] +[ext_resource type="Texture2D" uid="uid://bii3h3eqvjmkx" path="res://assets/sprites/long_health_bar.png" id="2_iq6k3"] +[ext_resource type="Script" path="res://scripts/title.gd" id="2_spp0g"] +[ext_resource type="Texture2D" uid="uid://flnnne4rgbqp" path="res://assets/sprites/united_kingdom.png" id="3_7vcst"] +[ext_resource type="Shader" path="res://shaders/die_text.gdshader" id="3_55uxr"] +[ext_resource type="PackedScene" uid="uid://2hbi76fyekee" path="res://scenes/enemies/vehicle.tscn" id="3_fmr6d"] +[ext_resource type="FontFile" uid="uid://p4jquj05bc75" path="res://assets/fonts/doggobark-serif.ttf" id="3_n3tx8"] +[ext_resource type="Texture2D" uid="uid://87v15juaymtl" path="res://assets/sprites/player_icon_perfect.png" id="4_3xseo"] +[ext_resource type="Texture2D" uid="uid://dbbttbp5yh30t" path="res://assets/sprites/title_background.png" id="4_j57ky"] +[ext_resource type="FontFile" uid="uid://dy15p7qros583" path="res://assets/fonts/JinxedWizards.ttf" id="4_t3ooc"] +[ext_resource type="PackedScene" uid="uid://br3loduuk5lhm" path="res://scenes/enemies/helicopter.tscn" id="4_tjk1l"] +[ext_resource type="PackedScene" uid="uid://csi8pe1rwkyca" path="res://scenes/enemies/math_bullet.tscn" id="6_1btwa"] +[ext_resource type="PackedScene" uid="uid://wbfwhcrwjcli" path="res://scenes/enemies/missile.tscn" id="6_8btnm"] +[ext_resource type="PackedScene" uid="uid://brcs0q1bm23ks" path="res://scenes/player.tscn" id="6_dtkok"] +[ext_resource type="PackedScene" uid="uid://deivs6akoc4un" path="res://scenes/edible.tscn" id="7_tniya"] +[ext_resource type="Texture2D" uid="uid://d4lroi0xapcwx" path="res://assets/sprites/scene_1.png" id="10_lf8rj"] +[ext_resource type="Texture2D" uid="uid://ciru7c8ao8iin" path="res://assets/sprites/cake.png" id="11_libmp"] +[ext_resource type="Texture2D" uid="uid://ckxq1q1d8i47w" path="res://assets/sprites/ham.png" id="12_54map"] +[ext_resource type="Texture2D" uid="uid://s7bnntcu3o6b" path="res://assets/sprites/salad.png" id="13_620j0"] +[ext_resource type="Texture2D" uid="uid://dbyopp5he4ons" path="res://assets/sprites/beer.png" id="14_673og"] +[ext_resource type="Texture2D" uid="uid://db1aa7vk4vna" path="res://assets/sprites/scene_3.png" id="15_qjddm"] +[ext_resource type="Shader" path="res://shaders/xor.gdshader" id="15_rtsj1"] +[ext_resource type="Texture2D" uid="uid://ddrjm6nvkgmss" path="res://assets/sprites/scene_2.png" id="15_ti44v"] +[ext_resource type="Texture2D" uid="uid://1m5owtv5avhs" path="res://assets/sprites/scene_3_house_roof.png" id="16_nmwgb"] +[ext_resource type="Script" path="res://scripts/scene_3_parallax.gd" id="17_5j8mc"] +[ext_resource type="Texture2D" uid="uid://c1ng5crbym4j8" path="res://assets/sprites/wood.png" id="17_8ydcc"] +[ext_resource type="Texture2D" uid="uid://b5hekgjta2gc6" path="res://assets/sprites/scene_3_parallax.png" id="17_u1n4v"] +[ext_resource type="Texture2D" uid="uid://dsvjnpb4n6nvh" path="res://assets/sprites/flame.png" id="18_0rcfq"] +[ext_resource type="Texture2D" uid="uid://b2vdmc6twgnnu" path="res://assets/sprites/blue_flame.png" id="18_3ddhp"] +[ext_resource type="Texture2D" uid="uid://bfty4qwwh8q1j" path="res://assets/sprites/scene_4.png" id="20_ejg8n"] +[ext_resource type="Texture2D" uid="uid://v70x0qvurjxp" path="res://assets/sprites/alien.png" id="21_7c51t"] +[ext_resource type="PackedScene" uid="uid://c6kxwp8eac0o2" path="res://scenes/music.tscn" id="29_2gned"] +[ext_resource type="PackedScene" uid="uid://btla1wfekjsed" path="res://scenes/enemies/asteroid.tscn" id="33_aw1ge"] +[ext_resource type="PackedScene" uid="uid://cuuilqw6cn71y" path="res://scenes/enemies/human.tscn" id="36_vwrxx"] + +[sub_resource type="Animation" id="Animation_gxvk8"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Height Text:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(300, 673)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Hunger Meter:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(100, -144)] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Player icon:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(72, -72)] +} + +[sub_resource type="Animation" id="Animation_5ibmn"] +resource_name = "start" +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Height Text:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(800, -100), Vector2(800, 50)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Hunger Meter:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(100, -144), Vector2(100, 0)] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Player icon:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(72, -72), Vector2(72, 72)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_afpxc"] +_data = { +"RESET": SubResource("Animation_gxvk8"), +"start": SubResource("Animation_5ibmn") +} + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_r742t"] +shader = ExtResource("3_55uxr") +shader_parameter/amplitude = 10.0 + +[sub_resource type="Animation" id="Animation_jcg0u"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Death/Death Text:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(242, -100)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Death/Death Comment:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(175, 700)] +} + +[sub_resource type="Animation" id="Animation_2s0vr"] +resource_name = "death_message_show" +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Death/Death Text:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(242, -100), Vector2(242, 294)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Death/Death Comment:position") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(175, 700), Vector2(175, 420)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_rwi1l"] +_data = { +"RESET": SubResource("Animation_jcg0u"), +"death_message_show": SubResource("Animation_2s0vr") +} + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_1tkq2"] +shader = ExtResource("15_rtsj1") +shader_parameter/dimensions = Vector2(1152, 648) +shader_parameter/amplitude = Vector2(100, 125) +shader_parameter/frequency = Vector2(3.14159, 1.5708) +shader_parameter/shift = Vector2(1, 1.5) + +[sub_resource type="Animation" id="Animation_j242l"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("../Camera2D/Pause Stuff/Pause Text:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(365, -100)] +} + +[sub_resource type="Animation" id="Animation_7ujec"] +resource_name = "move_back" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("../Camera2D/Pause Stuff/Pause Text:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(365, 294), Vector2(365, -100)] +} + +[sub_resource type="Animation" id="Animation_pg3iy"] +resource_name = "pause_text_move" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("../Camera2D/Pause Stuff/Pause Text:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(365, -100), Vector2(365, 294)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_uhat3"] +_data = { +"RESET": SubResource("Animation_j242l"), +"move_back": SubResource("Animation_7ujec"), +"pause_text_move": SubResource("Animation_pg3iy") +} + +[sub_resource type="AtlasTexture" id="AtlasTexture_dm15y"] +atlas = ExtResource("2_i06m3") +region = Rect2(0, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dyd3a"] +atlas = ExtResource("2_i06m3") +region = Rect2(560, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_h71t4"] +atlas = ExtResource("2_i06m3") +region = Rect2(1120, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_oxi8e"] +atlas = ExtResource("2_i06m3") +region = Rect2(1680, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vd8m4"] +atlas = ExtResource("2_i06m3") +region = Rect2(2240, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_es1y1"] +atlas = ExtResource("2_i06m3") +region = Rect2(1680, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bxtr1"] +atlas = ExtResource("2_i06m3") +region = Rect2(1120, 0, 560, 136) + +[sub_resource type="AtlasTexture" id="AtlasTexture_s0bte"] +atlas = ExtResource("2_i06m3") +region = Rect2(560, 0, 560, 136) + +[sub_resource type="SpriteFrames" id="SpriteFrames_pc7fx"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_dm15y") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dyd3a") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_h71t4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_oxi8e") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vd8m4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_es1y1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bxtr1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_s0bte") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] + +[sub_resource type="Animation" id="Animation_irbgi"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(0, 0)] +} + +[sub_resource type="Animation" id="Animation_5cv13"] +resource_name = "move" +step = 1.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(0, 0), Vector2(0, 400)] +} + +[sub_resource type="Animation" id="Animation_ljppc"] +resource_name = "move_back" +step = 1.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(0, 400), Vector2(0, 0)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_ousa3"] +_data = { +"RESET": SubResource("Animation_irbgi"), +"move": SubResource("Animation_5cv13"), +"move_back": SubResource("Animation_ljppc") +} + +[sub_resource type="Animation" id="Animation_88115"] +resource_name = "move" +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Title/Language Button:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(-525, -300), Vector2(-650, -300)] +} + +[sub_resource type="Animation" id="Animation_b2nfx"] +resource_name = "move_back" +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Title/Language Button:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(-650, -300), Vector2(-550, -300)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_4uq8b"] +_data = { +"move": SubResource("Animation_88115"), +"move_back": SubResource("Animation_b2nfx") +} + +[sub_resource type="AtlasTexture" id="AtlasTexture_53ctj"] +atlas = ExtResource("10_lf8rj") +region = Rect2(0, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i8d50"] +atlas = ExtResource("10_lf8rj") +region = Rect2(288, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bdflb"] +atlas = ExtResource("10_lf8rj") +region = Rect2(576, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_khtbg"] +atlas = ExtResource("10_lf8rj") +region = Rect2(864, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_q0qno"] +atlas = ExtResource("10_lf8rj") +region = Rect2(576, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2fjbi"] +atlas = ExtResource("10_lf8rj") +region = Rect2(288, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_06hm4"] +atlas = ExtResource("10_lf8rj") +region = Rect2(0, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4gg0k"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1152, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kbr8i"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1440, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_w5sbn"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1728, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nyubk"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1440, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ty08u"] +atlas = ExtResource("10_lf8rj") +region = Rect2(1152, 0, 288, 162) + +[sub_resource type="SpriteFrames" id="SpriteFrames_rvvdv"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_53ctj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i8d50") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bdflb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_khtbg") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_q0qno") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2fjbi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_06hm4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_4gg0k") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kbr8i") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_w5sbn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nyubk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ty08u") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_d8usi"] +atlas = ExtResource("16_nmwgb") +region = Rect2(0, 0, 102, 38) + +[sub_resource type="AtlasTexture" id="AtlasTexture_326g7"] +atlas = ExtResource("16_nmwgb") +region = Rect2(102, 0, 102, 38) + +[sub_resource type="SpriteFrames" id="SpriteFrames_ciqm1"] +animations = [{ +"frames": [], +"loop": true, +"name": &"default", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_d8usi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_326g7") +}], +"loop": false, +"name": &"destroy", +"speed": 60.0 +}] + +[sub_resource type="Animation" id="Animation_l4moi"] +resource_name = "appear" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_upvf5"] +_data = { +"appear": SubResource("Animation_l4moi") +} + +[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_osjjv"] +particle_flag_disable_z = true +direction = Vector3(0, -1, 0) +spread = 180.0 +initial_velocity_min = 15.0 +initial_velocity_max = 15.0 +angular_velocity_min = 125.0 +angular_velocity_max = 125.0 +gravity = Vector3(0, 1500, 0) +scale_min = 4.0 +scale_max = 5.0 + +[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_edaui"] +particle_flag_disable_z = true +direction = Vector3(0, -1, 0) +initial_velocity_min = 30.0 +initial_velocity_max = 30.0 +gravity = Vector3(0, 0, 0) +scale_min = 30.0 +scale_max = 30.0 + +[sub_resource type="AtlasTexture" id="AtlasTexture_1b741"] +atlas = ExtResource("20_ejg8n") +region = Rect2(0, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fmooh"] +atlas = ExtResource("20_ejg8n") +region = Rect2(288, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_632fo"] +atlas = ExtResource("20_ejg8n") +region = Rect2(576, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ggoh5"] +atlas = ExtResource("20_ejg8n") +region = Rect2(864, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uawu3"] +atlas = ExtResource("20_ejg8n") +region = Rect2(1152, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_381r7"] +atlas = ExtResource("20_ejg8n") +region = Rect2(1440, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2ov3a"] +atlas = ExtResource("20_ejg8n") +region = Rect2(1152, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_cgca0"] +atlas = ExtResource("20_ejg8n") +region = Rect2(864, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_8dg2k"] +atlas = ExtResource("20_ejg8n") +region = Rect2(576, 0, 288, 162) + +[sub_resource type="AtlasTexture" id="AtlasTexture_30u1f"] +atlas = ExtResource("20_ejg8n") +region = Rect2(288, 0, 288, 162) + +[sub_resource type="SpriteFrames" id="SpriteFrames_13bjo"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_1b741") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_fmooh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_632fo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ggoh5") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_uawu3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_381r7") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2ov3a") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_cgca0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_8dg2k") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_30u1f") +}], +"loop": true, +"name": &"default", +"speed": 2.0 +}] + +[sub_resource type="CircleShape2D" id="CircleShape2D_arpig"] +radius = 41.0 + +[sub_resource type="CircleShape2D" id="CircleShape2D_fa5fb"] +radius = 39.0512 + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_imp8j"] +size = Vector2(81, 51) + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_w3po8"] +radius = 24.0 +height = 56.0 + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_tl4aw"] +normal = Vector2(1, 0) + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_wjcno"] +normal = Vector2(-1, 0) + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_ifv33"] + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_0o4m0"] +normal = Vector2(0, 1) + +[node name="Game" type="Node2D"] +script = ExtResource("1_7yfrf") +death_phrases = { +"english": ["Not bad for a skinny little guy...", "C'mon, even my granny can do better than that!", "I've seen girls who eat more than you, just saying", "\"Mom was right, I needed that extra sugar\"", "\"Can't wait to poop all this food\"", "Are you still hungry buddy?", "* But your soul refused to die -- Nah, just kidding", "Don't you feel kinda hungry after all this?", "ඞ", "Press any key to restart"], +"spanish": ["No está mal para un tipo flacucho y enclenque...", "¡Vamos, joder! Hasta mi abuela puede con eso", "Solo digo que he visto a niñitas comer más", "\"Mami tenía razón, necesitaba ese azúcar extra\"", "\"Me muero de ganas de cagar todo esto\"", "¿Todavía quieres comer amiguito?", "* Pero tu alma se negó a morir -- Nah, es coña", "¿No te da ganas de comer jugar a este juego?", "ඞ", "Presiona cualquier botón para volver a empezar"] +} + +[node name="Game Manager" type="Node" parent="."] +process_mode = 3 +script = ExtResource("2_hjhhc") +scene_spawn_time = [[], [Vector2(4, 5), Vector2(5, 6), Vector2(4.5, 7)], [Vector2(2.5, 3.3), Vector2(10, 10), Vector2(4.5, 5.5), Vector2(3.3, 4.5)], [Vector2(2, 3), Vector2(2.5, 3.5), Vector2(7.5, 10)], [Vector2(1.5, 2.5), Vector2(2, 3), Vector2(2.5, 3.5)]] +enemy_list = [[], [ExtResource("36_vwrxx"), ExtResource("36_vwrxx"), ExtResource("36_vwrxx")], [ExtResource("4_tjk1l"), ExtResource("4_tjk1l"), ExtResource("3_fmr6d"), ExtResource("3_fmr6d")], [ExtResource("33_aw1ge"), ExtResource("33_aw1ge"), ExtResource("6_8btnm")], [ExtResource("6_1btwa"), ExtResource("6_1btwa"), ExtResource("6_1btwa")]] + +[node name="Camera2D" type="Camera2D" parent="."] +position = Vector2(0, -10500) +zoom = Vector2(0.056, 0.056) +limit_smoothed = true + +[node name="HUD" type="CanvasLayer" parent="Camera2D"] + +[node name="Hunger Meter" type="TextureProgressBar" parent="Camera2D/HUD"] +z_index = 1 +anchors_preset = -1 +anchor_right = 0.136285 +offset_left = 100.0 +offset_top = -144.0 +offset_right = 5764.01 +offset_bottom = -63.0 +scale = Vector2(1.5, 1.5) +max_value = 1250.0 +texture_progress = ExtResource("2_iq6k3") +metadata/_edit_use_anchors_ = true + +[node name="Player icon" type="Sprite2D" parent="Camera2D/HUD"] +z_index = 1 +position = Vector2(72, -72) +scale = Vector2(3, 3) +texture = ExtResource("4_3xseo") + +[node name="Height Text" type="Label" parent="Camera2D/HUD"] +auto_translate_mode = 2 +z_index = 1 +anchors_preset = 13 +anchor_left = 0.5 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -276.0 +offset_top = 673.0 +offset_right = 64.0 +offset_bottom = 47329.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(1, 1, 1, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) +theme_override_constants/shadow_offset_x = 3 +theme_override_constants/shadow_offset_y = 3 +theme_override_constants/outline_size = 3 +theme_override_fonts/font = ExtResource("3_n3tx8") +theme_override_font_sizes/font_size = 32 +text = "Height: " +horizontal_alignment = 1 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Camera2D/HUD"] +libraries = { +"": SubResource("AnimationLibrary_afpxc") +} + +[node name="Death" type="Node" parent="Camera2D/HUD"] + +[node name="Death Text" type="Label" parent="Camera2D/HUD/Death"] +z_index = 2 +material = SubResource("ShaderMaterial_r742t") +anchors_preset = 13 +anchor_left = 0.5 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -334.0 +offset_top = -100.0 +offset_right = 334.0 +offset_bottom = 46556.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.4, 0, 0, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_colors/font_outline_color = Color(1, 1, 1, 1) +theme_override_constants/shadow_offset_x = 5 +theme_override_constants/shadow_offset_y = 5 +theme_override_constants/outline_size = 5 +theme_override_fonts/font = ExtResource("4_t3ooc") +theme_override_font_sizes/font_size = 64 +text = "You Starved to Death" +horizontal_alignment = 1 + +[node name="Death Comment" type="Label" parent="Camera2D/HUD/Death"] +auto_translate_mode = 2 +z_index = 2 +anchors_preset = 13 +anchor_left = 0.5 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -401.0 +offset_top = 700.0 +offset_right = -61.0 +offset_bottom = 47356.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(1, 1, 1, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) +theme_override_constants/shadow_offset_x = 3 +theme_override_constants/shadow_offset_y = 3 +theme_override_constants/outline_size = 3 +theme_override_fonts/font = ExtResource("3_n3tx8") +theme_override_font_sizes/font_size = 32 +text = "You Starved to Death" +horizontal_alignment = 1 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Camera2D/HUD/Death"] +root_node = NodePath("../..") +libraries = { +"": SubResource("AnimationLibrary_rwi1l") +} + +[node name="Xor BG" type="CanvasLayer" parent="Camera2D"] +layer = -2 + +[node name="Xor Background Texture" type="ColorRect" parent="Camera2D/Xor BG"] +material = SubResource("ShaderMaterial_1tkq2") +offset_left = -576.0 +offset_top = -324.0 +offset_right = 1728.0 +offset_bottom = 972.0 + +[node name="Pause Stuff" type="CanvasLayer" parent="Camera2D"] +process_mode = 3 +layer = 0 + +[node name="Pause Text" type="Label" parent="Camera2D/Pause Stuff"] +process_mode = 2 +z_index = 2 +material = SubResource("ShaderMaterial_r742t") +anchors_preset = 13 +anchor_left = 0.5 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -211.0 +offset_top = -100.0 +offset_right = 177.0 +offset_bottom = 46556.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.411765, 0.741176, 0.184314, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_colors/font_outline_color = Color(1, 1, 1, 1) +theme_override_constants/shadow_offset_x = 5 +theme_override_constants/shadow_offset_y = 5 +theme_override_constants/outline_size = 5 +theme_override_fonts/font = ExtResource("4_t3ooc") +theme_override_font_sizes/font_size = 64 +text = "Game Paused" +horizontal_alignment = 1 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Camera2D/Pause Stuff"] +root_node = NodePath("../../../Game Manager") +libraries = { +"": SubResource("AnimationLibrary_uhat3") +} + +[node name="Title" type="CanvasLayer" parent="."] +follow_viewport_enabled = true +script = ExtResource("2_spp0g") +title_movement_velocity = 2 +title_movement_height = 100 + +[node name="Title Text" type="AnimatedSprite2D" parent="Title"] +z_index = 1 +sprite_frames = SubResource("SpriteFrames_pc7fx") +autoplay = "default" +frame_progress = 0.36727 +metadata/_edit_lock_ = true + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Title/Title Text"] +libraries = { +"": SubResource("AnimationLibrary_ousa3") +} + +[node name="Title Background" type="TextureRect" parent="Title"] +z_index = -1 +offset_left = -576.0 +offset_top = -324.0 +offset_right = 576.0 +offset_bottom = 324.0 +texture = ExtResource("4_j57ky") +metadata/_edit_lock_ = true + +[node name="Language Button" type="Button" parent="Title"] +offset_left = -525.0 +offset_top = -300.0 +offset_right = -448.0 +offset_bottom = -253.0 +icon = ExtResource("3_7vcst") +expand_icon = true + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Title/Language Button"] +root_node = NodePath("../../..") +libraries = { +"": SubResource("AnimationLibrary_4uq8b") +} + +[node name="Background" type="Node" parent="."] + +[node name="Scene 1" type="Node" parent="Background"] + +[node name="Scene 1 Background" type="AnimatedSprite2D" parent="Background/Scene 1"] +z_index = -2 +scale = Vector2(4, 4) +sprite_frames = SubResource("SpriteFrames_rvvdv") +autoplay = "default" + +[node name="Scene 2" type="Sprite2D" parent="Background"] +z_index = -2 +position = Vector2(25, -325) +scale = Vector2(8, 8) +texture = ExtResource("15_ti44v") + +[node name="Scene 3" type="Node" parent="Background"] + +[node name="Scene 3 Foreground" type="Sprite2D" parent="Background/Scene 3"] +z_index = -3 +position = Vector2(153, -1933) +scale = Vector2(32, 32) +texture = ExtResource("15_qjddm") + +[node name="Roof" type="AnimatedSprite2D" parent="Background/Scene 3/Scene 3 Foreground"] +modulate = Color(1, 1, 1, 0) +z_index = 1 +position = Vector2(-5, 30) +sprite_frames = SubResource("SpriteFrames_ciqm1") +autoplay = "default" + +[node name="Roof Animation" type="AnimationPlayer" parent="Background/Scene 3/Scene 3 Foreground/Roof"] +libraries = { +"": SubResource("AnimationLibrary_upvf5") +} + +[node name="Break Particles" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Foreground/Roof"] +z_index = 2 +position = Vector2(2, 0.031) +emitting = false +amount = 12 +process_material = SubResource("ParticleProcessMaterial_osjjv") +texture = ExtResource("17_8ydcc") +lifetime = 3.0 +one_shot = true +explosiveness = 1.0 + +[node name="Scene 3 Parallax" type="Sprite2D" parent="Background/Scene 3"] +z_index = -4 +position = Vector2(153, -1933) +scale = Vector2(34, 34) +texture = ExtResource("17_u1n4v") +script = ExtResource("17_5j8mc") + +[node name="GPUParticles2D" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(-20, 2.5) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_3ddhp") + +[node name="GPUParticles2D2" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(39.3824, -9.44118) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_0rcfq") + +[node name="GPUParticles2D3" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(71.8824, -20.8529) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_3ddhp") + +[node name="GPUParticles2D4" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(119.088, 6) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_0rcfq") + +[node name="GPUParticles2D5" type="GPUParticles2D" parent="Background/Scene 3/Scene 3 Parallax"] +z_index = 1 +position = Vector2(-104.765, -31.7353) +process_material = SubResource("ParticleProcessMaterial_edaui") +texture = ExtResource("18_0rcfq") + +[node name="Scene 4" type="Node" parent="Background"] + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Background/Scene 4"] +z_index = -2 +position = Vector2(0, -10519) +scale = Vector2(72, 72) +sprite_frames = SubResource("SpriteFrames_13bjo") +autoplay = "default" + +[node name="Alien" type="Sprite2D" parent="Background/Scene 4"] +z_index = 1 +position = Vector2(9060, -7135) +rotation = -0.462512 +scale = Vector2(90, 90) +texture = ExtResource("21_7c51t") + +[node name="Scene 5" type="Node" parent="Background"] + +[node name="Edibles" type="Node" parent="."] + +[node name="Scene 1" type="Node" parent="Edibles"] + +[node name="Cake" parent="Edibles/Scene 1" instance=ExtResource("7_tniya")] +z_index = -1 +position = Vector2(170, 75) +metadata/nutrients = 25.0 + +[node name="Sprite2D" type="Sprite2D" parent="Edibles/Scene 1/Cake"] +scale = Vector2(6, 6) +texture = ExtResource("11_libmp") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Edibles/Scene 1/Cake"] +shape = SubResource("CircleShape2D_arpig") + +[node name="Ham" parent="Edibles/Scene 1" instance=ExtResource("7_tniya")] +z_index = -1 +position = Vector2(340, -175) +scale = Vector2(0.75, 0.75) +metadata/nutrients = 25.0 + +[node name="Sprite2D" type="Sprite2D" parent="Edibles/Scene 1/Ham"] +scale = Vector2(6, 6) +texture = ExtResource("12_54map") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Edibles/Scene 1/Ham"] +shape = SubResource("CircleShape2D_fa5fb") + +[node name="Salad" parent="Edibles/Scene 1" instance=ExtResource("7_tniya")] +z_index = -1 +position = Vector2(42, 75) +metadata/nutrients = 25.0 + +[node name="Sprite2D" type="Sprite2D" parent="Edibles/Scene 1/Salad"] +scale = Vector2(6, 6) +texture = ExtResource("13_620j0") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Edibles/Scene 1/Salad"] +position = Vector2(-1.5, 5.5) +shape = SubResource("RectangleShape2D_imp8j") + +[node name="Beer" parent="Edibles/Scene 1" instance=ExtResource("7_tniya")] +z_index = -1 +position = Vector2(455, -185) +metadata/nutrients = 25.0 + +[node name="Sprite2D" type="Sprite2D" parent="Edibles/Scene 1/Beer"] +scale = Vector2(4, 4) +texture = ExtResource("14_673og") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Edibles/Scene 1/Beer"] +position = Vector2(-2, -1) +shape = SubResource("CapsuleShape2D_w3po8") + +[node name="Scene 2" type="Node" parent="Edibles"] + +[node name="Scene 3" type="Node" parent="Edibles"] + +[node name="Scene 4" type="Node" parent="Edibles"] + +[node name="Scene 5" type="Node" parent="Edibles"] + +[node name="Boundaries" type="Node" parent="."] + +[node name="Left Boundary" type="RigidBody2D" parent="Boundaries"] +position = Vector2(-550, 0) +gravity_scale = 0.0 +freeze = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Left Boundary"] +shape = SubResource("WorldBoundaryShape2D_tl4aw") + +[node name="Right Boundary" type="RigidBody2D" parent="Boundaries"] +position = Vector2(550, 0) +gravity_scale = 0.0 +freeze = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Right Boundary"] +shape = SubResource("WorldBoundaryShape2D_wjcno") + +[node name="Bottom Boundary" type="RigidBody2D" parent="Boundaries"] +position = Vector2(0, 253) +gravity_scale = 0.0 +freeze = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Bottom Boundary"] +shape = SubResource("WorldBoundaryShape2D_ifv33") + +[node name="Top Boundary" type="RigidBody2D" parent="Boundaries"] +position = Vector2(0, -325) +gravity_scale = 0.0 +freeze = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Top Boundary"] +shape = SubResource("WorldBoundaryShape2D_0o4m0") + +[node name="Music" parent="." instance=ExtResource("29_2gned")] + +[node name="Player" parent="." instance=ExtResource("6_dtkok")] + +[connection signal="game_start" from="Title" to="." method="_on_title_game_start"] +[connection signal="pressed" from="Title/Language Button" to="." method="_on_language_button_pressed"] +[connection signal="death" from="Player" to="." method="_on_player_death"] +[connection signal="next_scene" from="Player" to="." method="_on_player_next_scene"] +[connection signal="next_scene" from="Player" to="Game Manager" method="_on_player_next_scene"] diff --git a/scenes/game.tscn b/scenes/game.tscn index 8ff2ea2..f480ed0 100644 --- a/scenes/game.tscn +++ b/scenes/game.tscn @@ -192,22 +192,6 @@ shader_parameter/amplitude = Vector2(100, 125) shader_parameter/frequency = Vector2(3.14159, 1.5708) shader_parameter/shift = Vector2(1, 1.5) -[sub_resource type="Animation" id="Animation_pg3iy"] -resource_name = "pause_text_move" -length = 0.5 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("../Camera2D/Pause Stuff/Pause Text:position") -tracks/0/interp = 2 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0, 0.5), -"transitions": PackedFloat32Array(1, 1), -"update": 0, -"values": [Vector2(365, -100), Vector2(365, 294)] -} - [sub_resource type="Animation" id="Animation_j242l"] length = 0.001 tracks/0/type = "value" @@ -239,6 +223,22 @@ tracks/0/keys = { "values": [Vector2(365, 294), Vector2(365, -100)] } +[sub_resource type="Animation" id="Animation_pg3iy"] +resource_name = "pause_text_move" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("../Camera2D/Pause Stuff/Pause Text:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(365, -100), Vector2(365, 294)] +} + [sub_resource type="AnimationLibrary" id="AnimationLibrary_uhat3"] _data = { "RESET": SubResource("Animation_j242l"), @@ -669,6 +669,7 @@ death_phrases = { "english": ["Not bad for a skinny little guy...", "C'mon, even my granny can do better than that!", "I've seen girls who eat more than you, just saying", "\"Mom was right, I needed that extra sugar\"", "\"Can't wait to poop all this food\"", "Are you still hungry buddy?", "* But your soul refused to die -- Nah, just kidding", "Don't you feel kinda hungry after all this?", "ඞ", "Press any key to restart"], "spanish": ["No está mal para un tipo flacucho y enclenque...", "¡Vamos, joder! Hasta mi abuela puede con eso", "Solo digo que he visto a niñitas comer más", "\"Mami tenía razón, necesitaba ese azúcar extra\"", "\"Me muero de ganas de cagar todo esto\"", "¿Todavía quieres comer amiguito?", "* Pero tu alma se negó a morir -- Nah, es coña", "¿No te da ganas de comer jugar a este juego?", "ඞ", "Presiona cualquier botón para volver a empezar"] } +debug = false [node name="Game Manager" type="Node" parent="."] process_mode = 3 @@ -703,18 +704,18 @@ scale = Vector2(3, 3) texture = ExtResource("4_3xseo") [node name="Height Text" type="Label" parent="Camera2D/HUD"] +auto_translate_mode = 2 z_index = 1 anchors_preset = 13 anchor_left = 0.5 anchor_right = 0.5 anchor_bottom = 1.0 -offset_left = 300.0 +offset_left = -276.0 offset_top = 673.0 -offset_right = 640.0 +offset_right = 64.0 offset_bottom = 47329.0 grow_horizontal = 2 grow_vertical = 2 -auto_translate = false theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) @@ -740,9 +741,9 @@ anchors_preset = 13 anchor_left = 0.5 anchor_right = 0.5 anchor_bottom = 1.0 -offset_left = 242.0 +offset_left = -334.0 offset_top = -100.0 -offset_right = 910.0 +offset_right = 334.0 offset_bottom = 46556.0 grow_horizontal = 2 grow_vertical = 2 @@ -758,18 +759,18 @@ text = "You Starved to Death" horizontal_alignment = 1 [node name="Death Comment" type="Label" parent="Camera2D/HUD/Death"] +auto_translate_mode = 2 z_index = 2 anchors_preset = 13 anchor_left = 0.5 anchor_right = 0.5 anchor_bottom = 1.0 -offset_left = 175.0 +offset_left = -401.0 offset_top = 700.0 -offset_right = 515.0 +offset_right = -61.0 offset_bottom = 47356.0 grow_horizontal = 2 grow_vertical = 2 -auto_translate = false theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) @@ -809,9 +810,9 @@ anchors_preset = 13 anchor_left = 0.5 anchor_right = 0.5 anchor_bottom = 1.0 -offset_left = 365.0 +offset_left = -211.0 offset_top = -100.0 -offset_right = 753.0 +offset_right = 177.0 offset_bottom = 46556.0 grow_horizontal = 2 grow_vertical = 2 @@ -873,9 +874,6 @@ libraries = { "": SubResource("AnimationLibrary_4uq8b") } -[node name="Move Animation Timer" type="Timer" parent="Title"] -one_shot = true - [node name="Background" type="Node" parent="."] [node name="Scene 1" type="Node" parent="Background"] @@ -1081,7 +1079,6 @@ shape = SubResource("WorldBoundaryShape2D_0o4m0") [connection signal="game_start" from="Title" to="." method="_on_title_game_start"] [connection signal="pressed" from="Title/Language Button" to="." method="_on_language_button_pressed"] -[connection signal="timeout" from="Title/Move Animation Timer" to="Title" method="_on_move_animation_timer_timeout"] [connection signal="death" from="Player" to="." method="_on_player_death"] [connection signal="next_scene" from="Player" to="." method="_on_player_next_scene"] [connection signal="next_scene" from="Player" to="Game Manager" method="_on_player_next_scene"] diff --git a/scenes/music.tscn b/scenes/music.tscn index e2ba74c..b8d960b 100644 --- a/scenes/music.tscn +++ b/scenes/music.tscn @@ -12,7 +12,6 @@ [node name="Scene 1 Song" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("1_ewnrm") volume_db = -80.0 -autoplay = true max_distance = 1e+06 [node name="Scene 2 Song" type="AudioStreamPlayer2D" parent="."] diff --git a/scripts/credits.gd b/scripts/credits.gd index 9c9ade5..bf1f0ca 100644 --- a/scripts/credits.gd +++ b/scripts/credits.gd @@ -42,7 +42,7 @@ var credits = [ "Programming and Art", "Henry Díaz Bordón", ],[ - "Works Cited", + "Assets Employed", "'4 Chiptunes (Adventure)' by SubspaceAudio", "https://opengameart.org/content/4-chiptunes-adventure", "", @@ -170,9 +170,9 @@ func add_line(): func _unhandled_input(event): - if event.is_action_pressed("ui_cancel"): + if event.is_action_pressed("pause"): finish() - if event.is_action_pressed("ui_down") and !event.is_echo(): + if event.is_action_pressed("jump") and !event.is_echo(): speed_up = true - if event.is_action_released("ui_down") and !event.is_echo(): + if event.is_action_pressed("descend") and !event.is_echo(): speed_up = false diff --git a/scripts/game.gd b/scripts/game.gd index 206a88d..c48a791 100644 --- a/scripts/game.gd +++ b/scripts/game.gd @@ -83,6 +83,7 @@ func scene_song(scene_number: int): func _ready(): scene_1_music.volume_db = 0 + scene_1_music.play() scene_2_music.volume_db = -80 scene_3_sound.volume_db = -80 scene_3_music.volume_db = -80 diff --git a/scripts/game_manager.gd b/scripts/game_manager.gd index 927b316..8a0f534 100644 --- a/scripts/game_manager.gd +++ b/scripts/game_manager.gd @@ -25,6 +25,7 @@ enum Languages { @export var language: Languages @export var game_started = false +@export var dead = false var handlers = [] var timers = [] @@ -43,7 +44,7 @@ func get_scene_from_number(number): return scene_5 func _process(delta): - if Input.is_action_just_pressed("pause"): + if Input.is_action_just_pressed("pause") and game_started and not dead: pause_text.text = 'Juego Pausado' if language == Languages.Spanish else 'Game Paused' match get_tree().paused: true: diff --git a/scripts/player.gd b/scripts/player.gd index 2b6b934..6cb48c8 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -160,10 +160,11 @@ var current_scene = 0 # Get the gravity from the project settings to be synced with RigidBody nodes. var gravity = ProjectSettings.get_setting("physics/2d/default_gravity") -func self_scale(ratio: float) -> void: - scale *= ratio - eating_particles.process_material.scale_min += ratio - eating_particles.process_material.scale_max += ratio +func rumble(weak, strong, duration): + #for device in Input.get_connected_joypads(): + #Input.start_joy_vibration(device, weak, strong, duration) + + pass # Apparently not working on Godot right now? func _ready(): left_arm_position = left_arm.position @@ -251,6 +252,7 @@ func _physics_process(delta): else: hurt_sound.play() dead = true + game_manager.dead = true eating = false Engine.time_scale = 1 animation_player.stop() @@ -272,6 +274,8 @@ func _physics_process(delta): if (abs(position.y - transition_metadata["y_position"]) < abs(transition_metadata["y_position"]/100.))\ and (abs(scale.x - transition_metadata["size"]) < abs(transition_metadata["size"]/100.)): transitioning = false + #for device in Input.get_connected_joypads(): + #Input.stop_joy_vibration(device) game_manager.transitioning = false elif (eating and current_scene < 3 and is_on_floor()) or (dead and current_scene < 3): @@ -330,6 +334,7 @@ func _on_eating_timer_timeout(): speed = scene_data[current_scene]["speed"] jump_velocity = scene_data[current_scene]["jump_velocity"] growing_sound.play() + rumble(current_scene/6., current_scene/6., 0) transitioning = true game_manager.transitioning = true transition_metadata["y_position"] = scene_data[current_scene]["target_player_y_position"] diff --git a/scripts/title.gd b/scripts/title.gd index 19e1cd0..a5b35e4 100644 --- a/scripts/title.gd +++ b/scripts/title.gd @@ -7,7 +7,6 @@ signal game_start @onready var title_background = $"Title Background" @onready var language_button = $"Language Button" @onready var title = $"." -@onready var move_animation_timer = $"Move Animation Timer" @onready var game_manager = $"../Game Manager" @export var title_movement_velocity = 1 @@ -38,6 +37,7 @@ func _process(delta): title_background.modulate.a = max(title_background.modulate.a - delta/4, 0) return game_start.emit() + game_manager.game_started = true title.queue_free() func _input(event): @@ -47,15 +47,14 @@ func _input(event): or (Input.get_axis("left_joystick_down", "left_joystick_up") != 0)\ or (Input.get_axis("left_joystick_left", "left_joystick_right") != 0)\ or (Input.get_axis("right_joystick_down", "right_joystick_up") != 0)\ - or (Input.get_axis("right_joystick_left", "right_joystick_right") != 0))\ + or (Input.get_axis("right_joystick_left", "right_joystick_right") != 0)\ + or Input.is_action_just_pressed("left_click")\ + or Input.is_action_just_pressed("right_click"))\ and not (Input.is_action_pressed("change_lang"))\ and not (Input.is_action_pressed("toggle_fullscreen"))\ + and not (Input.is_action_pressed("pause"))\ and time_elapsed > 1: title_text.get_child(0).play('move') language_button.disabled = true language_button.get_child(0).play('move') title_screen = false - move_animation_timer.start() - -func _on_move_animation_timer_timeout(): - game_manager.game_started = true