diff --git a/assets/minigames/parakeets/graphic/ant.png b/assets/minigames/parakeets/graphic/ant.png new file mode 100644 index 00000000..4f9483b3 Binary files /dev/null and b/assets/minigames/parakeets/graphic/ant.png differ diff --git a/assets/minigames/parakeets/graphic/nest_back.png.import b/assets/minigames/parakeets/graphic/ant.png.import similarity index 72% rename from assets/minigames/parakeets/graphic/nest_back.png.import rename to assets/minigames/parakeets/graphic/ant.png.import index ef9d2fd7..280af324 100644 --- a/assets/minigames/parakeets/graphic/nest_back.png.import +++ b/assets/minigames/parakeets/graphic/ant.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://sjxhvbq8ijbw" -path="res://.godot/imported/nest_back.png-53077e9cc834226ab59b27932aea277d.ctex" +uid="uid://w835wgqcmdvg" +path="res://.godot/imported/ant.png-d584eb4304f188a08002ea7df358de05.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/minigames/parakeets/graphic/nest_back.png" -dest_files=["res://.godot/imported/nest_back.png-53077e9cc834226ab59b27932aea277d.ctex"] +source_file="res://assets/minigames/parakeets/graphic/ant.png" +dest_files=["res://.godot/imported/ant.png-d584eb4304f188a08002ea7df358de05.ctex"] [params] diff --git a/assets/minigames/parakeets/graphic/background.png b/assets/minigames/parakeets/graphic/background.png deleted file mode 100644 index 7853b958..00000000 Binary files a/assets/minigames/parakeets/graphic/background.png and /dev/null differ diff --git a/assets/minigames/parakeets/graphic/background_1.png b/assets/minigames/parakeets/graphic/background_1.png new file mode 100644 index 00000000..675929c4 Binary files /dev/null and b/assets/minigames/parakeets/graphic/background_1.png differ diff --git a/assets/minigames/parakeets/graphic/background_1.png.import b/assets/minigames/parakeets/graphic/background_1.png.import new file mode 100644 index 00000000..41556a30 --- /dev/null +++ b/assets/minigames/parakeets/graphic/background_1.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cc01gd1hm6hc3" +path="res://.godot/imported/background_1.png-8ac3644edd63999756849ff3e759d11b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/minigames/parakeets/graphic/background_1.png" +dest_files=["res://.godot/imported/background_1.png-8ac3644edd63999756849ff3e759d11b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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/minigames/parakeets/graphic/background_2.png b/assets/minigames/parakeets/graphic/background_2.png new file mode 100644 index 00000000..f4ca4983 Binary files /dev/null and b/assets/minigames/parakeets/graphic/background_2.png differ diff --git a/assets/minigames/parakeets/graphic/background.png.import b/assets/minigames/parakeets/graphic/background_2.png.import similarity index 78% rename from assets/minigames/parakeets/graphic/background.png.import rename to assets/minigames/parakeets/graphic/background_2.png.import index 67270a54..7bfa587f 100644 --- a/assets/minigames/parakeets/graphic/background.png.import +++ b/assets/minigames/parakeets/graphic/background_2.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dv1ombj8eolb1" -path="res://.godot/imported/background.png-380b8919214d9661fc20bff1be9c792a.ctex" +uid="uid://pj0mlw24jayt" +path="res://.godot/imported/background_2.png-347fda916494b7c02674be20cbfaaae0.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/minigames/parakeets/graphic/background.png" -dest_files=["res://.godot/imported/background.png-380b8919214d9661fc20bff1be9c792a.ctex"] +source_file="res://assets/minigames/parakeets/graphic/background_2.png" +dest_files=["res://.godot/imported/background_2.png-347fda916494b7c02674be20cbfaaae0.ctex"] [params] diff --git a/assets/minigames/parakeets/graphic/background_3.png b/assets/minigames/parakeets/graphic/background_3.png new file mode 100644 index 00000000..25d462ce Binary files /dev/null and b/assets/minigames/parakeets/graphic/background_3.png differ diff --git a/assets/minigames/parakeets/graphic/background_3.png.import b/assets/minigames/parakeets/graphic/background_3.png.import new file mode 100644 index 00000000..fda1a9e0 --- /dev/null +++ b/assets/minigames/parakeets/graphic/background_3.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cs16kbsvnsltg" +path="res://.godot/imported/background_3.png-63a8c14a4cb795cb6e87dd2e5ae19ca9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/minigames/parakeets/graphic/background_3.png" +dest_files=["res://.godot/imported/background_3.png-63a8c14a4cb795cb6e87dd2e5ae19ca9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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/minigames/parakeets/graphic/cloud_1.png b/assets/minigames/parakeets/graphic/cloud_1.png new file mode 100644 index 00000000..30c4622c Binary files /dev/null and b/assets/minigames/parakeets/graphic/cloud_1.png differ diff --git a/assets/minigames/parakeets/graphic/nest_front.png.import b/assets/minigames/parakeets/graphic/cloud_1.png.import similarity index 72% rename from assets/minigames/parakeets/graphic/nest_front.png.import rename to assets/minigames/parakeets/graphic/cloud_1.png.import index 8ce1846c..66b624d4 100644 --- a/assets/minigames/parakeets/graphic/nest_front.png.import +++ b/assets/minigames/parakeets/graphic/cloud_1.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://ctvnu3s3sgwwf" -path="res://.godot/imported/nest_front.png-09be9ca357e19936e4d192ac0cc39aab.ctex" +uid="uid://rx270y4n7tul" +path="res://.godot/imported/cloud_1.png-35b2b2f590dbc890ef44c3f3f3580a76.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/minigames/parakeets/graphic/nest_front.png" -dest_files=["res://.godot/imported/nest_front.png-09be9ca357e19936e4d192ac0cc39aab.ctex"] +source_file="res://assets/minigames/parakeets/graphic/cloud_1.png" +dest_files=["res://.godot/imported/cloud_1.png-35b2b2f590dbc890ef44c3f3f3580a76.ctex"] [params] diff --git a/assets/minigames/parakeets/graphic/cloud_2.png b/assets/minigames/parakeets/graphic/cloud_2.png new file mode 100644 index 00000000..d304da23 Binary files /dev/null and b/assets/minigames/parakeets/graphic/cloud_2.png differ diff --git a/assets/minigames/parakeets/graphic/cloud_2.png.import b/assets/minigames/parakeets/graphic/cloud_2.png.import new file mode 100644 index 00000000..577dc326 --- /dev/null +++ b/assets/minigames/parakeets/graphic/cloud_2.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dphj3hqfnnw4p" +path="res://.godot/imported/cloud_2.png-205e73a6bd96d8537f31b0570a8dfaab.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/minigames/parakeets/graphic/cloud_2.png" +dest_files=["res://.godot/imported/cloud_2.png-205e73a6bd96d8537f31b0570a8dfaab.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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/minigames/parakeets/graphic/cloud_3.png b/assets/minigames/parakeets/graphic/cloud_3.png new file mode 100644 index 00000000..9a95976a Binary files /dev/null and b/assets/minigames/parakeets/graphic/cloud_3.png differ diff --git a/assets/minigames/parakeets/graphic/cloud_3.png.import b/assets/minigames/parakeets/graphic/cloud_3.png.import new file mode 100644 index 00000000..ab8181e9 --- /dev/null +++ b/assets/minigames/parakeets/graphic/cloud_3.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://1btgagsporxa" +path="res://.godot/imported/cloud_3.png-2ebad06b6018aff51a5d3e8beea37efc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/minigames/parakeets/graphic/cloud_3.png" +dest_files=["res://.godot/imported/cloud_3.png-2ebad06b6018aff51a5d3e8beea37efc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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/minigames/parakeets/graphic/green_parakeet_spritesheet.png b/assets/minigames/parakeets/graphic/green_parakeet_spritesheet.png index adcffc03..00646ed4 100644 Binary files a/assets/minigames/parakeets/graphic/green_parakeet_spritesheet.png and b/assets/minigames/parakeets/graphic/green_parakeet_spritesheet.png differ diff --git a/assets/minigames/parakeets/graphic/nest.png b/assets/minigames/parakeets/graphic/nest.png new file mode 100644 index 00000000..88b48203 Binary files /dev/null and b/assets/minigames/parakeets/graphic/nest.png differ diff --git a/assets/minigames/parakeets/graphic/nest.png.import b/assets/minigames/parakeets/graphic/nest.png.import new file mode 100644 index 00000000..2cde19eb --- /dev/null +++ b/assets/minigames/parakeets/graphic/nest.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ca2jljrk2wnjt" +path="res://.godot/imported/nest.png-d6526be76febf21ea30b47b12ae7e29f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/minigames/parakeets/graphic/nest.png" +dest_files=["res://.godot/imported/nest.png-d6526be76febf21ea30b47b12ae7e29f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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/minigames/parakeets/graphic/nest_back.png b/assets/minigames/parakeets/graphic/nest_back.png deleted file mode 100644 index c0dd63bc..00000000 Binary files a/assets/minigames/parakeets/graphic/nest_back.png and /dev/null differ diff --git a/assets/minigames/parakeets/graphic/nest_front.png b/assets/minigames/parakeets/graphic/nest_front.png deleted file mode 100644 index 33ed88b5..00000000 Binary files a/assets/minigames/parakeets/graphic/nest_front.png and /dev/null differ diff --git a/assets/minigames/parakeets/graphic/red_parakeet_spritesheet.png b/assets/minigames/parakeets/graphic/red_parakeet_spritesheet.png index b1d3f0c5..3b3765f5 100644 Binary files a/assets/minigames/parakeets/graphic/red_parakeet_spritesheet.png and b/assets/minigames/parakeets/graphic/red_parakeet_spritesheet.png differ diff --git a/assets/minigames/parakeets/graphic/tree.png b/assets/minigames/parakeets/graphic/tree.png new file mode 100644 index 00000000..bc524b31 Binary files /dev/null and b/assets/minigames/parakeets/graphic/tree.png differ diff --git a/assets/minigames/parakeets/graphic/tree.png.import b/assets/minigames/parakeets/graphic/tree.png.import new file mode 100644 index 00000000..7ed38df9 --- /dev/null +++ b/assets/minigames/parakeets/graphic/tree.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://0p171y6thba8" +path="res://.godot/imported/tree.png-1e16c7baa542f9e01223cd622d6ec61c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/minigames/parakeets/graphic/tree.png" +dest_files=["res://.godot/imported/tree.png-1e16c7baa542f9e01223cd622d6ec61c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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/minigames/parakeets/graphic/yellow_parakeet_spritesheet.png b/assets/minigames/parakeets/graphic/yellow_parakeet_spritesheet.png index b49c3f46..6c69107e 100644 Binary files a/assets/minigames/parakeets/graphic/yellow_parakeet_spritesheet.png and b/assets/minigames/parakeets/graphic/yellow_parakeet_spritesheet.png differ diff --git a/resources/themes/minigames_label_settings_parakeet.tres b/resources/themes/minigames_label_settings_parakeet.tres new file mode 100644 index 00000000..2077c31b --- /dev/null +++ b/resources/themes/minigames_label_settings_parakeet.tres @@ -0,0 +1,8 @@ +[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://c7aoyw5gjrrnp"] + +[ext_resource type="FontFile" uid="uid://bj2rpti6g24kk" path="res://assets/fonts/kalulu_mulish_bold.otf" id="1_3qi2o"] + +[resource] +font = ExtResource("1_3qi2o") +font_size = 250 +font_color = Color(0, 0, 0, 1) diff --git a/sources/minigames/base/minigame_ui.gd b/sources/minigames/base/minigame_ui.gd index 8a9ce9b5..2d932995 100644 --- a/sources/minigames/base/minigame_ui.gd +++ b/sources/minigames/base/minigame_ui.gd @@ -1,4 +1,3 @@ -@tool class_name MinigameUI extends CanvasLayer diff --git a/sources/minigames/parakeets/clouds_manager.gd b/sources/minigames/parakeets/clouds_manager.gd new file mode 100644 index 00000000..1f123727 --- /dev/null +++ b/sources/minigames/parakeets/clouds_manager.gd @@ -0,0 +1,68 @@ +extends Node2D + +@export var min_speed: float = 20.0 +@export var max_speed: float = 60.0 +@export var min_y: float = 20.0 +@export var max_y: float = 200.0 +@export var min_scale: float = 0.6 +@export var max_scale: float = 1.3 + +var cloud_speeds: Dictionary[Sprite2D, float] = {} +var screen_width: float = 0.0 + + +func _ready() -> void: + randomize() + screen_width = get_viewport_rect().size.x + for cloud: Node in get_children(): + if cloud is Sprite2D: + _init_cloud_start(cloud as Sprite2D) + else: + Log.error("CloudManager: A child cloud is not a Sprite2D, this should not be possible") + + +func _process(delta: float) -> void: + var new_width: float = get_viewport_rect().size.x + if new_width != screen_width: + screen_width = new_width + + for cloud: Sprite2D in get_children(): + var speed: float = cloud_speeds[cloud] + cloud.position.x -= speed * delta + + if cloud.position.x < -cloud.texture.get_width(): + _reset_cloud(cloud) + + +func _depth_factor_for_cloud(cloud: Sprite2D) -> float: + # Normalise la hauteur sur 0 a 1 + var factor: float = (cloud.position.y - min_y) / float(max_y - min_y) + return clampf(factor, 0.0, 1.0) + + +func _apply_parallax_speed(cloud: Sprite2D) -> float: + var factor: float = _depth_factor_for_cloud(cloud) + Log.debug("%s : %s" % [str(cloud.position.y), str(lerp(min_speed, max_speed, factor))]) + return lerp(min_speed, max_speed, factor) + + +func _apply_parallax_scale(cloud: Sprite2D) -> void: + var factor: float = _depth_factor_for_cloud(cloud) + var target_scale: float = lerpf(min_scale, max_scale, factor) + cloud.scale = Vector2(target_scale, target_scale) + + +func _init_cloud_start(cloud: Sprite2D) -> void: + cloud.position.x = randf_range(0, screen_width) + cloud.position.y = randf_range(min_y, max_y) + + cloud_speeds[cloud] = _apply_parallax_speed(cloud) + _apply_parallax_scale(cloud) + + +func _reset_cloud(cloud: Sprite2D) -> void: + cloud.position.x = screen_width + cloud.texture.get_width() * 0.5 + cloud.position.y = randf_range(min_y, max_y) + + cloud_speeds[cloud] = _apply_parallax_speed(cloud) + _apply_parallax_scale(cloud) diff --git a/sources/minigames/parakeets/clouds_manager.gd.uid b/sources/minigames/parakeets/clouds_manager.gd.uid new file mode 100644 index 00000000..05e5a4e7 --- /dev/null +++ b/sources/minigames/parakeets/clouds_manager.gd.uid @@ -0,0 +1 @@ +uid://cgtd34f7vi2tj diff --git a/sources/minigames/parakeets/green_parakeet_animations.tres b/sources/minigames/parakeets/green_parakeet_animations.tres index ec479ae9..d483c837 100644 --- a/sources/minigames/parakeets/green_parakeet_animations.tres +++ b/sources/minigames/parakeets/green_parakeet_animations.tres @@ -1,199 +1,241 @@ -[gd_resource type="SpriteFrames" load_steps=45 format=3 uid="uid://b0v0hphpt2npg"] +[gd_resource type="SpriteFrames" load_steps=54 format=3 uid="uid://b0v0hphpt2npg"] [ext_resource type="Texture2D" uid="uid://xo0vj3ubvidu" path="res://assets/minigames/parakeets/graphic/green_parakeet_spritesheet.png" id="1_knm81"] -[sub_resource type="AtlasTexture" id="AtlasTexture_1o8yh"] +[sub_resource type="AtlasTexture" id="AtlasTexture_gvuf7"] atlas = ExtResource("1_knm81") -region = Rect2(0, 1000, 183, 200) +region = Rect2(0, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_ik1ok"] +[sub_resource type="AtlasTexture" id="AtlasTexture_nm05r"] atlas = ExtResource("1_knm81") -region = Rect2(183, 1000, 183, 200) +region = Rect2(800, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_j2ule"] +[sub_resource type="AtlasTexture" id="AtlasTexture_brhei"] atlas = ExtResource("1_knm81") -region = Rect2(366, 1000, 183, 200) +region = Rect2(1600, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_84re5"] +[sub_resource type="AtlasTexture" id="AtlasTexture_s2sia"] atlas = ExtResource("1_knm81") -region = Rect2(549, 1000, 183, 200) +region = Rect2(2400, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_ri562"] +[sub_resource type="AtlasTexture" id="AtlasTexture_2rt04"] atlas = ExtResource("1_knm81") -region = Rect2(732, 1000, 183, 200) +region = Rect2(3200, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_l5rbq"] +[sub_resource type="AtlasTexture" id="AtlasTexture_hxe35"] atlas = ExtResource("1_knm81") -region = Rect2(915, 1000, 183, 200) +region = Rect2(4000, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_bbcw1"] +[sub_resource type="AtlasTexture" id="AtlasTexture_mpwsq"] atlas = ExtResource("1_knm81") -region = Rect2(0, 1200, 183, 200) +region = Rect2(4800, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_pwywc"] +[sub_resource type="AtlasTexture" id="AtlasTexture_mgawq"] atlas = ExtResource("1_knm81") -region = Rect2(183, 1200, 183, 200) +region = Rect2(5600, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_grig5"] +[sub_resource type="AtlasTexture" id="AtlasTexture_j1q2o"] atlas = ExtResource("1_knm81") -region = Rect2(366, 1200, 183, 200) +region = Rect2(0, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_smhx0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_mvk4j"] atlas = ExtResource("1_knm81") -region = Rect2(549, 1200, 183, 200) +region = Rect2(800, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_8mwx0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_crjgi"] atlas = ExtResource("1_knm81") -region = Rect2(732, 1200, 183, 200) +region = Rect2(1600, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_qbhy6"] +[sub_resource type="AtlasTexture" id="AtlasTexture_v5j52"] atlas = ExtResource("1_knm81") -region = Rect2(915, 1200, 183, 200) +region = Rect2(2400, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_hrxht"] +[sub_resource type="AtlasTexture" id="AtlasTexture_daje0"] atlas = ExtResource("1_knm81") -region = Rect2(1098, 1200, 183, 200) +region = Rect2(3200, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_spw0j"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3nd6m"] atlas = ExtResource("1_knm81") -region = Rect2(1281, 1200, 183, 200) +region = Rect2(4000, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_hw7b3"] +[sub_resource type="AtlasTexture" id="AtlasTexture_g2213"] atlas = ExtResource("1_knm81") -region = Rect2(0, 0, 183, 200) +region = Rect2(4800, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_h86tp"] +[sub_resource type="AtlasTexture" id="AtlasTexture_n4gbf"] atlas = ExtResource("1_knm81") -region = Rect2(183, 0, 183, 200) +region = Rect2(5600, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_mwi5j"] +[sub_resource type="AtlasTexture" id="AtlasTexture_dqstx"] atlas = ExtResource("1_knm81") -region = Rect2(366, 0, 183, 200) +region = Rect2(0, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_x46ly"] +[sub_resource type="AtlasTexture" id="AtlasTexture_gh35s"] atlas = ExtResource("1_knm81") -region = Rect2(549, 0, 183, 200) +region = Rect2(800, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_a4g04"] +[sub_resource type="AtlasTexture" id="AtlasTexture_rhfcs"] atlas = ExtResource("1_knm81") -region = Rect2(732, 0, 183, 200) +region = Rect2(1600, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_bu158"] +[sub_resource type="AtlasTexture" id="AtlasTexture_u424q"] atlas = ExtResource("1_knm81") -region = Rect2(915, 0, 183, 200) +region = Rect2(2400, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_kuvg2"] +[sub_resource type="AtlasTexture" id="AtlasTexture_1wbxq"] atlas = ExtResource("1_knm81") -region = Rect2(1098, 0, 183, 200) +region = Rect2(3200, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_5o7uj"] +[sub_resource type="AtlasTexture" id="AtlasTexture_ga7j8"] atlas = ExtResource("1_knm81") -region = Rect2(1281, 0, 183, 200) +region = Rect2(4000, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_4ewlg"] +[sub_resource type="AtlasTexture" id="AtlasTexture_f18vt"] atlas = ExtResource("1_knm81") -region = Rect2(0, 200, 183, 200) +region = Rect2(4800, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_yaegx"] +[sub_resource type="AtlasTexture" id="AtlasTexture_e67nf"] atlas = ExtResource("1_knm81") -region = Rect2(183, 200, 183, 200) +region = Rect2(5600, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_gfu45"] +[sub_resource type="AtlasTexture" id="AtlasTexture_l4v01"] atlas = ExtResource("1_knm81") -region = Rect2(366, 200, 183, 200) +region = Rect2(0, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_8b5ma"] +[sub_resource type="AtlasTexture" id="AtlasTexture_bkbey"] atlas = ExtResource("1_knm81") -region = Rect2(549, 200, 183, 200) +region = Rect2(800, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_77rnf"] +[sub_resource type="AtlasTexture" id="AtlasTexture_2pn5y"] atlas = ExtResource("1_knm81") -region = Rect2(732, 200, 183, 200) +region = Rect2(1600, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_agcw6"] +[sub_resource type="AtlasTexture" id="AtlasTexture_6sc6o"] atlas = ExtResource("1_knm81") -region = Rect2(915, 200, 183, 200) +region = Rect2(2400, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_1suva"] +[sub_resource type="AtlasTexture" id="AtlasTexture_5ws2p"] atlas = ExtResource("1_knm81") -region = Rect2(0, 400, 183, 200) +region = Rect2(3200, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_tlln4"] +[sub_resource type="AtlasTexture" id="AtlasTexture_jno0h"] atlas = ExtResource("1_knm81") -region = Rect2(183, 400, 183, 200) +region = Rect2(4000, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_73pja"] +[sub_resource type="AtlasTexture" id="AtlasTexture_bmpie"] atlas = ExtResource("1_knm81") -region = Rect2(366, 400, 183, 200) +region = Rect2(4800, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_ckwh1"] +[sub_resource type="AtlasTexture" id="AtlasTexture_brldx"] atlas = ExtResource("1_knm81") -region = Rect2(549, 400, 183, 200) +region = Rect2(5600, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_wlrm0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_drr8b"] atlas = ExtResource("1_knm81") -region = Rect2(732, 400, 183, 200) +region = Rect2(0, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_6cg1y"] +[sub_resource type="AtlasTexture" id="AtlasTexture_8kkef"] atlas = ExtResource("1_knm81") -region = Rect2(915, 400, 183, 200) +region = Rect2(800, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_sjqvw"] +[sub_resource type="AtlasTexture" id="AtlasTexture_dekb0"] atlas = ExtResource("1_knm81") -region = Rect2(0, 600, 183, 200) +region = Rect2(1600, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_xru2x"] +[sub_resource type="AtlasTexture" id="AtlasTexture_c7tly"] atlas = ExtResource("1_knm81") -region = Rect2(183, 600, 183, 200) +region = Rect2(2400, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_87l4t"] +[sub_resource type="AtlasTexture" id="AtlasTexture_tl41s"] atlas = ExtResource("1_knm81") -region = Rect2(366, 600, 183, 200) +region = Rect2(3200, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_kdyei"] +[sub_resource type="AtlasTexture" id="AtlasTexture_scowv"] atlas = ExtResource("1_knm81") -region = Rect2(549, 600, 183, 200) +region = Rect2(4000, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_qcric"] +[sub_resource type="AtlasTexture" id="AtlasTexture_holxe"] atlas = ExtResource("1_knm81") -region = Rect2(732, 600, 183, 200) +region = Rect2(4800, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_7yi4s"] +[sub_resource type="AtlasTexture" id="AtlasTexture_a16ef"] atlas = ExtResource("1_knm81") -region = Rect2(915, 600, 183, 200) +region = Rect2(5600, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_e5n7y"] +[sub_resource type="AtlasTexture" id="AtlasTexture_t3qta"] atlas = ExtResource("1_knm81") -region = Rect2(0, 800, 183, 200) +region = Rect2(0, 4000, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_vrpko"] +[sub_resource type="AtlasTexture" id="AtlasTexture_uai2d"] atlas = ExtResource("1_knm81") -region = Rect2(183, 800, 183, 200) +region = Rect2(800, 4000, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_j4i3f"] +[sub_resource type="AtlasTexture" id="AtlasTexture_rp4pj"] atlas = ExtResource("1_knm81") -region = Rect2(366, 800, 183, 200) +region = Rect2(1600, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xxp1i"] +atlas = ExtResource("1_knm81") +region = Rect2(2400, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wubv7"] +atlas = ExtResource("1_knm81") +region = Rect2(3200, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mdixk"] +atlas = ExtResource("1_knm81") +region = Rect2(4000, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kltw6"] +atlas = ExtResource("1_knm81") +region = Rect2(4800, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_temaa"] +atlas = ExtResource("1_knm81") +region = Rect2(5600, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ybyif"] +atlas = ExtResource("1_knm81") +region = Rect2(0, 1600, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pdsb7"] +atlas = ExtResource("1_knm81") +region = Rect2(800, 1600, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bk2kx"] +atlas = ExtResource("1_knm81") +region = Rect2(1600, 1600, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_a7ao3"] +atlas = ExtResource("1_knm81") +region = Rect2(2400, 1600, 800, 800) [resource] animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_1o8yh") +"texture": SubResource("AtlasTexture_gvuf7") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_ik1ok") +"texture": SubResource("AtlasTexture_nm05r") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_j2ule") +"texture": SubResource("AtlasTexture_brhei") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_84re5") +"texture": SubResource("AtlasTexture_s2sia") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_ri562") +"texture": SubResource("AtlasTexture_2rt04") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_l5rbq") +"texture": SubResource("AtlasTexture_hxe35") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mpwsq") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mgawq") }], "loop": true, "name": &"back", @@ -201,28 +243,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_bbcw1") +"texture": SubResource("AtlasTexture_j1q2o") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_pwywc") +"texture": SubResource("AtlasTexture_mvk4j") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_grig5") +"texture": SubResource("AtlasTexture_crjgi") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_smhx0") +"texture": SubResource("AtlasTexture_v5j52") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_8mwx0") +"texture": SubResource("AtlasTexture_daje0") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_qbhy6") +"texture": SubResource("AtlasTexture_3nd6m") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_hrxht") +"texture": SubResource("AtlasTexture_g2213") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_spw0j") +"texture": SubResource("AtlasTexture_n4gbf") }], "loop": true, "name": &"fly", @@ -230,28 +272,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_hw7b3") +"texture": SubResource("AtlasTexture_dqstx") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_h86tp") +"texture": SubResource("AtlasTexture_gh35s") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_mwi5j") +"texture": SubResource("AtlasTexture_rhfcs") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_x46ly") +"texture": SubResource("AtlasTexture_u424q") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_a4g04") +"texture": SubResource("AtlasTexture_1wbxq") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_bu158") +"texture": SubResource("AtlasTexture_ga7j8") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_kuvg2") +"texture": SubResource("AtlasTexture_f18vt") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_5o7uj") +"texture": SubResource("AtlasTexture_e67nf") }], "loop": true, "name": &"happy", @@ -259,22 +301,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_4ewlg") +"texture": SubResource("AtlasTexture_l4v01") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_yaegx") +"texture": SubResource("AtlasTexture_bkbey") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_gfu45") +"texture": SubResource("AtlasTexture_2pn5y") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_8b5ma") +"texture": SubResource("AtlasTexture_6sc6o") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_77rnf") +"texture": SubResource("AtlasTexture_5ws2p") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_agcw6") +"texture": SubResource("AtlasTexture_jno0h") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bmpie") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_brldx") }], "loop": true, "name": &"idle_front", @@ -282,22 +330,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_1suva") +"texture": SubResource("AtlasTexture_drr8b") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_tlln4") +"texture": SubResource("AtlasTexture_8kkef") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_73pja") +"texture": SubResource("AtlasTexture_dekb0") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_ckwh1") +"texture": SubResource("AtlasTexture_c7tly") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_wlrm0") +"texture": SubResource("AtlasTexture_tl41s") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_6cg1y") +"texture": SubResource("AtlasTexture_scowv") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_holxe") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_a16ef") }], "loop": true, "name": &"idle_front_blink", @@ -305,36 +359,45 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_sjqvw") +"texture": SubResource("AtlasTexture_t3qta") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_xru2x") +"texture": SubResource("AtlasTexture_uai2d") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_87l4t") +"texture": SubResource("AtlasTexture_rp4pj") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_kdyei") +"texture": SubResource("AtlasTexture_xxp1i") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_qcric") +"texture": SubResource("AtlasTexture_wubv7") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_7yi4s") +"texture": SubResource("AtlasTexture_mdixk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kltw6") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_temaa") }], -"loop": true, +"loop": false, "name": &"sad", "speed": 7.0 }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_e5n7y") +"texture": SubResource("AtlasTexture_ybyif") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_vrpko") +"texture": SubResource("AtlasTexture_pdsb7") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_j4i3f") +"texture": SubResource("AtlasTexture_bk2kx") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_a7ao3") }], "loop": false, "name": &"turn_to_back", diff --git a/sources/minigames/parakeets/green_parakeet_feathers_animations.tres b/sources/minigames/parakeets/green_parakeet_feathers_animations.tres new file mode 100644 index 00000000..fed6f641 --- /dev/null +++ b/sources/minigames/parakeets/green_parakeet_feathers_animations.tres @@ -0,0 +1,67 @@ +[gd_resource type="SpriteFrames" load_steps=10 format=3 uid="uid://ecmie8tg1cf7"] + +[ext_resource type="Texture2D" uid="uid://xo0vj3ubvidu" path="res://assets/minigames/parakeets/graphic/green_parakeet_spritesheet.png" id="1_0mxru"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_p03nk"] +atlas = ExtResource("1_0mxru") +region = Rect2(0, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i5s4f"] +atlas = ExtResource("1_0mxru") +region = Rect2(800, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_l0s2a"] +atlas = ExtResource("1_0mxru") +region = Rect2(1600, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tt32a"] +atlas = ExtResource("1_0mxru") +region = Rect2(2400, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_l8qvt"] +atlas = ExtResource("1_0mxru") +region = Rect2(3200, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vblis"] +atlas = ExtResource("1_0mxru") +region = Rect2(4000, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e757m"] +atlas = ExtResource("1_0mxru") +region = Rect2(4800, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_iwxb4"] +atlas = ExtResource("1_0mxru") +region = Rect2(5600, 4800, 800, 800) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_p03nk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i5s4f") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_l0s2a") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_tt32a") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_l8qvt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vblis") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e757m") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_iwxb4") +}], +"loop": false, +"name": &"feathers_fall", +"speed": 7.0 +}] diff --git a/sources/minigames/parakeets/parakeet.gd b/sources/minigames/parakeets/parakeet.gd index be58c079..8dcd01ce 100644 --- a/sources/minigames/parakeets/parakeet.gd +++ b/sources/minigames/parakeets/parakeet.gd @@ -1,4 +1,3 @@ -@tool class_name Parakeet extends Node2D @@ -16,6 +15,11 @@ const ANIMATIONS: Array[SpriteFrames] = [ preload("res://sources/minigames/parakeets/green_parakeet_animations.tres"), preload("res://sources/minigames/parakeets/yellow_parakeet_animation.tres") ] +const FEATHERS_ANIMATIONS: Array[SpriteFrames] = [ + preload("res://sources/minigames/parakeets/red_parakeet_feathers_animations.tres"), + preload("res://sources/minigames/parakeets/green_parakeet_feathers_animations.tres"), + preload("res://sources/minigames/parakeets/yellow_parakeet_feathers_animations.tres") +] @export var sad_duration: float = 2.0 @export var color: Colors = Colors.Red: @@ -23,6 +27,7 @@ const ANIMATIONS: Array[SpriteFrames] = [ color = value if animated_sprite: animated_sprite.sprite_frames = ANIMATIONS[color] + animated_sprite_2d_feathers.sprite_frames = FEATHERS_ANIMATIONS[color] @export var uppercase: bool = true: set(value): uppercase = value @@ -34,11 +39,16 @@ var stimulus: Dictionary = {}: stimulus = value var grapheme: String = value.Grapheme as String label.text = grapheme.to_upper() if uppercase else grapheme +var original_label_settings: LabelSettings +var original_text_box_color: Color @onready var animated_sprite: AnimatedSprite2D = $AnimatedSprite2D +@onready var animated_sprite_2d_feathers: AnimatedSprite2D = $AnimatedSprite2D_Feathers @onready var label: Label = $Label @onready var right_FX: RightFX = $RightFX @onready var wrong_FX: WrongFX = $WrongFX +@onready var text_box_sprite_2d: Sprite2D = %TextBox_Sprite2D +@onready var text_box_outline_sprite_2d: Sprite2D = %TextBox_Outline_Sprite2D static func instantiate() -> Parakeet: @@ -48,6 +58,8 @@ static func instantiate() -> Parakeet: func _ready() -> void: color = color animated_sprite.play("idle_front") + original_label_settings = label.label_settings + original_text_box_color = text_box_sprite_2d.self_modulate func _on_button_pressed() -> void: @@ -78,7 +90,6 @@ func _on_animated_sprite_2d_animation_looped() -> void: func fly_to(target: Vector2, duration: float) -> void: animated_sprite.play("fly") - label.position.y = -195 var tween: Tween = create_tween() tween.set_trans(Tween.TRANS_SINE) tween.set_ease(Tween.EASE_IN_OUT) @@ -92,19 +103,44 @@ func happy() -> void: func idle() -> void: animated_sprite.play("idle_front") - label.position.y = -166 func sad() -> void: animated_sprite.play("sad") + animated_sprite_2d_feathers.modulate.a = 1.0 + animated_sprite_2d_feathers.show() + animated_sprite_2d_feathers.play("feathers_fall") await get_tree().create_timer(sad_duration).timeout + label.label_settings = original_label_settings + text_box_sprite_2d.self_modulate = original_text_box_color + text_box_outline_sprite_2d.visible = false + call_deferred("_hide_feathers") + + +func _hide_feathers() -> void: + await get_tree().create_timer(1).timeout + var tween: Tween = create_tween() + tween.tween_property(animated_sprite_2d_feathers, "modulate:a", 0.0, 0.5) + tween.finished.connect(func() -> void: + animated_sprite_2d_feathers.hide() + ) func right() -> void: + label.label_settings = label.label_settings.duplicate() + label.label_settings.font_color = Color("#009444") + text_box_sprite_2d.self_modulate = Color("#e6f3e0") + text_box_outline_sprite_2d.self_modulate = Color("#009344") + text_box_outline_sprite_2d.visible = true right_FX.play() await right_FX.finished func wrong() -> void: + label.label_settings = label.label_settings.duplicate() + label.label_settings.font_color = Color("#be1e2d") + text_box_sprite_2d.self_modulate = Color("#fce6e6") + text_box_outline_sprite_2d.self_modulate = Color("#be1e2d") + text_box_outline_sprite_2d.visible = true wrong_FX.play() await wrong_FX.finished diff --git a/sources/minigames/parakeets/parakeet.tscn b/sources/minigames/parakeets/parakeet.tscn index 5bac71e4..8fb5d13f 100644 --- a/sources/minigames/parakeets/parakeet.tscn +++ b/sources/minigames/parakeets/parakeet.tscn @@ -1,62 +1,127 @@ -[gd_scene load_steps=12 format=3 uid="uid://cmoeum0oc0p2"] +[gd_scene load_steps=18 format=3 uid="uid://cmoeum0oc0p2"] [ext_resource type="Script" uid="uid://cir1ejxole7pu" path="res://sources/minigames/parakeets/parakeet.gd" id="1_p0nqk"] [ext_resource type="PackedScene" uid="uid://cn2rw06pltyiu" path="res://sources/utils/fx/right.tscn" id="2_afmcm"] [ext_resource type="SpriteFrames" uid="uid://wybpq21deku7" path="res://sources/minigames/parakeets/red_parakeet_animations.tres" id="2_k0dcm"] -[ext_resource type="LabelSettings" uid="uid://bguqnhiblwick" path="res://resources/themes/minigames_label_settings.tres" id="4_a2lqo"] +[ext_resource type="Texture2D" uid="uid://c34sgkbvr3h8q" path="res://assets/minigames/minigame_ui/graphic/primary_text_box.png" id="3_jc4en"] +[ext_resource type="Script" uid="uid://d5qkkg88431w" path="res://sources/utils/percent_margin_container.gd" id="4_oc4sp"] [ext_resource type="FontFile" uid="uid://bw8cb4e0a7ayj" path="res://assets/fonts/kalulu_mulish_regular.otf" id="4_xdkkw"] +[ext_resource type="PackedScene" uid="uid://bgio7muqck2bu" path="res://sources/utils/auto_size_label.tscn" id="5_q71gb"] +[ext_resource type="LabelSettings" uid="uid://c7aoyw5gjrrnp" path="res://resources/themes/minigames_label_settings_parakeet.tres" id="5_xdkkw"] [ext_resource type="PackedScene" uid="uid://dlmbxcgiv8tpr" path="res://sources/utils/fx/wrong.tscn" id="6_7mdw2"] +[ext_resource type="Texture2D" uid="uid://bbtr0cyiapi3g" path="res://assets/minigames/minigame_ui/graphic/primary_text_box_outline.png" id="7_erv6y"] +[ext_resource type="SpriteFrames" uid="uid://bvi4lwir6n27s" path="res://sources/minigames/parakeets/red_parakeet_feathers_animations.tres" id="9_oc4sp"] -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_45x46"] - -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_b6a1p"] - -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_aup5h"] - -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_mmhru"] +[sub_resource type="LabelSettings" id="LabelSettings_thibt"] +font = ExtResource("4_xdkkw") +font_size = 120 +font_color = Color(0.2, 0.2, 0.2, 1) +outline_color = Color(0.2, 0.2, 0.2, 1) [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_2q8kg"] +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_mmhru"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_aup5h"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_b6a1p"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_45x46"] + [node name="Parakeet" type="Node2D"] +scale = Vector2(0.2, 0.2) script = ExtResource("1_p0nqk") [node name="RightFX" parent="." instance=ExtResource("2_afmcm")] offset_top = -104.0 offset_bottom = -104.0 +[node name="TextBox_Sprite2D" type="Sprite2D" parent="."] +unique_name_in_owner = true +position = Vector2(0, 600) +scale = Vector2(1.5, 1.5) +texture = ExtResource("3_jc4en") + +[node name="PercentMarginContainer" type="Container" parent="TextBox_Sprite2D"] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = -297.0 +offset_top = -114.5 +offset_right = -297.0 +offset_bottom = -114.5 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("4_oc4sp") +margin_left_ratio = 0.2 +margin_top_ratio = 0.1 +margin_right_ratio = 0.2 +margin_bottom_ratio = 0.2 + +[node name="AspectRatioContainer" type="AspectRatioContainer" parent="TextBox_Sprite2D/PercentMarginContainer"] +layout_mode = 2 + +[node name="AutoSizeLabel" parent="TextBox_Sprite2D/PercentMarginContainer/AspectRatioContainer" instance=ExtResource("5_q71gb")] +unique_name_in_owner = true +layout_mode = 2 + +[node name="Label" parent="TextBox_Sprite2D/PercentMarginContainer/AspectRatioContainer/AutoSizeLabel" index="0"] +theme_override_colors/font_color = Color(0, 0, 0, 1) +text = "" +label_settings = SubResource("LabelSettings_thibt") + +[node name="TextBox_Outline_Sprite2D" type="Sprite2D" parent="TextBox_Sprite2D"] +unique_name_in_owner = true +visible = false +texture = ExtResource("7_erv6y") + [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] scale = Vector2(2, 2) sprite_frames = ExtResource("2_k0dcm") -animation = &"idle_front" +animation = &"sad" autoplay = "idle_front" -frame_progress = 0.660885 +offset = Vector2(2.08165e-12, -82) + +[node name="AnimatedSprite2D_Feathers" type="AnimatedSprite2D" parent="."] +visible = false +scale = Vector2(2, 2) +sprite_frames = ExtResource("9_oc4sp") +animation = &"feathers_fall" offset = Vector2(2.08165e-12, -82) [node name="Label" type="Label" parent="."] -offset_left = -88.0 -offset_top = -166.0 -offset_right = 88.0 -offset_bottom = -44.0 -theme_override_fonts/font = ExtResource("4_xdkkw") -theme_override_font_sizes/font_size = 90 -label_settings = ExtResource("4_a2lqo") +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -320.0 +offset_top = 439.99994 +offset_right = 320.0 +offset_bottom = 759.99994 +grow_horizontal = 2 +grow_vertical = 2 +label_settings = ExtResource("5_xdkkw") horizontal_alignment = 1 vertical_alignment = 1 [node name="Button" type="Button" parent="."] -offset_left = -91.0 -offset_top = -255.0 -offset_right = 90.0 -offset_bottom = 13.0 -theme_override_styles/focus = SubResource("StyleBoxEmpty_45x46") -theme_override_styles/disabled = SubResource("StyleBoxEmpty_b6a1p") -theme_override_styles/hover = SubResource("StyleBoxEmpty_aup5h") -theme_override_styles/pressed = SubResource("StyleBoxEmpty_mmhru") +offset_left = -325.0 +offset_top = -680.0 +offset_right = 325.0 +offset_bottom = 420.0 theme_override_styles/normal = SubResource("StyleBoxEmpty_2q8kg") +theme_override_styles/pressed = SubResource("StyleBoxEmpty_mmhru") +theme_override_styles/hover = SubResource("StyleBoxEmpty_aup5h") +theme_override_styles/disabled = SubResource("StyleBoxEmpty_b6a1p") +theme_override_styles/focus = SubResource("StyleBoxEmpty_45x46") [node name="WrongFX" parent="." instance=ExtResource("6_7mdw2")] offset_top = -104.0 offset_bottom = -104.0 [connection signal="animation_looped" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_looped"] +[connection signal="animation_looped" from="AnimatedSprite2D_Feathers" to="." method="_on_animated_sprite_2d_animation_looped"] [connection signal="pressed" from="Button" to="." method="_on_button_pressed"] + +[editable path="TextBox_Sprite2D/PercentMarginContainer/AspectRatioContainer/AutoSizeLabel"] diff --git a/sources/minigames/parakeets/parakeets_minigame.gd b/sources/minigames/parakeets/parakeets_minigame.gd index 4aff3eb1..26376fc8 100644 --- a/sources/minigames/parakeets/parakeets_minigame.gd +++ b/sources/minigames/parakeets/parakeets_minigame.gd @@ -1,4 +1,3 @@ -@tool extends Minigame enum State { @@ -35,11 +34,11 @@ var parakeets: Array[Parakeet] = [] var selected: Array[Parakeet] = [] var state: State = State.Locked -@onready var branches: Control = $GameRoot/TreeTrunk/Branches +@onready var branches: Node2D = $GameRoot/TreeTrunk/Branches @onready var possible_start_positions_parent: Control = $GameRoot/FlyFrom -@onready var parakeets_node: Control = $GameRoot/Parakeets -@onready var nest_position_1: Control = $GameRoot/TreeTrunk/Branches/TreeBranch5/TreeNestBack/TreeNestFront/Position1 -@onready var nest_position_2: Control = $GameRoot/TreeTrunk/Branches/TreeBranch5/TreeNestBack/TreeNestFront/Position2 +@onready var parakeets_node: Node = $GameRoot/Parakeets +@onready var nest_position_1: Node2D = $GameRoot/TreeTrunk/Branches/TreeBranch5/Nest/Position1 +@onready var nest_position_2: Node2D = $GameRoot/TreeTrunk/Branches/TreeBranch5/Nest/Position2 @onready var nest_positions: Array[Vector2] = [ nest_position_1.global_position, nest_position_2.global_position @@ -104,7 +103,7 @@ func _start() -> void: super() var possible_positions: Array[Vector2] = [] for branch: Node in branches.get_children(): - for child: Control in branch.get_children(): + for child: Node2D in branch.get_children(): if "Position" in child.name: possible_positions.append(child.global_position) possible_positions.shuffle() @@ -140,21 +139,16 @@ func _on_parakeet_pressed(parakeet: Parakeet) -> void: func _correct() -> void: - if selected[0].global_position.x > selected[1].global_position.x: + # Ensure Upper letter is on the left + if selected[1].label.text == selected[0].label.text.to_upper(): var buffer: Parakeet = selected[0] selected[0] = selected[1] selected[1] = buffer - await _make_selected_happy() current_progression += 1 - await _fly_to(nest_positions) - await _make_selected_coo() - _fly_to(fly_away_positions) - - state = State.Idle selected.clear() @@ -216,6 +210,9 @@ func _make_selected_coo() -> void: func _fly_to(targets: Array[Vector2]) -> void: + var parent: Node = selected[0].get_parent() + parent.move_child(selected[0], parent.get_child_count() - 1) + parent.move_child(selected[1], parent.get_child_count() - 1) var coroutine: Coroutine = Coroutine.new() audio_player.stream = AUDIO_STREAMS[Audio.Fly] audio_player.play() diff --git a/sources/minigames/parakeets/parakeets_minigame.tscn b/sources/minigames/parakeets/parakeets_minigame.tscn index c1b76aec..a1e629c4 100644 --- a/sources/minigames/parakeets/parakeets_minigame.tscn +++ b/sources/minigames/parakeets/parakeets_minigame.tscn @@ -1,19 +1,19 @@ -[gd_scene load_steps=12 format=3 uid="uid://8cbihh6410yp"] +[gd_scene load_steps=15 format=3 uid="uid://8cbihh6410yp"] [ext_resource type="PackedScene" uid="uid://8awe4usnucyv" path="res://sources/minigames/base/base_minigame.tscn" id="1_oeg4r"] [ext_resource type="Script" uid="uid://dlq28cmi0bpm8" path="res://sources/minigames/parakeets/parakeets_minigame.gd" id="2_x6xn5"] -[ext_resource type="Texture2D" uid="uid://dv1ombj8eolb1" path="res://assets/minigames/parakeets/graphic/background.png" id="3_xjvte"] -[ext_resource type="Texture2D" uid="uid://clvh07xfgjmri" path="res://assets/minigames/parakeets/graphic/tree_trunk.png" id="4_unuga"] -[ext_resource type="Texture2D" uid="uid://d3n327me83on7" path="res://assets/minigames/parakeets/graphic/tree_branch.png" id="5_46kss"] -[ext_resource type="Shader" uid="uid://da5cg0cin6tgm" path="res://resources/shaders/move_shader.gdshader" id="5_q7573"] +[ext_resource type="Texture2D" uid="uid://cc01gd1hm6hc3" path="res://assets/minigames/parakeets/graphic/background_1.png" id="5_41y6a"] [ext_resource type="Texture2D" uid="uid://dpx72xoqt8lkq" path="res://assets/minigames/parakeets/graphic/gauge_icon_parakeet_empty.png" id="5_yt7mv"] +[ext_resource type="Texture2D" uid="uid://pj0mlw24jayt" path="res://assets/minigames/parakeets/graphic/background_2.png" id="6_6ktwy"] [ext_resource type="Texture2D" uid="uid://di2qcv6jw8wh0" path="res://assets/minigames/parakeets/graphic/gauge_icon_parakeet_full.png" id="6_46vnr"] -[ext_resource type="Texture2D" uid="uid://sjxhvbq8ijbw" path="res://assets/minigames/parakeets/graphic/nest_back.png" id="6_g64mq"] -[ext_resource type="Texture2D" uid="uid://ctvnu3s3sgwwf" path="res://assets/minigames/parakeets/graphic/nest_front.png" id="7_3mibn"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_0375j"] -shader = ExtResource("5_q7573") -shader_parameter/direction = Vector2(0.015, 0) +[ext_resource type="Texture2D" uid="uid://cs16kbsvnsltg" path="res://assets/minigames/parakeets/graphic/background_3.png" id="7_k6xou"] +[ext_resource type="Script" path="res://sources/minigames/parakeets/clouds_manager.gd" id="8_cy1rn"] +[ext_resource type="Texture2D" uid="uid://0p171y6thba8" path="res://assets/minigames/parakeets/graphic/tree.png" id="8_g6pid"] +[ext_resource type="Texture2D" uid="uid://ca2jljrk2wnjt" path="res://assets/minigames/parakeets/graphic/nest.png" id="9_0u6jo"] +[ext_resource type="Texture2D" uid="uid://rx270y4n7tul" path="res://assets/minigames/parakeets/graphic/cloud_1.png" id="9_6ktwy"] +[ext_resource type="Texture2D" uid="uid://w835wgqcmdvg" path="res://assets/minigames/parakeets/graphic/ant.png" id="10_hrbjs"] +[ext_resource type="Texture2D" uid="uid://dphj3hqfnnw4p" path="res://assets/minigames/parakeets/graphic/cloud_2.png" id="10_k6xou"] +[ext_resource type="Texture2D" uid="uid://1btgagsporxa" path="res://assets/minigames/parakeets/graphic/cloud_3.png" id="11_g6pid"] [node name="Parakeets" instance=ExtResource("1_oeg4r")] script = ExtResource("2_x6xn5") @@ -30,188 +30,128 @@ stimulus_button_visible = false [node name="Background" type="TextureRect" parent="GameRoot" index="0"] texture_repeat = 3 -material = SubResource("ShaderMaterial_0375j") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("3_xjvte") +texture = ExtResource("5_41y6a") -[node name="TreeTrunk" type="TextureRect" parent="GameRoot" index="1"] -layout_mode = 1 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -46.0 -offset_top = -900.0 -offset_right = 147.0 -offset_bottom = 900.0 -grow_horizontal = 2 -grow_vertical = 2 -texture = ExtResource("4_unuga") +[node name="BackgroundSun" type="Sprite2D" parent="GameRoot" index="1"] +position = Vector2(1900, 230) +texture = ExtResource("7_k6xou") -[node name="Branches" type="Control" parent="GameRoot/TreeTrunk" index="0"] -anchors_preset = 0 -offset_left = -1234.0 -offset_right = -1194.0 -offset_bottom = 40.0 +[node name="Clouds" type="Node2D" parent="GameRoot" index="2"] +script = ExtResource("8_cy1rn") +max_speed = 80.0 +min_y = 100.0 +max_y = 300.0 -[node name="TreeBranch" type="TextureRect" parent="GameRoot/TreeTrunk/Branches" index="0"] -layout_mode = 0 -offset_left = 462.0 -offset_top = 676.0 -offset_right = 1286.0 -offset_bottom = 756.0 -texture = ExtResource("5_46kss") +[node name="cloud_1" type="Sprite2D" parent="GameRoot/Clouds" index="0"] +position = Vector2(623, 253.5) +texture = ExtResource("9_6ktwy") -[node name="Position" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch" index="0"] -anchors_preset = 0 -offset_left = 109.0 -offset_top = 1.0 -offset_right = 149.0 -offset_bottom = 41.0 +[node name="cloud_2" type="Sprite2D" parent="GameRoot/Clouds" index="1"] +position = Vector2(1088, 256) +texture = ExtResource("10_k6xou") -[node name="Position2" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch" index="1"] -anchors_preset = 0 -offset_left = 390.0 -offset_top = 1.0 -offset_right = 430.0 -offset_bottom = 41.0 +[node name="cloud_3" type="Sprite2D" parent="GameRoot/Clouds" index="2"] +position = Vector2(1904, 248) +texture = ExtResource("11_g6pid") -[node name="Position3" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch" index="2"] -anchors_preset = 0 -offset_left = 658.0 -offset_top = 1.0 -offset_right = 698.0 -offset_bottom = 41.0 - -[node name="TreeBranch2" type="TextureRect" parent="GameRoot/TreeTrunk/Branches" index="1"] -layout_mode = 0 -offset_left = 1312.0 -offset_top = 431.0 -offset_right = 2187.0 -offset_bottom = 511.0 -texture = ExtResource("5_46kss") - -[node name="Position" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch2" index="0"] -anchors_preset = 0 -offset_left = 203.0 -offset_right = 292.0 -offset_bottom = 21.0 - -[node name="Position2" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch2" index="1"] -anchors_preset = 0 -offset_left = 517.0 -offset_right = 557.0 -offset_bottom = 40.0 - -[node name="Position3" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch2" index="2"] -anchors_preset = 0 -offset_left = 794.0 -offset_right = 834.0 - -[node name="TreeBranch3" type="TextureRect" parent="GameRoot/TreeTrunk/Branches" index="2"] -layout_mode = 0 -offset_left = 1360.0 -offset_top = 839.0 -offset_right = 2344.0 -offset_bottom = 919.0 -texture = ExtResource("5_46kss") - -[node name="Position" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch3" index="0"] -anchors_preset = 0 -offset_left = 130.0 -offset_right = 170.0 -offset_bottom = 40.0 - -[node name="Position2" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch3" index="1"] -anchors_preset = 0 -offset_left = 420.0 -offset_right = 460.0 -offset_bottom = 40.0 - -[node name="Position3" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch3" index="2"] -anchors_preset = 0 -offset_left = 689.0 -offset_right = 729.0 -offset_bottom = 40.0 - -[node name="Position4" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch3" index="3"] -anchors_preset = 0 -offset_left = 902.0 -offset_right = 942.0 -offset_bottom = 40.0 - -[node name="TreeBranch4" type="TextureRect" parent="GameRoot/TreeTrunk/Branches" index="3"] -layout_mode = 0 -offset_left = 498.0 -offset_top = 1145.0 -offset_right = 1307.0 -offset_bottom = 1225.0 -texture = ExtResource("5_46kss") - -[node name="Position" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch4" index="0"] -anchors_preset = 0 -offset_left = 163.0 -offset_right = 203.0 -offset_bottom = 40.0 - -[node name="Position2" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch4" index="1"] -anchors_preset = 0 -offset_left = 514.0 -offset_right = 554.0 -offset_bottom = 40.0 - -[node name="TreeBranch5" type="TextureRect" parent="GameRoot/TreeTrunk/Branches" index="4"] -layout_mode = 0 -offset_left = 1289.0 -offset_top = 1502.0 -offset_right = 2040.0 -offset_bottom = 1582.0 -texture = ExtResource("5_46kss") - -[node name="TreeNestBack" type="TextureRect" parent="GameRoot/TreeTrunk/Branches/TreeBranch5" index="0"] -layout_mode = 0 -offset_left = 268.0 -offset_top = -97.0 -offset_right = 618.0 -offset_bottom = 10.0 -texture = ExtResource("6_g64mq") - -[node name="TreeNestFront" type="TextureRect" parent="GameRoot/TreeTrunk/Branches/TreeBranch5/TreeNestBack" index="0"] -z_index = 1 +[node name="BackgroundShadows" type="TextureRect" parent="GameRoot" index="3"] +texture_repeat = 3 layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_3mibn") +texture = ExtResource("6_6ktwy") -[node name="Position1" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch5/TreeNestBack/TreeNestFront" index="0"] -anchors_preset = 0 -offset_left = 109.0 -offset_top = 45.0 -offset_right = 149.0 -offset_bottom = 85.0 +[node name="TreeTrunk" type="Sprite2D" parent="GameRoot" index="4"] +position = Vector2(1300, 900) +scale = Vector2(0.85, 1) +texture = ExtResource("8_g6pid") -[node name="Position2" type="Control" parent="GameRoot/TreeTrunk/Branches/TreeBranch5/TreeNestBack/TreeNestFront" index="1"] -anchors_preset = 0 -offset_left = 239.0 -offset_top = 45.0 -offset_right = 279.0 -offset_bottom = 85.0 +[node name="Branches" type="Node2D" parent="GameRoot/TreeTrunk" index="0"] -[node name="Parakeets" type="Control" parent="GameRoot" index="2"] -anchors_preset = 0 -offset_right = 40.0 -offset_bottom = 40.0 +[node name="TreeBranch" type="Node2D" parent="GameRoot/TreeTrunk/Branches" index="0"] -[node name="FlyFrom" type="Control" parent="GameRoot" index="3"] +[node name="Position" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch" index="0"] +position = Vector2(275, -506) + +[node name="Position2" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch" index="1"] +position = Vector2(650, -506) + +[node name="Position3" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch" index="2"] +position = Vector2(1000, -506) + +[node name="TreeBranch2" type="Node2D" parent="GameRoot/TreeTrunk/Branches" index="1"] + +[node name="Position" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch2" index="0"] +position = Vector2(-900, -338) + +[node name="Position2" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch2" index="1"] +position = Vector2(-588, -338) + +[node name="Position3" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch2" index="2"] +position = Vector2(-290, -338) + +[node name="TreeBranch3" type="Node2D" parent="GameRoot/TreeTrunk/Branches" index="2"] + +[node name="Position" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch3" index="0"] +position = Vector2(200, 38) + +[node name="Position2" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch3" index="1"] +position = Vector2(490, 38) + +[node name="Position3" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch3" index="2"] +position = Vector2(780, 38) + +[node name="Position4" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch3" index="3"] +position = Vector2(1070, 38) + +[node name="TreeBranch4" type="Node2D" parent="GameRoot/TreeTrunk/Branches" index="3"] + +[node name="Position" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch4" index="0"] +position = Vector2(-785, 270) + +[node name="Position2" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch4" index="1"] +position = Vector2(-362, 270) + +[node name="TreeBranch5" type="Node2D" parent="GameRoot/TreeTrunk/Branches" index="4"] + +[node name="Nest" type="Sprite2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch5" index="0"] +position = Vector2(550, 551) +rotation = -0.012217305 +texture = ExtResource("9_0u6jo") + +[node name="Position1" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch5/Nest" index="0"] +position = Vector2(-120, -77) + +[node name="Position2" type="Marker2D" parent="GameRoot/TreeTrunk/Branches/TreeBranch5/Nest" index="1"] +position = Vector2(180, -77) + +[node name="Ant" type="Sprite2D" parent="GameRoot/TreeTrunk" index="1"] +position = Vector2(-122, 777) +scale = Vector2(0.5, 0.5) +texture = ExtResource("10_hrbjs") + +[node name="Ant2" type="Sprite2D" parent="GameRoot/TreeTrunk" index="2"] +position = Vector2(-122, 600) +scale = Vector2(0.5, 0.5) +texture = ExtResource("10_hrbjs") + +[node name="Ant3" type="Sprite2D" parent="GameRoot/TreeTrunk" index="3"] +position = Vector2(101, 800) +scale = Vector2(-0.5, 0.5) +texture = ExtResource("10_hrbjs") + +[node name="Parakeets" type="Node" parent="GameRoot" index="5"] + +[node name="FlyFrom" type="Control" parent="GameRoot" index="6"] anchors_preset = 0 offset_left = 2832.0 offset_top = 1157.0 @@ -219,7 +159,6 @@ offset_right = 2872.0 offset_bottom = 1197.0 [node name="Position1" type="Control" parent="GameRoot/FlyFrom" index="0"] -layout_mode = 3 anchors_preset = 0 offset_left = -2494.0 offset_top = -1437.0 @@ -227,7 +166,6 @@ offset_right = -2454.0 offset_bottom = -1397.0 [node name="Position2" type="Control" parent="GameRoot/FlyFrom" index="1"] -layout_mode = 3 anchors_preset = 0 offset_left = -1738.0 offset_top = -1398.0 @@ -235,7 +173,6 @@ offset_right = -1698.0 offset_bottom = -1358.0 [node name="Position3" type="Control" parent="GameRoot/FlyFrom" index="2"] -layout_mode = 3 anchors_preset = 0 offset_left = -944.0 offset_top = -1341.0 @@ -243,7 +180,6 @@ offset_right = -904.0 offset_bottom = -1301.0 [node name="Position4" type="Control" parent="GameRoot/FlyFrom" index="3"] -layout_mode = 3 anchors_preset = 0 offset_left = 154.0 offset_top = -916.0 @@ -251,7 +187,6 @@ offset_right = 194.0 offset_bottom = -876.0 [node name="Position5" type="Control" parent="GameRoot/FlyFrom" index="4"] -layout_mode = 3 anchors_preset = 0 offset_left = -4.0 offset_top = -528.0 @@ -259,7 +194,6 @@ offset_right = 36.0 offset_bottom = -488.0 [node name="Position6" type="Control" parent="GameRoot/FlyFrom" index="5"] -layout_mode = 3 anchors_preset = 0 offset_left = -39.0 offset_top = -205.0 @@ -267,7 +201,6 @@ offset_right = 1.0 offset_bottom = -165.0 [node name="Position7" type="Control" parent="GameRoot/FlyFrom" index="6"] -layout_mode = 3 anchors_preset = 0 offset_left = -33.0 offset_top = 360.0 @@ -275,7 +208,6 @@ offset_right = 7.0 offset_bottom = 400.0 [node name="Position8" type="Control" parent="GameRoot/FlyFrom" index="7"] -layout_mode = 3 anchors_preset = 0 offset_left = -3198.0 offset_top = 164.0 @@ -283,7 +215,6 @@ offset_right = -3158.0 offset_bottom = 204.0 [node name="Position9" type="Control" parent="GameRoot/FlyFrom" index="8"] -layout_mode = 3 anchors_preset = 0 offset_left = -3386.0 offset_top = -297.0 @@ -291,7 +222,6 @@ offset_right = -3346.0 offset_bottom = -257.0 [node name="Position10" type="Control" parent="GameRoot/FlyFrom" index="9"] -layout_mode = 3 anchors_preset = 0 offset_left = -3068.0 offset_top = -579.0 @@ -299,7 +229,6 @@ offset_right = -3028.0 offset_bottom = -539.0 [node name="Position11" type="Control" parent="GameRoot/FlyFrom" index="10"] -layout_mode = 3 anchors_preset = 0 offset_left = -3160.0 offset_top = -967.0 @@ -307,14 +236,13 @@ offset_right = -3120.0 offset_bottom = -927.0 [node name="Position12" type="Control" parent="GameRoot/FlyFrom" index="11"] -layout_mode = 3 anchors_preset = 0 offset_left = -2744.0 offset_top = -1312.0 offset_right = -2704.0 offset_bottom = -1272.0 -[node name="FlyAway" type="Control" parent="GameRoot" index="4"] +[node name="FlyAway" type="Control" parent="GameRoot" index="7"] anchors_preset = 0 offset_left = 3046.0 offset_top = 1048.0 @@ -322,7 +250,6 @@ offset_right = 3086.0 offset_bottom = 1088.0 [node name="Position1" type="Control" parent="GameRoot/FlyAway" index="0"] -layout_mode = 3 anchors_preset = 0 offset_left = 109.0 offset_top = 45.0 @@ -330,7 +257,6 @@ offset_right = 149.0 offset_bottom = 85.0 [node name="Position2" type="Control" parent="GameRoot/FlyAway" index="1"] -layout_mode = 3 anchors_preset = 0 offset_left = 239.0 offset_top = 45.0 diff --git a/sources/minigames/parakeets/red_parakeet_animations.tres b/sources/minigames/parakeets/red_parakeet_animations.tres index d8419634..eea0dbd9 100644 --- a/sources/minigames/parakeets/red_parakeet_animations.tres +++ b/sources/minigames/parakeets/red_parakeet_animations.tres @@ -1,195 +1,241 @@ -[gd_resource type="SpriteFrames" load_steps=44 format=3 uid="uid://wybpq21deku7"] +[gd_resource type="SpriteFrames" load_steps=54 format=3 uid="uid://wybpq21deku7"] [ext_resource type="Texture2D" uid="uid://ct4ags1dnh17v" path="res://assets/minigames/parakeets/graphic/red_parakeet_spritesheet.png" id="1_xu2lq"] -[sub_resource type="AtlasTexture" id="AtlasTexture_2m73y"] +[sub_resource type="AtlasTexture" id="AtlasTexture_4vak1"] atlas = ExtResource("1_xu2lq") -region = Rect2(0, 0, 183, 200) +region = Rect2(0, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_6aofb"] +[sub_resource type="AtlasTexture" id="AtlasTexture_tvis4"] atlas = ExtResource("1_xu2lq") -region = Rect2(183, 0, 183, 200) +region = Rect2(800, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_t41im"] +[sub_resource type="AtlasTexture" id="AtlasTexture_upjc4"] atlas = ExtResource("1_xu2lq") -region = Rect2(366, 0, 183, 200) +region = Rect2(1600, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_r4sl4"] +[sub_resource type="AtlasTexture" id="AtlasTexture_35xq0"] atlas = ExtResource("1_xu2lq") -region = Rect2(549, 0, 183, 200) +region = Rect2(2400, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_uu1ct"] +[sub_resource type="AtlasTexture" id="AtlasTexture_hwivr"] atlas = ExtResource("1_xu2lq") -region = Rect2(732, 0, 183, 200) +region = Rect2(3200, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_x2gj2"] +[sub_resource type="AtlasTexture" id="AtlasTexture_fa7d2"] atlas = ExtResource("1_xu2lq") -region = Rect2(915, 0, 183, 200) +region = Rect2(4000, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_q0nc0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_071o1"] atlas = ExtResource("1_xu2lq") -region = Rect2(0, 200, 183, 200) +region = Rect2(4800, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_coog2"] +[sub_resource type="AtlasTexture" id="AtlasTexture_7uvrj"] atlas = ExtResource("1_xu2lq") -region = Rect2(183, 200, 183, 200) +region = Rect2(5600, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_k0fdy"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3gnrc"] atlas = ExtResource("1_xu2lq") -region = Rect2(366, 200, 183, 200) +region = Rect2(0, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_uqmyo"] +[sub_resource type="AtlasTexture" id="AtlasTexture_7p1md"] atlas = ExtResource("1_xu2lq") -region = Rect2(549, 200, 183, 200) +region = Rect2(800, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_x0gpd"] +[sub_resource type="AtlasTexture" id="AtlasTexture_y6xbd"] atlas = ExtResource("1_xu2lq") -region = Rect2(732, 200, 183, 200) +region = Rect2(1600, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_qs5t4"] +[sub_resource type="AtlasTexture" id="AtlasTexture_hk3w6"] atlas = ExtResource("1_xu2lq") -region = Rect2(915, 200, 183, 200) +region = Rect2(2400, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_sohoh"] +[sub_resource type="AtlasTexture" id="AtlasTexture_caytg"] atlas = ExtResource("1_xu2lq") -region = Rect2(1098, 200, 183, 200) +region = Rect2(3200, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_483bb"] +[sub_resource type="AtlasTexture" id="AtlasTexture_l44lf"] atlas = ExtResource("1_xu2lq") -region = Rect2(1281, 200, 183, 200) +region = Rect2(4000, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_toyts"] +[sub_resource type="AtlasTexture" id="AtlasTexture_yi82g"] atlas = ExtResource("1_xu2lq") -region = Rect2(0, 400, 183, 200) +region = Rect2(4800, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_3uulo"] +[sub_resource type="AtlasTexture" id="AtlasTexture_p15m0"] atlas = ExtResource("1_xu2lq") -region = Rect2(183, 400, 183, 200) +region = Rect2(5600, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_snh56"] +[sub_resource type="AtlasTexture" id="AtlasTexture_2komy"] atlas = ExtResource("1_xu2lq") -region = Rect2(366, 400, 183, 200) +region = Rect2(0, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_u4ekp"] +[sub_resource type="AtlasTexture" id="AtlasTexture_y8ft5"] atlas = ExtResource("1_xu2lq") -region = Rect2(549, 400, 183, 200) +region = Rect2(800, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_o3n4q"] +[sub_resource type="AtlasTexture" id="AtlasTexture_1e1w5"] atlas = ExtResource("1_xu2lq") -region = Rect2(732, 400, 183, 200) +region = Rect2(1600, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_v8oy0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_vvi1f"] atlas = ExtResource("1_xu2lq") -region = Rect2(915, 400, 183, 200) +region = Rect2(2400, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_67r72"] +[sub_resource type="AtlasTexture" id="AtlasTexture_geima"] atlas = ExtResource("1_xu2lq") -region = Rect2(1098, 400, 183, 200) +region = Rect2(3200, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_whqew"] +[sub_resource type="AtlasTexture" id="AtlasTexture_6w6bo"] atlas = ExtResource("1_xu2lq") -region = Rect2(1281, 400, 183, 200) +region = Rect2(4000, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_rjx4f"] +[sub_resource type="AtlasTexture" id="AtlasTexture_uvak1"] atlas = ExtResource("1_xu2lq") -region = Rect2(0, 600, 183, 200) +region = Rect2(4800, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_p502j"] +[sub_resource type="AtlasTexture" id="AtlasTexture_1nytk"] atlas = ExtResource("1_xu2lq") -region = Rect2(183, 600, 183, 200) +region = Rect2(5600, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_r3n82"] +[sub_resource type="AtlasTexture" id="AtlasTexture_cw6ys"] atlas = ExtResource("1_xu2lq") -region = Rect2(366, 600, 183, 200) +region = Rect2(0, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_sc4pk"] +[sub_resource type="AtlasTexture" id="AtlasTexture_oo7yk"] atlas = ExtResource("1_xu2lq") -region = Rect2(549, 600, 183, 200) +region = Rect2(800, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_yb7ml"] +[sub_resource type="AtlasTexture" id="AtlasTexture_7witm"] atlas = ExtResource("1_xu2lq") -region = Rect2(732, 600, 183, 200) +region = Rect2(1600, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_4vdgs"] +[sub_resource type="AtlasTexture" id="AtlasTexture_qxvik"] atlas = ExtResource("1_xu2lq") -region = Rect2(915, 600, 183, 200) +region = Rect2(2400, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_cw3uc"] +[sub_resource type="AtlasTexture" id="AtlasTexture_ta4jq"] atlas = ExtResource("1_xu2lq") -region = Rect2(0, 800, 183, 200) +region = Rect2(3200, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_tmufa"] +[sub_resource type="AtlasTexture" id="AtlasTexture_rfb2b"] atlas = ExtResource("1_xu2lq") -region = Rect2(183, 800, 183, 200) +region = Rect2(4000, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_181oc"] +[sub_resource type="AtlasTexture" id="AtlasTexture_wy4n3"] atlas = ExtResource("1_xu2lq") -region = Rect2(366, 800, 183, 200) +region = Rect2(4800, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_kw27o"] +[sub_resource type="AtlasTexture" id="AtlasTexture_s5y6h"] atlas = ExtResource("1_xu2lq") -region = Rect2(549, 800, 183, 200) +region = Rect2(5600, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_1rjtv"] +[sub_resource type="AtlasTexture" id="AtlasTexture_q5ykg"] atlas = ExtResource("1_xu2lq") -region = Rect2(732, 800, 183, 200) +region = Rect2(0, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_qy8ia"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3kw2n"] atlas = ExtResource("1_xu2lq") -region = Rect2(915, 800, 183, 200) +region = Rect2(800, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_iuwep"] +[sub_resource type="AtlasTexture" id="AtlasTexture_lyrsq"] atlas = ExtResource("1_xu2lq") -region = Rect2(183, 1000, 183, 200) +region = Rect2(1600, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_54c8j"] +[sub_resource type="AtlasTexture" id="AtlasTexture_4h74p"] atlas = ExtResource("1_xu2lq") -region = Rect2(366, 1000, 183, 200) +region = Rect2(2400, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_7xked"] +[sub_resource type="AtlasTexture" id="AtlasTexture_gcv2w"] atlas = ExtResource("1_xu2lq") -region = Rect2(549, 1000, 183, 200) +region = Rect2(3200, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_sqk5t"] +[sub_resource type="AtlasTexture" id="AtlasTexture_2q7rd"] atlas = ExtResource("1_xu2lq") -region = Rect2(732, 1000, 183, 200) +region = Rect2(4000, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_bms7v"] +[sub_resource type="AtlasTexture" id="AtlasTexture_kywij"] atlas = ExtResource("1_xu2lq") -region = Rect2(915, 1000, 183, 200) +region = Rect2(4800, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_lap0l"] +[sub_resource type="AtlasTexture" id="AtlasTexture_b05lw"] atlas = ExtResource("1_xu2lq") -region = Rect2(0, 1200, 183, 200) +region = Rect2(5600, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_qdrtm"] +[sub_resource type="AtlasTexture" id="AtlasTexture_3i0jf"] atlas = ExtResource("1_xu2lq") -region = Rect2(183, 1200, 183, 200) +region = Rect2(0, 4000, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_ja80d"] +[sub_resource type="AtlasTexture" id="AtlasTexture_cgrp6"] atlas = ExtResource("1_xu2lq") -region = Rect2(366, 1200, 183, 200) +region = Rect2(800, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jq1pq"] +atlas = ExtResource("1_xu2lq") +region = Rect2(1600, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_yxjhr"] +atlas = ExtResource("1_xu2lq") +region = Rect2(2400, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tx4fe"] +atlas = ExtResource("1_xu2lq") +region = Rect2(3200, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xth3o"] +atlas = ExtResource("1_xu2lq") +region = Rect2(4000, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_id22j"] +atlas = ExtResource("1_xu2lq") +region = Rect2(4800, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_5stpe"] +atlas = ExtResource("1_xu2lq") +region = Rect2(5600, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_godlg"] +atlas = ExtResource("1_xu2lq") +region = Rect2(0, 1600, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4sx2s"] +atlas = ExtResource("1_xu2lq") +region = Rect2(800, 1600, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tlfdl"] +atlas = ExtResource("1_xu2lq") +region = Rect2(1600, 1600, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qsd3m"] +atlas = ExtResource("1_xu2lq") +region = Rect2(2400, 1600, 800, 800) [resource] animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_2m73y") +"texture": SubResource("AtlasTexture_4vak1") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_6aofb") +"texture": SubResource("AtlasTexture_tvis4") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_t41im") +"texture": SubResource("AtlasTexture_upjc4") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_r4sl4") +"texture": SubResource("AtlasTexture_35xq0") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_uu1ct") +"texture": SubResource("AtlasTexture_hwivr") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_x2gj2") +"texture": SubResource("AtlasTexture_fa7d2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_071o1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7uvrj") }], "loop": true, "name": &"back", @@ -197,28 +243,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_q0nc0") +"texture": SubResource("AtlasTexture_3gnrc") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_coog2") +"texture": SubResource("AtlasTexture_7p1md") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_k0fdy") +"texture": SubResource("AtlasTexture_y6xbd") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_uqmyo") +"texture": SubResource("AtlasTexture_hk3w6") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_x0gpd") +"texture": SubResource("AtlasTexture_caytg") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_qs5t4") +"texture": SubResource("AtlasTexture_l44lf") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_sohoh") +"texture": SubResource("AtlasTexture_yi82g") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_483bb") +"texture": SubResource("AtlasTexture_p15m0") }], "loop": true, "name": &"fly", @@ -226,28 +272,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_toyts") +"texture": SubResource("AtlasTexture_2komy") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_3uulo") +"texture": SubResource("AtlasTexture_y8ft5") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_snh56") +"texture": SubResource("AtlasTexture_1e1w5") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_u4ekp") +"texture": SubResource("AtlasTexture_vvi1f") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_o3n4q") +"texture": SubResource("AtlasTexture_geima") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_v8oy0") +"texture": SubResource("AtlasTexture_6w6bo") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_67r72") +"texture": SubResource("AtlasTexture_uvak1") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_whqew") +"texture": SubResource("AtlasTexture_1nytk") }], "loop": true, "name": &"happy", @@ -255,22 +301,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_rjx4f") +"texture": SubResource("AtlasTexture_cw6ys") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_p502j") +"texture": SubResource("AtlasTexture_oo7yk") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_r3n82") +"texture": SubResource("AtlasTexture_7witm") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_sc4pk") +"texture": SubResource("AtlasTexture_qxvik") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_yb7ml") +"texture": SubResource("AtlasTexture_ta4jq") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_4vdgs") +"texture": SubResource("AtlasTexture_rfb2b") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wy4n3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_s5y6h") }], "loop": true, "name": &"idle_front", @@ -278,22 +330,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_cw3uc") +"texture": SubResource("AtlasTexture_q5ykg") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_tmufa") +"texture": SubResource("AtlasTexture_3kw2n") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_181oc") +"texture": SubResource("AtlasTexture_lyrsq") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_kw27o") +"texture": SubResource("AtlasTexture_4h74p") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_1rjtv") +"texture": SubResource("AtlasTexture_gcv2w") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_qy8ia") +"texture": SubResource("AtlasTexture_2q7rd") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kywij") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_b05lw") }], "loop": true, "name": &"idle_front_blink", @@ -301,33 +359,45 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_iuwep") +"texture": SubResource("AtlasTexture_3i0jf") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_54c8j") +"texture": SubResource("AtlasTexture_cgrp6") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_7xked") +"texture": SubResource("AtlasTexture_jq1pq") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_sqk5t") +"texture": SubResource("AtlasTexture_yxjhr") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_bms7v") +"texture": SubResource("AtlasTexture_tx4fe") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xth3o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_id22j") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_5stpe") }], -"loop": true, +"loop": false, "name": &"sad", "speed": 7.0 }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_lap0l") +"texture": SubResource("AtlasTexture_godlg") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_qdrtm") +"texture": SubResource("AtlasTexture_4sx2s") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_ja80d") +"texture": SubResource("AtlasTexture_tlfdl") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_qsd3m") }], "loop": false, "name": &"turn_to_back", diff --git a/sources/minigames/parakeets/red_parakeet_feathers_animations.tres b/sources/minigames/parakeets/red_parakeet_feathers_animations.tres new file mode 100644 index 00000000..56c26715 --- /dev/null +++ b/sources/minigames/parakeets/red_parakeet_feathers_animations.tres @@ -0,0 +1,67 @@ +[gd_resource type="SpriteFrames" load_steps=10 format=3 uid="uid://bortxskacy6vx"] + +[ext_resource type="Texture2D" uid="uid://ct4ags1dnh17v" path="res://assets/minigames/parakeets/graphic/red_parakeet_spritesheet.png" id="1_4srf1"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_4srf1"] +atlas = ExtResource("1_4srf1") +region = Rect2(0, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lvlfw"] +atlas = ExtResource("1_4srf1") +region = Rect2(800, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_5bd4o"] +atlas = ExtResource("1_4srf1") +region = Rect2(1600, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_upmyn"] +atlas = ExtResource("1_4srf1") +region = Rect2(2400, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_u6qnh"] +atlas = ExtResource("1_4srf1") +region = Rect2(3200, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jc7fi"] +atlas = ExtResource("1_4srf1") +region = Rect2(4000, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_u2dpn"] +atlas = ExtResource("1_4srf1") +region = Rect2(4800, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ewfns"] +atlas = ExtResource("1_4srf1") +region = Rect2(5600, 4800, 800, 800) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_4srf1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lvlfw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_5bd4o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_upmyn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_u6qnh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jc7fi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_u2dpn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ewfns") +}], +"loop": false, +"name": &"feathers_fall", +"speed": 7.0 +}] diff --git a/sources/minigames/parakeets/yellow_parakeet_animation.tres b/sources/minigames/parakeets/yellow_parakeet_animation.tres index 1b9ad583..1ac7e92f 100644 --- a/sources/minigames/parakeets/yellow_parakeet_animation.tres +++ b/sources/minigames/parakeets/yellow_parakeet_animation.tres @@ -1,199 +1,241 @@ -[gd_resource type="SpriteFrames" load_steps=45 format=3 uid="uid://c4xffrugn6xgx"] +[gd_resource type="SpriteFrames" load_steps=54 format=3 uid="uid://c4xffrugn6xgx"] [ext_resource type="Texture2D" uid="uid://dd37d3qdrfrt0" path="res://assets/minigames/parakeets/graphic/yellow_parakeet_spritesheet.png" id="1_5275a"] -[sub_resource type="AtlasTexture" id="AtlasTexture_ggw2c"] +[sub_resource type="AtlasTexture" id="AtlasTexture_knd0k"] atlas = ExtResource("1_5275a") -region = Rect2(0, 0, 183, 200) +region = Rect2(0, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_b6j6r"] +[sub_resource type="AtlasTexture" id="AtlasTexture_hqqxj"] atlas = ExtResource("1_5275a") -region = Rect2(183, 0, 183, 200) +region = Rect2(800, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_ql11h"] +[sub_resource type="AtlasTexture" id="AtlasTexture_fmhny"] atlas = ExtResource("1_5275a") -region = Rect2(366, 0, 183, 200) +region = Rect2(1600, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_4dki4"] +[sub_resource type="AtlasTexture" id="AtlasTexture_h1c50"] atlas = ExtResource("1_5275a") -region = Rect2(549, 0, 183, 200) +region = Rect2(2400, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_5egcb"] +[sub_resource type="AtlasTexture" id="AtlasTexture_cplyi"] atlas = ExtResource("1_5275a") -region = Rect2(732, 0, 183, 200) +region = Rect2(3200, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_6j8cb"] +[sub_resource type="AtlasTexture" id="AtlasTexture_f12gp"] atlas = ExtResource("1_5275a") -region = Rect2(915, 0, 183, 200) +region = Rect2(4000, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_wugc2"] +[sub_resource type="AtlasTexture" id="AtlasTexture_of6hp"] atlas = ExtResource("1_5275a") -region = Rect2(0, 200, 183, 200) +region = Rect2(4800, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_eq6q0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_86k7k"] atlas = ExtResource("1_5275a") -region = Rect2(183, 200, 183, 200) +region = Rect2(5600, 2400, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_6mjya"] +[sub_resource type="AtlasTexture" id="AtlasTexture_cyue4"] atlas = ExtResource("1_5275a") -region = Rect2(366, 200, 183, 200) +region = Rect2(0, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_1t23v"] +[sub_resource type="AtlasTexture" id="AtlasTexture_wrs8q"] atlas = ExtResource("1_5275a") -region = Rect2(549, 200, 183, 200) +region = Rect2(800, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_0fn7h"] +[sub_resource type="AtlasTexture" id="AtlasTexture_uhrbu"] atlas = ExtResource("1_5275a") -region = Rect2(732, 200, 183, 200) +region = Rect2(1600, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_wfym8"] +[sub_resource type="AtlasTexture" id="AtlasTexture_rg8hn"] atlas = ExtResource("1_5275a") -region = Rect2(915, 200, 183, 200) +region = Rect2(2400, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_xuw8f"] +[sub_resource type="AtlasTexture" id="AtlasTexture_2r3p0"] atlas = ExtResource("1_5275a") -region = Rect2(1098, 200, 183, 200) +region = Rect2(3200, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_p01iw"] +[sub_resource type="AtlasTexture" id="AtlasTexture_drgeu"] atlas = ExtResource("1_5275a") -region = Rect2(1281, 200, 183, 200) +region = Rect2(4000, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_ptkab"] +[sub_resource type="AtlasTexture" id="AtlasTexture_b23xk"] atlas = ExtResource("1_5275a") -region = Rect2(0, 400, 183, 200) +region = Rect2(4800, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_i87ff"] +[sub_resource type="AtlasTexture" id="AtlasTexture_s0t2u"] atlas = ExtResource("1_5275a") -region = Rect2(183, 400, 183, 200) +region = Rect2(5600, 5600, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_ppljj"] +[sub_resource type="AtlasTexture" id="AtlasTexture_qrxtr"] atlas = ExtResource("1_5275a") -region = Rect2(366, 400, 183, 200) +region = Rect2(0, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_t1n2m"] +[sub_resource type="AtlasTexture" id="AtlasTexture_jw63l"] atlas = ExtResource("1_5275a") -region = Rect2(549, 400, 183, 200) +region = Rect2(800, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_ckvw0"] +[sub_resource type="AtlasTexture" id="AtlasTexture_lcfoq"] atlas = ExtResource("1_5275a") -region = Rect2(732, 400, 183, 200) +region = Rect2(1600, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_nrb2y"] +[sub_resource type="AtlasTexture" id="AtlasTexture_ircan"] atlas = ExtResource("1_5275a") -region = Rect2(915, 400, 183, 200) +region = Rect2(2400, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_33jdu"] +[sub_resource type="AtlasTexture" id="AtlasTexture_tcrdb"] atlas = ExtResource("1_5275a") -region = Rect2(1098, 400, 183, 200) +region = Rect2(3200, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_x64e8"] +[sub_resource type="AtlasTexture" id="AtlasTexture_cgde8"] atlas = ExtResource("1_5275a") -region = Rect2(1281, 400, 183, 200) +region = Rect2(4000, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_5108u"] +[sub_resource type="AtlasTexture" id="AtlasTexture_wea07"] atlas = ExtResource("1_5275a") -region = Rect2(0, 600, 183, 200) +region = Rect2(4800, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_l0uis"] +[sub_resource type="AtlasTexture" id="AtlasTexture_5x012"] atlas = ExtResource("1_5275a") -region = Rect2(183, 600, 183, 200) +region = Rect2(5600, 3200, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_1225x"] +[sub_resource type="AtlasTexture" id="AtlasTexture_v7tkb"] atlas = ExtResource("1_5275a") -region = Rect2(366, 600, 183, 200) +region = Rect2(0, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_vq2xs"] +[sub_resource type="AtlasTexture" id="AtlasTexture_gqecy"] atlas = ExtResource("1_5275a") -region = Rect2(549, 600, 183, 200) +region = Rect2(800, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_or31j"] +[sub_resource type="AtlasTexture" id="AtlasTexture_omomg"] atlas = ExtResource("1_5275a") -region = Rect2(732, 600, 183, 200) +region = Rect2(1600, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_dxgtc"] +[sub_resource type="AtlasTexture" id="AtlasTexture_bpgpk"] atlas = ExtResource("1_5275a") -region = Rect2(915, 600, 183, 200) +region = Rect2(2400, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_p0tr7"] +[sub_resource type="AtlasTexture" id="AtlasTexture_dka0w"] atlas = ExtResource("1_5275a") -region = Rect2(0, 800, 183, 200) +region = Rect2(3200, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_gk0ar"] +[sub_resource type="AtlasTexture" id="AtlasTexture_2w3mp"] atlas = ExtResource("1_5275a") -region = Rect2(183, 800, 183, 200) +region = Rect2(4000, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_8usp1"] +[sub_resource type="AtlasTexture" id="AtlasTexture_1s7ec"] atlas = ExtResource("1_5275a") -region = Rect2(366, 800, 183, 200) +region = Rect2(4800, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_rs48g"] +[sub_resource type="AtlasTexture" id="AtlasTexture_qg210"] atlas = ExtResource("1_5275a") -region = Rect2(549, 800, 183, 200) +region = Rect2(5600, 0, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_woo6n"] +[sub_resource type="AtlasTexture" id="AtlasTexture_2kolo"] atlas = ExtResource("1_5275a") -region = Rect2(732, 800, 183, 200) +region = Rect2(0, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_ymqjw"] +[sub_resource type="AtlasTexture" id="AtlasTexture_xk2s5"] atlas = ExtResource("1_5275a") -region = Rect2(915, 800, 183, 200) +region = Rect2(800, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_aa6e7"] +[sub_resource type="AtlasTexture" id="AtlasTexture_5b1tp"] atlas = ExtResource("1_5275a") -region = Rect2(0, 1000, 183, 200) +region = Rect2(1600, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_5tjla"] +[sub_resource type="AtlasTexture" id="AtlasTexture_c45r8"] atlas = ExtResource("1_5275a") -region = Rect2(183, 1000, 183, 200) +region = Rect2(2400, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_pd32m"] +[sub_resource type="AtlasTexture" id="AtlasTexture_miaw6"] atlas = ExtResource("1_5275a") -region = Rect2(366, 1000, 183, 200) +region = Rect2(3200, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_rr0l3"] +[sub_resource type="AtlasTexture" id="AtlasTexture_bpbur"] atlas = ExtResource("1_5275a") -region = Rect2(549, 1000, 183, 200) +region = Rect2(4000, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_vrsnq"] +[sub_resource type="AtlasTexture" id="AtlasTexture_f0vnb"] atlas = ExtResource("1_5275a") -region = Rect2(732, 1000, 183, 200) +region = Rect2(4800, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_02ixo"] +[sub_resource type="AtlasTexture" id="AtlasTexture_b8w8o"] atlas = ExtResource("1_5275a") -region = Rect2(915, 1000, 183, 200) +region = Rect2(5600, 800, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_7b5dw"] +[sub_resource type="AtlasTexture" id="AtlasTexture_6kpny"] atlas = ExtResource("1_5275a") -region = Rect2(0, 1200, 183, 200) +region = Rect2(0, 4000, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_4p0n3"] +[sub_resource type="AtlasTexture" id="AtlasTexture_yxjkr"] atlas = ExtResource("1_5275a") -region = Rect2(183, 1200, 183, 200) +region = Rect2(800, 4000, 800, 800) -[sub_resource type="AtlasTexture" id="AtlasTexture_rtbfy"] +[sub_resource type="AtlasTexture" id="AtlasTexture_r21l0"] atlas = ExtResource("1_5275a") -region = Rect2(366, 1200, 183, 200) +region = Rect2(1600, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_yov4c"] +atlas = ExtResource("1_5275a") +region = Rect2(2400, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_b8gib"] +atlas = ExtResource("1_5275a") +region = Rect2(3200, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tr4aw"] +atlas = ExtResource("1_5275a") +region = Rect2(4000, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_25v08"] +atlas = ExtResource("1_5275a") +region = Rect2(4800, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jd1mn"] +atlas = ExtResource("1_5275a") +region = Rect2(5600, 4000, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_jei50"] +atlas = ExtResource("1_5275a") +region = Rect2(0, 1600, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_en06w"] +atlas = ExtResource("1_5275a") +region = Rect2(800, 1600, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4bsaq"] +atlas = ExtResource("1_5275a") +region = Rect2(1600, 1600, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_5sedv"] +atlas = ExtResource("1_5275a") +region = Rect2(2400, 1600, 800, 800) [resource] animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_ggw2c") +"texture": SubResource("AtlasTexture_knd0k") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_b6j6r") +"texture": SubResource("AtlasTexture_hqqxj") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_ql11h") +"texture": SubResource("AtlasTexture_fmhny") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_4dki4") +"texture": SubResource("AtlasTexture_h1c50") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_5egcb") +"texture": SubResource("AtlasTexture_cplyi") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_6j8cb") +"texture": SubResource("AtlasTexture_f12gp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_of6hp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_86k7k") }], "loop": true, "name": &"back", @@ -201,28 +243,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_wugc2") +"texture": SubResource("AtlasTexture_cyue4") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_eq6q0") +"texture": SubResource("AtlasTexture_wrs8q") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_6mjya") +"texture": SubResource("AtlasTexture_uhrbu") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_1t23v") +"texture": SubResource("AtlasTexture_rg8hn") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_0fn7h") +"texture": SubResource("AtlasTexture_2r3p0") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_wfym8") +"texture": SubResource("AtlasTexture_drgeu") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_xuw8f") +"texture": SubResource("AtlasTexture_b23xk") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_p01iw") +"texture": SubResource("AtlasTexture_s0t2u") }], "loop": true, "name": &"fly", @@ -230,28 +272,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_ptkab") +"texture": SubResource("AtlasTexture_qrxtr") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_i87ff") +"texture": SubResource("AtlasTexture_jw63l") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_ppljj") +"texture": SubResource("AtlasTexture_lcfoq") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_t1n2m") +"texture": SubResource("AtlasTexture_ircan") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_ckvw0") +"texture": SubResource("AtlasTexture_tcrdb") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_nrb2y") +"texture": SubResource("AtlasTexture_cgde8") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_33jdu") +"texture": SubResource("AtlasTexture_wea07") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_x64e8") +"texture": SubResource("AtlasTexture_5x012") }], "loop": true, "name": &"happy", @@ -259,22 +301,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_5108u") +"texture": SubResource("AtlasTexture_v7tkb") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_l0uis") +"texture": SubResource("AtlasTexture_gqecy") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_1225x") +"texture": SubResource("AtlasTexture_omomg") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_vq2xs") +"texture": SubResource("AtlasTexture_bpgpk") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_or31j") +"texture": SubResource("AtlasTexture_dka0w") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_dxgtc") +"texture": SubResource("AtlasTexture_2w3mp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1s7ec") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_qg210") }], "loop": true, "name": &"idle_front", @@ -282,22 +330,28 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_p0tr7") +"texture": SubResource("AtlasTexture_2kolo") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_gk0ar") +"texture": SubResource("AtlasTexture_xk2s5") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_8usp1") +"texture": SubResource("AtlasTexture_5b1tp") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_rs48g") +"texture": SubResource("AtlasTexture_c45r8") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_woo6n") +"texture": SubResource("AtlasTexture_miaw6") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_ymqjw") +"texture": SubResource("AtlasTexture_bpbur") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_f0vnb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_b8w8o") }], "loop": true, "name": &"idle_front_blink", @@ -305,36 +359,45 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_aa6e7") +"texture": SubResource("AtlasTexture_6kpny") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_5tjla") +"texture": SubResource("AtlasTexture_yxjkr") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_pd32m") +"texture": SubResource("AtlasTexture_r21l0") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_rr0l3") +"texture": SubResource("AtlasTexture_yov4c") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_vrsnq") +"texture": SubResource("AtlasTexture_b8gib") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_02ixo") +"texture": SubResource("AtlasTexture_tr4aw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_25v08") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_jd1mn") }], -"loop": true, +"loop": false, "name": &"sad", "speed": 7.0 }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_7b5dw") +"texture": SubResource("AtlasTexture_jei50") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_4p0n3") +"texture": SubResource("AtlasTexture_en06w") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_rtbfy") +"texture": SubResource("AtlasTexture_4bsaq") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_5sedv") }], "loop": false, "name": &"turn_to_back", diff --git a/sources/minigames/parakeets/yellow_parakeet_feathers_animations.tres b/sources/minigames/parakeets/yellow_parakeet_feathers_animations.tres new file mode 100644 index 00000000..db20c757 --- /dev/null +++ b/sources/minigames/parakeets/yellow_parakeet_feathers_animations.tres @@ -0,0 +1,67 @@ +[gd_resource type="SpriteFrames" load_steps=10 format=3 uid="uid://q6ndn17on10h"] + +[ext_resource type="Texture2D" uid="uid://dd37d3qdrfrt0" path="res://assets/minigames/parakeets/graphic/yellow_parakeet_spritesheet.png" id="1_grfxv"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_8gyi2"] +atlas = ExtResource("1_grfxv") +region = Rect2(0, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ttpfj"] +atlas = ExtResource("1_grfxv") +region = Rect2(800, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_s771w"] +atlas = ExtResource("1_grfxv") +region = Rect2(1600, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_hr7vr"] +atlas = ExtResource("1_grfxv") +region = Rect2(2400, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_02qw0"] +atlas = ExtResource("1_grfxv") +region = Rect2(3200, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wur6j"] +atlas = ExtResource("1_grfxv") +region = Rect2(4000, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_u1sia"] +atlas = ExtResource("1_grfxv") +region = Rect2(4800, 4800, 800, 800) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e6u1x"] +atlas = ExtResource("1_grfxv") +region = Rect2(5600, 4800, 800, 800) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_8gyi2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ttpfj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_s771w") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_hr7vr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_02qw0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wur6j") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_u1sia") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e6u1x") +}], +"loop": false, +"name": &"feathers_fall", +"speed": 7.0 +}]