Small Godot Wild Jam game
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add easter egg

+204 -2
Assets/sprites/Eyes/googly-a.png

This is a binary file and will not be displayed.

+34
Assets/sprites/Eyes/googly-a.png.import
··· 1 + [remap] 2 + 3 + importer="texture" 4 + type="CompressedTexture2D" 5 + uid="uid://b0gu4u4lmi3qu" 6 + path="res://.godot/imported/googly-a.png-c57c45e82ed35737e1e693a5762094fe.ctex" 7 + metadata={ 8 + "vram_texture": false 9 + } 10 + 11 + [deps] 12 + 13 + source_file="res://Assets/sprites/Eyes/googly-a.png" 14 + dest_files=["res://.godot/imported/googly-a.png-c57c45e82ed35737e1e693a5762094fe.ctex"] 15 + 16 + [params] 17 + 18 + compress/mode=0 19 + compress/high_quality=false 20 + compress/lossy_quality=0.7 21 + compress/hdr_compression=1 22 + compress/normal_map=0 23 + compress/channel_pack=0 24 + mipmaps/generate=false 25 + mipmaps/limit=-1 26 + roughness/mode=0 27 + roughness/src_normal="" 28 + process/fix_alpha_border=true 29 + process/premult_alpha=false 30 + process/normal_map_invert_y=false 31 + process/hdr_as_srgb=false 32 + process/hdr_clamp_exposure=false 33 + process/size_limit=0 34 + detect_3d/compress_to=1
Assets/sprites/Eyes/googly-b.png

This is a binary file and will not be displayed.

+34
Assets/sprites/Eyes/googly-b.png.import
··· 1 + [remap] 2 + 3 + importer="texture" 4 + type="CompressedTexture2D" 5 + uid="uid://ps2jx7bjubw8" 6 + path="res://.godot/imported/googly-b.png-17d6597c11452b0d1bfaffcdedc9fc37.ctex" 7 + metadata={ 8 + "vram_texture": false 9 + } 10 + 11 + [deps] 12 + 13 + source_file="res://Assets/sprites/Eyes/googly-b.png" 14 + dest_files=["res://.godot/imported/googly-b.png-17d6597c11452b0d1bfaffcdedc9fc37.ctex"] 15 + 16 + [params] 17 + 18 + compress/mode=0 19 + compress/high_quality=false 20 + compress/lossy_quality=0.7 21 + compress/hdr_compression=1 22 + compress/normal_map=0 23 + compress/channel_pack=0 24 + mipmaps/generate=false 25 + mipmaps/limit=-1 26 + roughness/mode=0 27 + roughness/src_normal="" 28 + process/fix_alpha_border=true 29 + process/premult_alpha=false 30 + process/normal_map_invert_y=false 31 + process/hdr_as_srgb=false 32 + process/hdr_clamp_exposure=false 33 + process/size_limit=0 34 + detect_3d/compress_to=1
Assets/sprites/Eyes/googly-c.png

This is a binary file and will not be displayed.

+34
Assets/sprites/Eyes/googly-c.png.import
··· 1 + [remap] 2 + 3 + importer="texture" 4 + type="CompressedTexture2D" 5 + uid="uid://cucrpsfnu1081" 6 + path="res://.godot/imported/googly-c.png-5bfc21b189da4742ed8873060576b1d3.ctex" 7 + metadata={ 8 + "vram_texture": false 9 + } 10 + 11 + [deps] 12 + 13 + source_file="res://Assets/sprites/Eyes/googly-c.png" 14 + dest_files=["res://.godot/imported/googly-c.png-5bfc21b189da4742ed8873060576b1d3.ctex"] 15 + 16 + [params] 17 + 18 + compress/mode=0 19 + compress/high_quality=false 20 + compress/lossy_quality=0.7 21 + compress/hdr_compression=1 22 + compress/normal_map=0 23 + compress/channel_pack=0 24 + mipmaps/generate=false 25 + mipmaps/limit=-1 26 + roughness/mode=0 27 + roughness/src_normal="" 28 + process/fix_alpha_border=true 29 + process/premult_alpha=false 30 + process/normal_map_invert_y=false 31 + process/hdr_as_srgb=false 32 + process/hdr_clamp_exposure=false 33 + process/size_limit=0 34 + detect_3d/compress_to=1
Assets/sprites/Eyes/googly-d.png

This is a binary file and will not be displayed.

+34
Assets/sprites/Eyes/googly-d.png.import
··· 1 + [remap] 2 + 3 + importer="texture" 4 + type="CompressedTexture2D" 5 + uid="uid://q1i1cl3ygki2" 6 + path="res://.godot/imported/googly-d.png-4f8297391bc58511dcf147b918dac3ba.ctex" 7 + metadata={ 8 + "vram_texture": false 9 + } 10 + 11 + [deps] 12 + 13 + source_file="res://Assets/sprites/Eyes/googly-d.png" 14 + dest_files=["res://.godot/imported/googly-d.png-4f8297391bc58511dcf147b918dac3ba.ctex"] 15 + 16 + [params] 17 + 18 + compress/mode=0 19 + compress/high_quality=false 20 + compress/lossy_quality=0.7 21 + compress/hdr_compression=1 22 + compress/normal_map=0 23 + compress/channel_pack=0 24 + mipmaps/generate=false 25 + mipmaps/limit=-1 26 + roughness/mode=0 27 + roughness/src_normal="" 28 + process/fix_alpha_border=true 29 + process/premult_alpha=false 30 + process/normal_map_invert_y=false 31 + process/hdr_as_srgb=false 32 + process/hdr_clamp_exposure=false 33 + process/size_limit=0 34 + detect_3d/compress_to=1
Assets/sprites/Eyes/googly-e.png

