diff options
author | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-01-27 19:15:33 +0200 |
---|---|---|
committer | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-01-27 19:15:33 +0200 |
commit | 99b7a48dd674b0b62e21ca2f76caede42c20a308 (patch) | |
tree | 43eca3465704e9376884422149231b845f94298d | |
parent | 7e93b486c18cd1498381c506a28d3c246ca68825 (diff) | |
download | gamejam-ggj-2024-99b7a48dd674b0b62e21ca2f76caede42c20a308.tar.gz gamejam-ggj-2024-99b7a48dd674b0b62e21ca2f76caede42c20a308.tar.bz2 gamejam-ggj-2024-99b7a48dd674b0b62e21ca2f76caede42c20a308.zip |
Smaller resolution for assets
-rw-r--r-- | game/main.gd | 2 | ||||
-rw-r--r-- | game/shared/assets/namoradinha_sheet.png | bin | 147247 -> 246881 bytes | |||
-rw-r--r-- | game/shared/characters/ali_animation.tres | 12 | ||||
-rw-r--r-- | game/shared/characters/character_animation.tscn | 1 | ||||
-rw-r--r-- | game/shared/characters/fro_animation.tres | 12 | ||||
-rw-r--r-- | game/shared/characters/kit_animation.tres | 12 | ||||
-rw-r--r-- | game/shared/characters/mi_animation.tres | 12 | ||||
-rw-r--r-- | game/transition/transition.gd | 5 | ||||
-rw-r--r-- | game/transition/transition.tscn | 18 |
9 files changed, 42 insertions, 32 deletions
diff --git a/game/main.gd b/game/main.gd index 03531c7..3195392 100644 --- a/game/main.gd +++ b/game/main.gd @@ -21,6 +21,8 @@ func _ready() -> void: microgame_viewport.offset_right = 0 microgame_viewport.offset_top = 0 + transition.reset() + while true: if _current_microgame != null: _current_microgame.process_mode = Node.PROCESS_MODE_DISABLED diff --git a/game/shared/assets/namoradinha_sheet.png b/game/shared/assets/namoradinha_sheet.png Binary files differindex edf7c18..25157a7 100644 --- a/game/shared/assets/namoradinha_sheet.png +++ b/game/shared/assets/namoradinha_sheet.png diff --git a/game/shared/characters/ali_animation.tres b/game/shared/characters/ali_animation.tres index 9fb8a62..120bcb2 100644 --- a/game/shared/characters/ali_animation.tres +++ b/game/shared/characters/ali_animation.tres @@ -4,27 +4,27 @@ [sub_resource type="AtlasTexture" id="AtlasTexture_qpq8l"] atlas = ExtResource("1_vq20n") -region = Rect2(0, 3584, 512, 512) +region = Rect2(0, 1792, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_ypmie"] atlas = ExtResource("1_vq20n") -region = Rect2(512, 3584, 512, 512) +region = Rect2(256, 1792, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_qd2d6"] atlas = ExtResource("1_vq20n") -region = Rect2(1024, 3584, 512, 512) +region = Rect2(512, 1792, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_5ypmp"] atlas = ExtResource("1_vq20n") -region = Rect2(0, 4096, 512, 512) +region = Rect2(0, 2048, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_v55fk"] atlas = ExtResource("1_vq20n") -region = Rect2(512, 4096, 512, 512) +region = Rect2(256, 2048, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_l7hi7"] atlas = ExtResource("1_vq20n") -region = Rect2(1024, 4096, 512, 512) +region = Rect2(512, 2048, 256, 256) [resource] animations = [{ diff --git a/game/shared/characters/character_animation.tscn b/game/shared/characters/character_animation.tscn index 2dabd95..224f4a4 100644 --- a/game/shared/characters/character_animation.tscn +++ b/game/shared/characters/character_animation.tscn @@ -10,3 +10,4 @@ sprite_frames = ExtResource("2_pffd0") [node name="CharacterAnimatedSprite" type="AnimatedSprite2D" parent="."] unique_name_in_owner = true sprite_frames = ExtResource("2_pffd0") +animation = &"mad" diff --git a/game/shared/characters/fro_animation.tres b/game/shared/characters/fro_animation.tres index a9a989b..13dbae7 100644 --- a/game/shared/characters/fro_animation.tres +++ b/game/shared/characters/fro_animation.tres @@ -4,27 +4,27 @@ [sub_resource type="AtlasTexture" id="AtlasTexture_6af3s"] atlas = ExtResource("1_32j2i") -region = Rect2(0, 512, 512, 512) +region = Rect2(0, 256, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_j7ujl"] atlas = ExtResource("1_32j2i") -region = Rect2(512, 512, 512, 512) +region = Rect2(256, 256, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_kpj3i"] atlas = ExtResource("1_32j2i") -region = Rect2(1024, 512, 512, 512) +region = Rect2(512, 256, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_mibw3"] atlas = ExtResource("1_32j2i") -region = Rect2(0, 1024, 512, 512) +region = Rect2(0, 512, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_qgqbf"] atlas = ExtResource("1_32j2i") -region = Rect2(512, 1024, 512, 512) +region = Rect2(256, 512, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_rjh2i"] atlas = ExtResource("1_32j2i") -region = Rect2(1024, 1024, 512, 512) +region = Rect2(512, 512, 256, 256) [resource] animations = [{ diff --git a/game/shared/characters/kit_animation.tres b/game/shared/characters/kit_animation.tres index b042744..6f15b55 100644 --- a/game/shared/characters/kit_animation.tres +++ b/game/shared/characters/kit_animation.tres @@ -4,27 +4,27 @@ [sub_resource type="AtlasTexture" id="AtlasTexture_f1322"] atlas = ExtResource("1_84b4y") -region = Rect2(512, 2560, 512, 512) +region = Rect2(256, 1280, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_1u7ji"] atlas = ExtResource("1_84b4y") -region = Rect2(0, 2560, 512, 512) +region = Rect2(0, 1280, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_jdkde"] atlas = ExtResource("1_84b4y") -region = Rect2(0, 3072, 512, 512) +region = Rect2(0, 1536, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_vbgla"] atlas = ExtResource("1_84b4y") -region = Rect2(1024, 2560, 512, 512) +region = Rect2(512, 1280, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_1jkyk"] atlas = ExtResource("1_84b4y") -region = Rect2(512, 3072, 512, 512) +region = Rect2(256, 1536, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_d6df1"] atlas = ExtResource("1_84b4y") -region = Rect2(1024, 3072, 512, 512) +region = Rect2(512, 1536, 256, 256) [resource] animations = [{ diff --git a/game/shared/characters/mi_animation.tres b/game/shared/characters/mi_animation.tres index d849ad4..d144c30 100644 --- a/game/shared/characters/mi_animation.tres +++ b/game/shared/characters/mi_animation.tres @@ -4,27 +4,27 @@ [sub_resource type="AtlasTexture" id="AtlasTexture_hun5u"] atlas = ExtResource("1_4p1c3") -region = Rect2(0, 1536, 512, 512) +region = Rect2(0, 768, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_0ojse"] atlas = ExtResource("1_4p1c3") -region = Rect2(512, 1536, 512, 512) +region = Rect2(256, 768, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_f022f"] atlas = ExtResource("1_4p1c3") -region = Rect2(0, 2048, 512, 512) +region = Rect2(0, 1024, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_jq2tu"] atlas = ExtResource("1_4p1c3") -region = Rect2(1024, 1536, 512, 512) +region = Rect2(512, 768, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_s0bvy"] atlas = ExtResource("1_4p1c3") -region = Rect2(512, 2048, 512, 512) +region = Rect2(256, 1024, 256, 256) [sub_resource type="AtlasTexture" id="AtlasTexture_usu14"] atlas = ExtResource("1_4p1c3") -region = Rect2(1024, 2048, 512, 512) +region = Rect2(512, 1024, 256, 256) [resource] animations = [{ diff --git a/game/transition/transition.gd b/game/transition/transition.gd index 563e6d1..519d69f 100644 --- a/game/transition/transition.gd +++ b/game/transition/transition.gd @@ -15,7 +15,12 @@ var _characters = [] func _ready() -> void: animation_player.speed_scale = speed_scale _characters = %Characters.get_children() + + +func reset() -> void: animation_player.play("RESET") + for c in _characters: + c._reset_animation() func microgame_fade_out(): diff --git a/game/transition/transition.tscn b/game/transition/transition.tscn index a86b07a..11b9fb1 100644 --- a/game/transition/transition.tscn +++ b/game/transition/transition.tscn @@ -321,8 +321,8 @@ anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 360.0 offset_top = 68.0 -offset_right = 792.0 -offset_bottom = 288.0 +offset_right = -360.0 +offset_bottom = -360.0 grow_horizontal = 2 grow_vertical = 2 @@ -350,10 +350,10 @@ anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 -offset_left = 511.0 -offset_top = -116.0 -offset_right = 747.0 -offset_bottom = -5.99976 +offset_left = -65.0 +offset_top = -440.0 +offset_right = 171.0 +offset_bottom = -330.0 grow_horizontal = 2 grow_vertical = 2 text = "blabla" @@ -372,6 +372,7 @@ grow_vertical = 2 [node name="CharacterAnimation" parent="Foreground/Characters" instance=ExtResource("2_2nft6")] position = Vector2(338, 305) +scale = Vector2(2, 2) sprite_frames = ExtResource("3_gxf7f") [node name="Sprite2D2" type="Sprite2D" parent="Foreground/Characters/CharacterAnimation"] @@ -384,6 +385,7 @@ vframes = 9 [node name="CharacterAnimation2" parent="Foreground/Characters" instance=ExtResource("2_2nft6")] position = Vector2(163, 386) +scale = Vector2(2, 2) [node name="Sprite2D" type="Sprite2D" parent="Foreground/Characters/CharacterAnimation2"] show_behind_parent = true @@ -395,7 +397,7 @@ vframes = 9 [node name="CharacterAnimation3" parent="Foreground/Characters" instance=ExtResource("2_2nft6")] position = Vector2(820, 306) -scale = Vector2(-1, 1) +scale = Vector2(-2, 2) sprite_frames = ExtResource("5_l50r6") [node name="Sprite2D3" type="Sprite2D" parent="Foreground/Characters/CharacterAnimation3"] @@ -408,7 +410,7 @@ vframes = 9 [node name="CharacterAnimation4" parent="Foreground/Characters" instance=ExtResource("2_2nft6")] position = Vector2(982, 389) -scale = Vector2(-1, 1) +scale = Vector2(-2, 2) sprite_frames = ExtResource("6_eiuh1") [node name="Sprite2D4" type="Sprite2D" parent="Foreground/Characters/CharacterAnimation4"] |