mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-24 22:16:14 -04:00
Build 29061838
This commit is contained in:
parent
99db15d776
commit
51d112c942
12 changed files with 123 additions and 52 deletions
|
@ -1,5 +1,5 @@
|
|||
// The version of the cache.
|
||||
const VERSION = "29061801";
|
||||
const VERSION = "29061838";
|
||||
|
||||
// The name of the cache
|
||||
const CACHE_NAME = `breakout-71-${VERSION}`;
|
||||
|
|
|
@ -1166,5 +1166,12 @@
|
|||
"bricks": "__rrrr___r____r_r_r__r_rr__rr__rr__rr__rr_r__r_r_r____r___rrrr__",
|
||||
"svg": null,
|
||||
"color": ""
|
||||
},
|
||||
{
|
||||
"name": "icon:fountain_toss",
|
||||
"size": 12,
|
||||
"bricks": "________________tttt______tttggttt____tggggggt____t__gg__t____tllggllt___ltbyggbbtl_lbtttggtytblgyttybbtttyggggttbbtyggg_gggggggggg____gggggg___",
|
||||
"svg": null,
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
|
|
|
@ -1 +1 @@
|
|||
"29061801"
|
||||
"29061838"
|
||||
|
|
|
@ -594,7 +594,12 @@ export function addToScore(gameState: GameState, coin: Coin) {
|
|||
schedulGameSound(gameState, "coinCatch", coin.x, 1);
|
||||
gameState.runStatistics.score += coin.points;
|
||||
if (gameState.perks.asceticism) {
|
||||
resetCombo(gameState, coin.x, coin.y);
|
||||
decreaseCombo(
|
||||
gameState,
|
||||
gameState.perks.asceticism * 3 * coin.points,
|
||||
coin.x,
|
||||
coin.y,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1133,14 +1138,19 @@ export function gameStateTick(
|
|||
gameState.puckHeight * (coin.points ? 1 : -1)
|
||||
) {
|
||||
addToScore(gameState, coin);
|
||||
|
||||
destroy(gameState.coins, coinIndex);
|
||||
} else if (coin.y > gameState.canvasHeight + coinRadius) {
|
||||
} else if (coin.y > gameState.canvasHeight + coinRadius * 10) {
|
||||
gameState.levelLostCoins += coin.points;
|
||||
destroy(gameState.coins, coinIndex);
|
||||
if (gameState.perks.compound_interest) {
|
||||
resetCombo(gameState, coin.x, gameState.gameZoneHeight - 20);
|
||||
}
|
||||
if (
|
||||
gameState.combo < gameState.perks.fountain_toss * 30 &&
|
||||
Math.random() < (1 / gameState.combo) * gameState.perks.fountain_toss
|
||||
) {
|
||||
increaseCombo(gameState, 1, coin.x, gameState.gameZoneHeight - 20);
|
||||
}
|
||||
} else if (
|
||||
gameState.perks.unbounded &&
|
||||
(coin.x < -gameState.gameZoneWidth / 2 ||
|
||||
|
|
|
@ -1642,36 +1642,6 @@
|
|||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>saturate_more</name>
|
||||
<description/>
|
||||
<comment/>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-FR</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>saturate_more_help</name>
|
||||
<description/>
|
||||
<comment/>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-FR</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>save_file_error</name>
|
||||
<description/>
|
||||
|
@ -3522,6 +3492,56 @@
|
|||
</concept_node>
|
||||
</children>
|
||||
</folder_node>
|
||||
<folder_node>
|
||||
<name>fountain_toss</name>
|
||||
<children>
|
||||
<concept_node>
|
||||
<name>fullHelp</name>
|
||||
<description/>
|
||||
<comment/>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>true</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-FR</language>
|
||||
<approved>true</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>help</name>
|
||||
<description/>
|
||||
<comment/>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>true</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-FR</language>
|
||||
<approved>true</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>name</name>
|
||||
<description/>
|
||||
<comment/>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>true</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-FR</language>
|
||||
<approved>true</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
</children>
|
||||
</folder_node>
|
||||
<folder_node>
|
||||
<name>metamorphosis</name>
|
||||
<children>
|
||||
|
|
|
@ -104,8 +104,6 @@
|
|||
"main_menu.reset_confirm": "Yes",
|
||||
"main_menu.reset_help": "Erase high score, play time and statistics",
|
||||
"main_menu.reset_instruction": "You will loose all progress you made in the game, are you sure ?",
|
||||
"main_menu.saturate_more": "Higher saturation",
|
||||
"main_menu.saturate_more_help": "Increases the colorfulness of the light emitted by coins and bricks.",
|
||||
"main_menu.save_file_error": "Error loading save file",
|
||||
"main_menu.save_file_loaded": "Save file loaded",
|
||||
"main_menu.save_file_loaded_help": "The app will now reload to apply your save",
|
||||
|
@ -151,7 +149,7 @@
|
|||
"upgrades.addiction.help": "+{{lvl}} combo / brick, combo resets {{delay}}s after breaking a brick. ",
|
||||
"upgrades.addiction.name": "Addiction",
|
||||
"upgrades.asceticism.fullHelp": "You'll need to store the coins somewhere while your combo climbs. ",
|
||||
"upgrades.asceticism.help": "+{{combo}} combo / brick, combo resets on coin catch",
|
||||
"upgrades.asceticism.help": "+{{combo}} combo / brick, - {{combo}} on coin catch",
|
||||
"upgrades.asceticism.name": "Asceticism",
|
||||
"upgrades.ball_attract_ball.fullHelp": "Balls that are more than \"3/4 of the game area width\" away will start attracting each other. \n\nThe attraction force is stronger when they are furthest away from each other.\n\nRainbow particles will fly to symbolize the attraction force. This perk is only offered if you have more than one ball already.",
|
||||
"upgrades.ball_attract_ball.help": "Balls attract balls",
|
||||
|
@ -220,6 +218,9 @@
|
|||
"upgrades.left_is_lava.fullHelp": "Whenever you break a brick, your combo will increase by one, so you'll get one more coin from all the next bricks you break.\n\nHowever, your combo will reset as soon as your ball hits the left side . \n\nAs soon as your combo rises, the left side becomes red to remind you that you should avoid hitting them. \n",
|
||||
"upgrades.left_is_lava.help": "+{{lvl}} combo per brick broken, resets on left side hit",
|
||||
"upgrades.left_is_lava.name": "Avoid left side",
|
||||
"upgrades.fountain_toss.fullHelp": "",
|
||||
"upgrades.fountain_toss.help": "When you miss a coin and your combo was under {{max}}, your combo has a probability of {{lvl}}/combo to grow by one.",
|
||||
"upgrades.fountain_toss.name": "Fountain toss",
|
||||
"upgrades.metamorphosis.fullHelp": "With this perk, coins will be of the color of the brick they come from, and will color the first brick they touch in the same color. \n\nCoins spawn with the speed of the ball that broke them, which means you can aim a bit in the direction of the bricks you want to \"paint\".",
|
||||
"upgrades.metamorphosis.help": "Each coins can stain {{lvl}} brick(s) with its color",
|
||||
"upgrades.metamorphosis.name": "Metamorphosis",
|
||||
|
|
|
@ -104,8 +104,6 @@
|
|||
"main_menu.reset_confirm": "Oui",
|
||||
"main_menu.reset_help": "Effacer les scores, statistiques et temps de jeu",
|
||||
"main_menu.reset_instruction": "Vous perdrez tous les progrès que vous avez faits dans le jeu, êtes-vous sûr ?",
|
||||
"main_menu.saturate_more": "Saturation boostée",
|
||||
"main_menu.saturate_more_help": "Augmente la couleur de la lumière émise par les pièces et les briques.",
|
||||
"main_menu.save_file_error": "Erreur lors du chargement du fichier de sauvegarde",
|
||||
"main_menu.save_file_loaded": "Sauvegarde chargée",
|
||||
"main_menu.save_file_loaded_help": "L'appli va redémarrer",
|
||||
|
@ -151,7 +149,7 @@
|
|||
"upgrades.addiction.help": "+{{lvl}} combo / brique, le combo RAZ après {{delay}}s sans casser de briques",
|
||||
"upgrades.addiction.name": "Addiction",
|
||||
"upgrades.asceticism.fullHelp": "Il faudra trouver un moyen de stocker les pièces pendant que le combo grandis. ",
|
||||
"upgrades.asceticism.help": "+{{combo}} combo par brique cassée, RAZ quand une pièce est attrapée",
|
||||
"upgrades.asceticism.help": "+{{combo}} combo par brique cassée, - {{combo}} quand une pièce est attrapée",
|
||||
"upgrades.asceticism.name": "Ascétisme",
|
||||
"upgrades.ball_attract_ball.fullHelp": "Les balles qui sont éloignées de plus de 3/4 de la largeur d'écran commencent à s'attirer. La force d'attraction est plus forte lorsque les balles sont plus éloignées l'une de l'autre. Des particules arc-en-ciel voleront pour symboliser la force d'attraction. Cet avantage n'est offert que si vous avez déjà plus d'une balle en jeu.",
|
||||
"upgrades.ball_attract_ball.help": "Les balles attirent les balles",
|
||||
|
@ -220,6 +218,9 @@
|
|||
"upgrades.left_is_lava.fullHelp": "Chaque fois que vous cassez une brique, votre combo augmente d'une unité, ce qui vous permet d'obtenir une pièce de plus à chaque fois que vous cassez une brique.\n\nCependant, votre combinaison se réinitialise dès que votre balle touche le côté gauche.\n\nDès que votre combo augmente, le côté gauche devient rouge pour vous rappeler que vous devez éviter de le frapper.",
|
||||
"upgrades.left_is_lava.help": "+{{lvl}} combo par brique, RAZ en touchant le bord gauche",
|
||||
"upgrades.left_is_lava.name": "Éviter le côté gauche",
|
||||
"upgrades.fountain_toss.fullHelp": "",
|
||||
"upgrades.fountain_toss.help": "Quand une pièce est perdue alors que votre combo était en dessous de {{max}}, votre combo à une probabilité de {{lvl}}/combo d'être incrémenté",
|
||||
"upgrades.fountain_toss.name": "Pièce dans la fontaine",
|
||||
"upgrades.metamorphosis.fullHelp": "Avec cette amélioration, les pièces seront de la couleur de la brique d'où elles proviennent et coloreront la première brique qu'elles toucheront. \n\nLes pièces apparaissent à la vitesse de la balle qui les a cassées, ce qui signifie que vous pouvez viser un peu dans la direction des briques que vous voulez \"peindre\".",
|
||||
"upgrades.metamorphosis.help": "Chaque pièces peut tacher {{lvl}} brique(s) avec sa couleur",
|
||||
"upgrades.metamorphosis.name": "Métamorphose",
|
||||
|
|
|
@ -643,4 +643,15 @@ export const rawUpgrades = [
|
|||
t("upgrades.addiction.help", { lvl, delay: (5 / lvl).toFixed(2) }),
|
||||
fullHelp: t("upgrades.addiction.fullHelp"),
|
||||
},
|
||||
{
|
||||
requires: "",
|
||||
threshold: 170000,
|
||||
giftable: false,
|
||||
id: "fountain_toss",
|
||||
max: 7,
|
||||
name: t("upgrades.fountain_toss.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.fountain_toss.help", { lvl, max: lvl * 30 }),
|
||||
fullHelp: t("upgrades.fountain_toss.fullHelp"),
|
||||
},
|
||||
] as const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue