summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrique Alves <henrique.alves@itsjungle.xyz>2024-01-28 18:32:11 +0200
committerHenrique Alves <henrique.alves@itsjungle.xyz>2024-01-28 18:32:11 +0200
commitaf3219240d68b5d95d9626982f381fbdc5cae5e9 (patch)
treef71e397c908bbd53ba694581a0b66df39e7c7e52
parent44b7184234b90eb687edff350ace7cadcc4c2b17 (diff)
downloadgamejam-ggj-2024-af3219240d68b5d95d9626982f381fbdc5cae5e9.tar.gz
gamejam-ggj-2024-af3219240d68b5d95d9626982f381fbdc5cae5e9.tar.bz2
gamejam-ggj-2024-af3219240d68b5d95d9626982f381fbdc5cae5e9.zip
Finished!
-rw-r--r--game/main.gd3
-rw-r--r--game/main.tscn18
-rw-r--r--game/menu.tscn13
-rw-r--r--game/microgames/baseball_kiss/baseball_kiss.tscn2
-rw-r--r--game/microgames/find_window/find_window.tscn2
-rw-r--r--game/microgames/flowers_delivery/flowers_delivery.tscn4
-rw-r--r--game/microgames/heart_break/heart_break.tscn2
-rw-r--r--game/score.gd12
-rw-r--r--game/score.tscn233
-rw-r--r--game/transition/transition.tscn71
-rw-r--r--session.gd1
11 files changed, 311 insertions, 50 deletions
diff --git a/game/main.gd b/game/main.gd
index 666a6ff..94335c9 100644
--- a/game/main.gd
+++ b/game/main.gd
@@ -59,7 +59,8 @@ func _ready() -> void:
await get_tree().create_timer(0.5).timeout
%FadeAnimationPlayer.play_backwards("fade_in")
await %FadeAnimationPlayer.animation_finished
- get_tree().change_scene_to_file("res://game/menu.tscn")
+ Session.last_score = _microgame_count
+ get_tree().change_scene_to_file("res://game/score.tscn")
_current_microgame = MICROGAMES[_microgame_idx].instantiate()
_microgame_idx = (_microgame_idx + 1) % MICROGAMES.size()
diff --git a/game/main.tscn b/game/main.tscn
index 91c541c..4f915ce 100644
--- a/game/main.tscn
+++ b/game/main.tscn
@@ -69,27 +69,27 @@ script = ExtResource("4_30kv1")
texture_zoeira = ExtResource("5_lhn6w")
texture_instruction = ExtResource("5_wr8ki")
type = 0
-title = "Head on Keyboard"
-label_1 = "Touch any key with your forehead"
-label_2 = "LIke doing a reverence to your love"
+title = "Cabeça no Teclado"
+label_1 = "Encoste em qualquer tecla com a testa,"
+label_2 = "fazendo uma reverência ao seu amor"
[sub_resource type="Resource" id="Resource_sjq73"]
script = ExtResource("4_30kv1")
texture_zoeira = ExtResource("6_go5ee")
texture_instruction = ExtResource("7_f5nm5")
type = 2
-title = "Only pinky"
-label_1 = "Only press keys using your pinkies"
-label_2 = "To strenghten the bond between you and your love"
+title = "Só os mindinhos"
+label_1 = "Apenas use os mindinhos no teclado,"
+label_2 = "para fortalecer o laço com seu amor"
[sub_resource type="Resource" id="Resource_40y54"]
script = ExtResource("4_30kv1")
texture_zoeira = ExtResource("4_xg44k")
texture_instruction = ExtResource("9_unnor")
type = 1
-title = "Inverted Hand"
-label_1 = "Use the mouse with your non-dominant hand"
-label_2 = "To train holding hands with your loved one"
+title = "Mão Invertida"
+label_1 = "Use o mouse com sua mão não dominante,"
+label_2 = "para treinar andar de mãos dadas com seu amor"
[sub_resource type="LabelSettings" id="LabelSettings_wskk0"]
font_size = 64
diff --git a/game/menu.tscn b/game/menu.tscn
index 0b17dfb..ec779cd 100644
--- a/game/menu.tscn
+++ b/game/menu.tscn
@@ -1,6 +1,7 @@
-[gd_scene load_steps=6 format=3 uid="uid://bvjimat8d7liw"]
+[gd_scene load_steps=7 format=3 uid="uid://bvjimat8d7liw"]
[ext_resource type="Script" path="res://game/menu.gd" id="1_24jgf"]
+[ext_resource type="Texture2D" uid="uid://clh3o1ygmnbld" path="res://game/shared/assets/GGJ_mainmenuart.png" id="2_onepc"]
[ext_resource type="AudioStream" uid="uid://dgypuqc63dc42" path="res://game/shared/assets/GGJ_mainmenu.ogg" id="2_w8s3m"]
[sub_resource type="Animation" id="Animation_amao6"]
@@ -49,6 +50,16 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_24jgf")
+[node name="Background" type="TextureRect" parent="."]
+layout_mode = 1
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+mouse_filter = 2
+texture = ExtResource("2_onepc")
+
[node name="Button" type="Button" parent="."]
layout_mode = 1
anchors_preset = 2
diff --git a/game/microgames/baseball_kiss/baseball_kiss.tscn b/game/microgames/baseball_kiss/baseball_kiss.tscn
index fdf1e32..fcabbf9 100644
--- a/game/microgames/baseball_kiss/baseball_kiss.tscn
+++ b/game/microgames/baseball_kiss/baseball_kiss.tscn
@@ -115,7 +115,7 @@ size = Vector2(44.9999, 42.6554)
[node name="BaseballKiss" type="Node"]
script = ExtResource("1_urxm5")
microgame_control = 2
-instructions = "Catch the Kiss!"
+instructions = "Pegue o beijinho!"
win_on_timeout = false
[node name="ImgBackgroundWindows" type="Sprite2D" parent="."]
diff --git a/game/microgames/find_window/find_window.tscn b/game/microgames/find_window/find_window.tscn
index 1fb3522..5884f87 100644
--- a/game/microgames/find_window/find_window.tscn
+++ b/game/microgames/find_window/find_window.tscn
@@ -13,7 +13,7 @@ font_color = Color(0.443137, 0.443137, 0.443137, 1)
[node name="FindWindow" type="Node"]
script = ExtResource("1_167ws")
microgame_control = 1
-instructions = "Send the message!"
+instructions = "Envie a mensagem!"
win_on_timeout = false
[node name="ImgBackgroundWindows" type="Sprite2D" parent="."]
diff --git a/game/microgames/flowers_delivery/flowers_delivery.tscn b/game/microgames/flowers_delivery/flowers_delivery.tscn
index 1794c1a..689ad36 100644
--- a/game/microgames/flowers_delivery/flowers_delivery.tscn
+++ b/game/microgames/flowers_delivery/flowers_delivery.tscn
@@ -60,7 +60,7 @@ sky = SubResource("Sky_4ims1")
[node name="FlowersDelivery" type="Node3D"]
script = ExtResource("1_jhoh1")
-instructions = "Meet your girlfriend!"
+instructions = "Chegue à sua namorada!"
[node name="Girlfriend" type="Sprite3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.45863, 1.42701, 0)
@@ -69,7 +69,7 @@ texture = ExtResource("1_isthg")
[node name="Label3D" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.55688, 3.35267, 7.68148)
-text = "Get Down!"
+text = "Se Abaixe!"
font_size = 200
outline_size = 48
diff --git a/game/microgames/heart_break/heart_break.tscn b/game/microgames/heart_break/heart_break.tscn
index f84b2c0..7a10b96 100644
--- a/game/microgames/heart_break/heart_break.tscn
+++ b/game/microgames/heart_break/heart_break.tscn
@@ -13,7 +13,7 @@ size = Vector2(20, 676)
[node name="HeartBreak" type="Node"]
script = ExtResource("1_ia77r")
microgame_control = 2
-instructions = "Dont break her heart!"
+instructions = "Não quebre o coração dela!"
[node name="PlayerHeart" parent="." instance=ExtResource("2_uwtaj")]
position = Vector2(553, 317)
diff --git a/game/score.gd b/game/score.gd
new file mode 100644
index 0000000..b88de2f
--- /dev/null
+++ b/game/score.gd
@@ -0,0 +1,12 @@
+extends Control
+
+
+func _ready():
+ $Button.pressed.connect(_on_start_pressed, ConnectFlags.CONNECT_ONE_SHOT)
+ $AnimationPlayer.play("default")
+ $Label2.text = "%d pontos" % Session.last_score
+
+func _on_start_pressed():
+ $AnimationPlayer.play_backwards("default")
+ await $AnimationPlayer.animation_finished
+ get_tree().change_scene_to_file("res://game/main.tscn")
diff --git a/game/score.tscn b/game/score.tscn
new file mode 100644
index 0000000..50e3c80
--- /dev/null
+++ b/game/score.tscn
@@ -0,0 +1,233 @@
+[gd_scene load_steps=10 format=3 uid="uid://x4idtoxmio6"]
+
+[ext_resource type="Script" path="res://game/score.gd" id="1_0re1c"]
+[ext_resource type="Texture2D" uid="uid://clh3o1ygmnbld" path="res://game/shared/assets/GGJ_mainmenuart.png" id="2_qpvn3"]
+[ext_resource type="FontFile" uid="uid://den305djdhip6" path="res://game/shared/assets/SingleDay-Regular.ttf" id="20_hgcjn"]
+[ext_resource type="AudioStream" uid="uid://dgypuqc63dc42" path="res://game/shared/assets/GGJ_mainmenu.ogg" id="22_pvkef"]
+
+[sub_resource type="Animation" id="Animation_amao6"]
+length = 0.001
+tracks/0/type = "value"
+tracks/0/imported = false
+tracks/0/enabled = true
+tracks/0/path = NodePath("Overlay:color")
+tracks/0/interp = 1
+tracks/0/loop_wrap = true
+tracks/0/keys = {
+"times": PackedFloat32Array(0),
+"transitions": PackedFloat32Array(1),
+"update": 0,
+"values": [Color(0, 0, 0, 1)]
+}
+tracks/1/type = "value"
+tracks/1/imported = false
+tracks/1/enabled = true
+tracks/1/path = NodePath("Button:modulate")
+tracks/1/interp = 1
+tracks/1/loop_wrap = true
+tracks/1/keys = {
+"times": PackedFloat32Array(0),
+"transitions": PackedFloat32Array(1),
+"update": 0,
+"values": [Color(1, 1, 1, 0)]
+}
+tracks/2/type = "value"
+tracks/2/imported = false
+tracks/2/enabled = true
+tracks/2/path = NodePath("Label:modulate")
+tracks/2/interp = 1
+tracks/2/loop_wrap = true
+tracks/2/keys = {
+"times": PackedFloat32Array(0),
+"transitions": PackedFloat32Array(1),
+"update": 0,
+"values": [Color(1, 1, 1, 0)]
+}
+tracks/3/type = "value"
+tracks/3/imported = false
+tracks/3/enabled = true
+tracks/3/path = NodePath("Label2:modulate")
+tracks/3/interp = 1
+tracks/3/loop_wrap = true
+tracks/3/keys = {
+"times": PackedFloat32Array(0),
+"transitions": PackedFloat32Array(1),
+"update": 0,
+"values": [Color(1, 1, 1, 0)]
+}
+tracks/4/type = "value"
+tracks/4/imported = false
+tracks/4/enabled = true
+tracks/4/path = NodePath("Label3:modulate")
+tracks/4/interp = 1
+tracks/4/loop_wrap = true
+tracks/4/keys = {
+"times": PackedFloat32Array(0),
+"transitions": PackedFloat32Array(1),
+"update": 0,
+"values": [Color(1, 1, 1, 0)]
+}
+
+[sub_resource type="Animation" id="Animation_0210q"]
+resource_name = "default"
+length = 5.0
+tracks/0/type = "value"
+tracks/0/imported = false
+tracks/0/enabled = true
+tracks/0/path = NodePath("Overlay:color")
+tracks/0/interp = 1
+tracks/0/loop_wrap = true
+tracks/0/keys = {
+"times": PackedFloat32Array(0, 0.5),
+"transitions": PackedFloat32Array(1, 1),
+"update": 0,
+"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
+}
+tracks/1/type = "value"
+tracks/1/imported = false
+tracks/1/enabled = true
+tracks/1/path = NodePath("Button:modulate")
+tracks/1/interp = 1
+tracks/1/loop_wrap = true
+tracks/1/keys = {
+"times": PackedFloat32Array(0.5, 4, 4.5),
+"transitions": PackedFloat32Array(1, 1, 1),
+"update": 0,
+"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
+}
+tracks/2/type = "value"
+tracks/2/imported = false
+tracks/2/enabled = true
+tracks/2/path = NodePath("Label:modulate")
+tracks/2/interp = 1
+tracks/2/loop_wrap = true
+tracks/2/keys = {
+"times": PackedFloat32Array(0.5, 1, 1.5),
+"transitions": PackedFloat32Array(1, 1, 1),
+"update": 0,
+"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
+}
+tracks/3/type = "value"
+tracks/3/imported = false
+tracks/3/enabled = true
+tracks/3/path = NodePath("Label2:modulate")
+tracks/3/interp = 1
+tracks/3/loop_wrap = true
+tracks/3/keys = {
+"times": PackedFloat32Array(2, 2.6),
+"transitions": PackedFloat32Array(1, 1),
+"update": 0,
+"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
+}
+tracks/4/type = "value"
+tracks/4/imported = false
+tracks/4/enabled = true
+tracks/4/path = NodePath("Label3:modulate")
+tracks/4/interp = 1
+tracks/4/loop_wrap = true
+tracks/4/keys = {
+"times": PackedFloat32Array(3, 3.5),
+"transitions": PackedFloat32Array(1, 1),
+"update": 0,
+"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
+}
+
+[sub_resource type="AnimationLibrary" id="AnimationLibrary_n3va2"]
+_data = {
+"RESET": SubResource("Animation_amao6"),
+"default": SubResource("Animation_0210q")
+}
+
+[sub_resource type="LabelSettings" id="LabelSettings_6yrne"]
+font = ExtResource("20_hgcjn")
+font_size = 32
+outline_size = 10
+outline_color = Color(0, 0, 0, 1)
+
+[sub_resource type="LabelSettings" id="LabelSettings_32btv"]
+font = ExtResource("20_hgcjn")
+font_size = 64
+outline_size = 10
+outline_color = Color(0, 0, 0, 1)
+
+[node name="Score" type="Control"]
+layout_mode = 3
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+script = ExtResource("1_0re1c")
+
+[node name="Background" type="TextureRect" parent="."]
+layout_mode = 1
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+mouse_filter = 2
+texture = ExtResource("2_qpvn3")
+
+[node name="Button" type="Button" parent="."]
+modulate = Color(1, 1, 1, 0)
+layout_mode = 1
+anchors_preset = 2
+anchor_top = 1.0
+anchor_bottom = 1.0
+offset_left = 26.0
+offset_top = -126.0
+offset_right = 1130.0
+offset_bottom = -30.0
+grow_vertical = 0
+theme_override_font_sizes/font_size = 64
+text = "Tentar de novo (em nome do amor)"
+
+[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
+libraries = {
+"": SubResource("AnimationLibrary_n3va2")
+}
+
+[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
+stream = ExtResource("22_pvkef")
+autoplay = true
+
+[node name="Label" type="Label" parent="."]
+modulate = Color(1, 1, 1, 0)
+layout_mode = 0
+offset_left = 19.0
+offset_top = 237.0
+offset_right = 138.0
+offset_bottom = 270.0
+text = "Você fez:"
+label_settings = SubResource("LabelSettings_6yrne")
+
+[node name="Label2" type="Label" parent="."]
+modulate = Color(1, 1, 1, 0)
+layout_mode = 0
+offset_left = 45.0
+offset_top = 270.0
+offset_right = 304.0
+offset_bottom = 335.0
+text = "430 pontos"
+label_settings = SubResource("LabelSettings_32btv")
+
+[node name="Label3" type="Label" parent="."]
+modulate = Color(1, 1, 1, 0)
+layout_mode = 0
+offset_left = 106.0
+offset_top = 337.0
+offset_right = 309.0
+offset_bottom = 370.0
+text = "em nome do amor"
+label_settings = SubResource("LabelSettings_6yrne")
+
+[node name="Overlay" type="ColorRect" parent="."]
+layout_mode = 1
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+mouse_filter = 2
+color = Color(0, 0, 0, 1)
diff --git a/game/transition/transition.tscn b/game/transition/transition.tscn
index 6f26535..c4631b2 100644
--- a/game/transition/transition.tscn
+++ b/game/transition/transition.tscn
@@ -1,7 +1,8 @@
-[gd_scene load_steps=18 format=3 uid="uid://u3g8s4kck61t"]
+[gd_scene load_steps=19 format=3 uid="uid://u3g8s4kck61t"]
[ext_resource type="Script" path="res://game/transition/transition.gd" id="1_vtfth"]
[ext_resource type="PackedScene" uid="uid://k0mx61qjphst" path="res://game/shared/characters/character_animation.tscn" id="2_2nft6"]
+[ext_resource type="Texture2D" uid="uid://clh3o1ygmnbld" path="res://game/shared/assets/GGJ_mainmenuart.png" id="2_an0e0"]
[ext_resource type="FontFile" uid="uid://den305djdhip6" path="res://game/shared/assets/SingleDay-Regular.ttf" id="2_phg5r"]
[ext_resource type="SpriteFrames" uid="uid://bosng2x2w205a" path="res://game/shared/characters/fro_animation.tres" id="3_gxf7f"]
[ext_resource type="Texture2D" uid="uid://6v31vl2mxbvb" path="res://game/shared/assets/namoradinha_sheet.png" id="4_wxw0m"]
@@ -26,98 +27,98 @@ length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
-tracks/0/path = NodePath("Foreground/ViewportContainer/ColorRect:color")
+tracks/0/path = NodePath("Foreground/ViewportContainer:size")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
-"values": [Color(1, 1, 1, 1)]
+"values": [Vector2(432, 220)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
-tracks/1/path = NodePath("Foreground/ViewportContainer:size")
+tracks/1/path = NodePath("Foreground/ViewportContainer:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
-"values": [Vector2(432, 220)]
+"values": [Vector2(360, 68)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
-tracks/2/path = NodePath("Foreground/ViewportContainer:position")
+tracks/2/path = NodePath("Foreground/Characters/CharacterAnimation:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
-"values": [Vector2(360, 68)]
+"values": [Vector2(338, 305)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
-tracks/3/path = NodePath("Foreground/Characters/CharacterAnimation:position")
+tracks/3/path = NodePath("Foreground/Characters/CharacterAnimation2:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
-"values": [Vector2(338, 305)]
+"values": [Vector2(163, 386)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
-tracks/4/path = NodePath("Foreground/Characters/CharacterAnimation2:position")
+tracks/4/path = NodePath("Foreground/Characters/CharacterAnimation3:position")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
-"values": [Vector2(163, 386)]
+"values": [Vector2(820, 306)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
-tracks/5/path = NodePath("Foreground/Characters/CharacterAnimation3:position")
+tracks/5/path = NodePath("Foreground/Characters/CharacterAnimation4:position")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
-"values": [Vector2(820, 306)]
+"values": [Vector2(982, 389)]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
-tracks/6/path = NodePath("Foreground/Characters/CharacterAnimation4:position")
+tracks/6/path = NodePath("Foreground/InstructionTv:position")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
-"values": [Vector2(982, 389)]
+"values": [Vector2(-444, 91)]
}
tracks/7/type = "value"
tracks/7/imported = false
tracks/7/enabled = true
-tracks/7/path = NodePath("Foreground/InstructionTv:position")
+tracks/7/path = NodePath("Foreground/ViewportContainer/ColorRect:modulate")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
-"values": [Vector2(-444, 91)]
+"values": [Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_5h20a"]
@@ -142,86 +143,86 @@ length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
-tracks/0/path = NodePath("Foreground/ViewportContainer/ColorRect:color")
+tracks/0/path = NodePath("Foreground/ViewportContainer:size")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
-"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
+"values": [Vector2(1152, 648), Vector2(432, 220)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
-tracks/1/path = NodePath("Foreground/ViewportContainer:size")
+tracks/1/path = NodePath("Foreground/ViewportContainer:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
-"values": [Vector2(1152, 648), Vector2(432, 220)]
+"values": [Vector2(0, 0), Vector2(360, 68)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
-tracks/2/path = NodePath("Foreground/ViewportContainer:position")
+tracks/2/path = NodePath("Foreground/Characters/CharacterAnimation:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
-"values": [Vector2(0, 0), Vector2(360, 68)]
+"values": [Vector2(-158, 449), Vector2(338, 305)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
-tracks/3/path = NodePath("Foreground/Characters/CharacterAnimation:position")
+tracks/3/path = NodePath("Foreground/Characters/CharacterAnimation2:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
-"values": [Vector2(-158, 449), Vector2(338, 305)]
+"values": [Vector2(-333, 530), Vector2(163, 386)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
-tracks/4/path = NodePath("Foreground/Characters/CharacterAnimation2:position")
+tracks/4/path = NodePath("Foreground/Characters/CharacterAnimation3:position")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
-"values": [Vector2(-333, 530), Vector2(163, 386)]
+"values": [Vector2(1340, 468), Vector2(820, 306)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
-tracks/5/path = NodePath("Foreground/Characters/CharacterAnimation3:position")
+tracks/5/path = NodePath("Foreground/Characters/CharacterAnimation4:position")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
-"values": [Vector2(1340, 468), Vector2(820, 306)]
+"values": [Vector2(1502, 551), Vector2(982, 389)]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
-tracks/6/path = NodePath("Foreground/Characters/CharacterAnimation4:position")
+tracks/6/path = NodePath("Foreground/ViewportContainer/ColorRect:modulate")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
-"values": [Vector2(1502, 551), Vector2(982, 389)]
+"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_8isba"]
@@ -347,8 +348,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
mouse_filter = 2
@@ -363,7 +364,7 @@ grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
-[node name="ColorRect" type="ColorRect" parent="Foreground/ViewportContainer"]
+[node name="ColorRect" type="TextureRect" parent="Foreground/ViewportContainer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -371,6 +372,8 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
+texture = ExtResource("2_an0e0")
+expand_mode = 1
[node name="MicrogameCountLabel" type="Label" parent="Foreground"]
unique_name_in_owner = true
diff --git a/session.gd b/session.gd
index 563f91b..aa7e732 100644
--- a/session.gd
+++ b/session.gd
@@ -2,3 +2,4 @@ extends Node
var shown_types = {}
+var last_score = 0