This is a binary file and will not be displayed.

+34
Assets/sprites/Eyes/googly-e.png.import
··· 1 + [remap] 2 + 3 + importer="texture" 4 + type="CompressedTexture2D" 5 + uid="uid://dnii8fjvfo0f6" 6 + path="res://.godot/imported/googly-e.png-c7fa95265327e78529cf6793ff995533.ctex" 7 + metadata={ 8 + "vram_texture": false 9 + } 10 + 11 + [deps] 12 + 13 + source_file="res://Assets/sprites/Eyes/googly-e.png" 14 + dest_files=["res://.godot/imported/googly-e.png-c7fa95265327e78529cf6793ff995533.ctex"] 15 + 16 + [params] 17 + 18 + compress/mode=0 19 + compress/high_quality=false 20 + compress/lossy_quality=0.7 21 + compress/hdr_compression=1 22 + compress/normal_map=0 23 + compress/channel_pack=0 24 + mipmaps/generate=false 25 + mipmaps/limit=-1 26 + roughness/mode=0 27 + roughness/src_normal="" 28 + process/fix_alpha_border=true 29 + process/premult_alpha=false 30 + process/normal_map_invert_y=false 31 + process/hdr_as_srgb=false 32 + process/hdr_clamp_exposure=false 33 + process/size_limit=0 34 + detect_3d/compress_to=1
+1 -1
Assets/sprites/illness_icon.png.import
··· 15 15 16 16 [params] 17 17 18 - compress/mode=1 18 + compress/mode=0 19 19 compress/high_quality=false 20 20 compress/lossy_quality=0.95 21 21 compress/hdr_compression=1
+6
Scenes/unit/unit.gd
··· 20 20 @onready var progress_bar: ProgressBar = $ProgressBar 21 21 @onready var timer: Timer = $Timer 22 22 23 + # Easter egg 24 + @onready var goog: Node2D = $Goog 25 + 23 26 func _ready() -> void: 24 27 timer.timeout.connect(_treat_patient) 28 + 29 + if Global.egg: 30 + goog.visible = true 25 31 26 32 func _process(delta: float) -> void: 27 33 # if not reached target then follow path, do nothing while patient isn't treated and then follow path in reverse
+16 -1
Scenes/unit/unit_parent.tscn
··· 1 - [gd_scene load_steps=5 format=3 uid="uid://b56hnxnj7ylg8"] 1 + [gd_scene load_steps=7 format=3 uid="uid://b56hnxnj7ylg8"] 2 2 3 3 [ext_resource type="Script" uid="uid://clvx1a0nby8cp" path="res://Scenes/unit/unit.gd" id="1_idbsb"] 4 4 [ext_resource type="Texture2D" uid="uid://da653ustssjlf" path="res://Assets/sprites/doctor_image.png" id="2_1eirg"] 5 5 [ext_resource type="Texture2D" uid="uid://blimkuqy7it1d" path="res://Assets/sprites/priest_image.png" id="3_xi5tf"] 6 + [ext_resource type="Texture2D" uid="uid://ps2jx7bjubw8" path="res://Assets/sprites/Eyes/googly-b.png" id="4_vcvkw"] 7 + [ext_resource type="Texture2D" uid="uid://b0gu4u4lmi3qu" path="res://Assets/sprites/Eyes/googly-a.png" id="5_1d84u"] 6 8 7 9 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_c5gfg"] 8 10 bg_color = Color(0.234569, 0.589674, 0.270734, 1) ··· 46 48 47 49 [node name="Timer" type="Timer" parent="."] 48 50 one_shot = true 51 + 52 + [node name="Goog" type="Node2D" parent="."] 53 + visible = false 54 + 55 + [node name="Sprite2D" type="Sprite2D" parent="Goog"] 56 + position = Vector2(-4, -91) 57 + scale = Vector2(0.0552147, 0.0552148) 58 + texture = ExtResource("4_vcvkw") 59 + 60 + [node name="Sprite2D2" type="Sprite2D" parent="Goog"] 61 + position = Vector2(8, -93) 62 + scale = Vector2(0.0552147, 0.0552148) 63 + texture = ExtResource("5_1d84u")
+6
Scripts/global.gd
··· 49 49 50 50 var target_location: Vector2 51 51 var target_house_type: HouseType 52 + 53 + var egg: bool = false 52 54 #endregion 53 55 54 56 func can_spawn_unit() -> bool: ··· 76 78 #Console.register_custom_command("spawn_doctor", _spawn_unit) 77 79 78 80 people_sick = STARTER_SICK_COUNTER 81 + 82 + func _process(delta: float) -> void: 83 + if Input.is_action_just_pressed("egg"): 84 + egg = !egg 79 85 80 86 # In reality all these values should be moved to gameplay but it's not necesary for what is effectively a demo 81 87 func reset() -> void:
+5
project.godot
··· 116 116 "events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":2,"canceled":false,"pressed":false,"double_click":false,"script":null) 117 117 ] 118 118 } 119 + egg={ 120 + "deadzone": 0.2, 121 + "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":71,"key_label":0,"unicode":103,"location":0,"echo":false,"script":null) 122 + ] 123 + } 119 124 120 125 [layer_names] 121 126