Polar Games

A bird sort puzzle for the web · 1.0.0

Birdy Branch

This guide explains how to install, play, customize and update the game. Pick your language at the top; screenshots stay in English.

Version 1.0.0 Edition Standalone buyer edition

This guide works without internet. Images, styles and scripts are already inside this file.

Contents
  1. Overview
  2. Installing on your website
  3. Requirements
  4. How to play
  5. The 10 worlds
  6. Screens
  7. Files and folders
  8. Customizing
  9. Languages
  10. Saving and resetting
  11. Development (optional)
  12. Updating and clearing the cache
  13. Licences and credits
  14. Common problems
  15. FAQ
  16. Before you ask for support (2 minutes)
  17. Report a problem
  18. For AI assistants
  19. Support

1 Overview

Birdy Branch is a complete HTML5 bird sort puzzle for one player. Birds sit on branches: lift the bird on the right end of a branch, move it to another branch, group 4 matching birds to fill a balloon nest and send every bird home in as few moves as you can.

There are 100 levels in 10 worlds of 10 levels. Every world has its own outdoor scenery, its own music and its own ambient sound, and worlds 2 to 9 add one new twist each. A solver checked every level when the levels were made, so every level can be solved, and it stored the best number of moves (the par) that gives 3 stars. Each level gives 3 helps: Undo (5 per level), Shuffle (1 per level) and Extra branch (1 per level).

Around the levels: 17 birds (16 regular birds and a rainbow bird that matches any bird), each with 9 faces and 8 poses, a tutorial that teaches by doing, up to 3 stars per level (300 in all), combos and praise words, 14 interface languages, vibration, reduce motion and full screen where the device supports them, and layouts for phone, tablet, desktop and ultrawide screens in portrait and landscape. Everything you see is drawn with picture files (WebP), so you can replace the art without touching the code.

2 Installing on your website

Installing takes a few minutes if you have FTP access or a file manager in your hosting panel.

The game can live in the main folder of a website or in a subfolder, such as games/birdy-branch/. It needs HTTPS or HTTP hosting: opening index.html directly from the disk (file://) does not work.

  1. 1. Extract birdy-branch-static-1.0.0.zip on your computer.
  2. 2. Connect to your hosting by FTP or its file manager and open the folder where the game should live, for example public_html/games/birdy-branch/.
  3. 3. Upload only the contents of the game/ folder, so that index.html sits directly inside the target folder.
  4. 4. Keep the folders css/, fonts/, src/ and assets/ beside index.html, with their names and letter case unchanged.
  5. 5. Open https://your-domain.example/games/birdy-branch/ in a modern browser.
Warning Do not upload the source/ folder, the documentation/ folder or the ZIP itself. Players need no Node.js, PHP, database or account.

3 Requirements

  • Any static web hosting with HTTPS (or HTTP). Opening index.html directly from the disk (file://) does not work, because browsers block JavaScript modules there.
  • A current browser on desktop, tablet or phone: Chrome, Edge, Safari or Opera. The game draws with HTML, CSS and a canvas, so it needs no 3D graphics.
  • About 30 MB of space on the server. The game makes no request to other websites: the fonts, pictures, sounds and music are all inside game/.
  • Node.js is only needed to run the tests or to rebuild the game from source/ (see the development section).
  • Tested on a computer in Chromium and WebKit (the Safari engine) browsers, also in phone-sized windows. It has not been formally tested on physical phones or tablets.

4 How to play

Goal: send every bird home in a balloon nest. A branch holds up to 4 birds. Tap (or drag) a branch to lift the bird on its right end, then tap another branch to move it. Only the bird on the right can move, and 2 or 3 matching birds on the right move together. An empty branch takes any bird; otherwise a bird only lands next to a matching bird.

Balloon nests: group 4 matching birds on a branch to fill a balloon nest. 3 balloon nests are shown at a time and each balloon nest shows the bird it wants; new balloon nests arrive as others leave. If no balloon nest wants the group yet, the group naps until its balloon nest comes.

Helps: every level starts with Undo (5 per level), Shuffle (1 per level) and Extra branch (1 per level, it adds an empty branch with 4 spots). Shuffle only gives a layout that can still be solved. If no move is left, the game says "No moves left" and offers Try again and the helps.

Stars: 3 stars when you finish in up to 1.3 times the par, 2 stars up to 1.8 times the par, and 1 star otherwise. The par is the fewest moves the solver found for that level. There are 300 stars in all. Fewer moves, more stars.

Learning: levels 1 to 4 teach by doing, one hint at a time with a pointing hand, and the first level of each new twist shows one short hint. You can turn the hints off with Tips in Settings. The level map shows 10 levels per world in 2 rows of 5.

Controls: touch (tap or drag), mouse (click or drag) and keyboard (the arrow keys pick a branch, Space or Enter act, Esc closes a panel). Options: Music and Effects (the Sound panel), Vibration (only where the device supports it), Reduce motion (it also follows the system setting), Tips, Full screen (only where supported) and Language.

5 The 10 worlds

World 1 teaches the basics. Every world after it adds one twist, and the game shows a short hint the first time it appears. World 10 mixes them all.

  • World 1: the basics. Move birds, fill balloon nests.
  • World 2, mystery birds: hidden birds show up as a "?" silhouette and are revealed when they reach the right end of a branch.
  • World 3, little twig: a little twig holds only 1 bird.
  • World 4, morning mist with a request: a covered branch shows a bird and a number (for example "x2"); the morning mist clears after that many groups of that bird have been sent.
  • World 5, ice: some birds are in ice; the ice melts when a matching bird lands next to it.
  • World 6, rainbow bird: the rainbow bird matches any bird.
  • World 7, branch sizes: branches with 2, 3 and 5 spots appear next to the usual 4, so count the spots.
  • World 8, vine bow: birds tied with a vine bow fly together.
  • World 9, surprise nest: a "?" nest shows its bird later.
  • World 10: everything together.

6 Screens

The menu: the logo, a balloon nest, the birds on a branch, the Play button (it shows your level), Levels and How
to play. Sound and Settings stay at the top right.
The menu: the logo, a balloon nest, the birds on a branch, the Play button (it shows your level), Levels and How to play. Sound and Settings stay at the top right.

Marks on the screenshot

  1. Logo
  2. Birds on a branch
  3. Play (shows your level)
  4. Levels
  5. How to play
  6. Sound
  7. Settings
The level map: one world per page with its own scenery, the 10 levels in 2 rows of 5 with their stars, the
arrows to change world and your total of stars.
The level map: one world per page with its own scenery, the 10 levels in 2 rows of 5 with their stars, the arrows to change world and your total of stars.

Marks on the screenshot

  1. World name and arrows
  2. The 10 levels of the world
  3. Total of stars
A level. The level and the number of delivered groups on top, the 3 balloon nests with the bird each one wants,
the branches with the birds, and the three helps (Undo, Shuffle and Extra branch) at the bottom.
A level. The level and the number of delivered groups on top, the 3 balloon nests with the bird each one wants, the branches with the birds, and the three helps (Undo, Shuffle and Extra branch) at the bottom.

Marks on the screenshot

  1. Level
  2. Groups delivered
  3. The 3 balloon nests
  4. Branches and birds
  5. Undo, Shuffle and Extra branch
  6. Pause
The end of a level: the stars you earned, your number of moves, and the buttons to play again or go to the next
level.
The end of a level: the stars you earned, your number of moves, and the buttons to play again or go to the next level.

Marks on the screenshot

  1. Stars
  2. Moves
  3. Play again
  4. Next level
No moves left: Try again or go back to the menu, with Undo and Shuffle still at hand.
No moves left: Try again or go back to the menu, with Undo and Shuffle still at hand.

Marks on the screenshot

  1. Try again
How to play: six short cards with the rules. It opens from the menu at any time.
How to play: six short cards with the rules. It opens from the menu at any time.

Marks on the screenshot

  1. The six cards
The Sound panel: two sliders, Music and Effects. The bird voices and the ambient sound follow Effects.
The Sound panel: two sliders, Music and Effects. The bird voices and the ambient sound follow Effects.

Marks on the screenshot

  1. Music slider
  2. Effects slider
Settings: vibration (where the device has it), Reduce motion, Full screen (where supported), Tips and
Language.
Settings: vibration (where the device has it), Reduce motion, Full screen (where supported), Tips and Language.

Marks on the screenshot

  1. Switches
  2. Language
The language list: 14 languages, each written in its own language. The choice is saved.
The language list: 14 languages, each written in its own language. The choice is saved.

Marks on the screenshot

  1. Languages

7 Files and folders

game/ is the ready-to-host game. source/ has the same files plus the tests and two small tools: a local preview server and the level generator. The code is plain JavaScript ES modules with no compile step and no npm dependency.

game/  -  upload these contents to your web host
  index.html  -  the page with every screen and panel
  css/  -  the styles of the page and its panels
  fonts/  -  Fredoka and Nunito, with their license (OFL.txt)
  src/config.js  -  START HERE: feel numbers (FEEL), the 17 birds (CATS), colours and personalities
  src/game/  -  rules.js (the rules and HELPS), solver.js and levels/world-1.js to world-10.js
  src/render/, src/fx/  -  the canvas: branches, birds, balloon nests, motion and effects
  src/ui/  -  the screens: menu, level map, how to play, settings, panels, tutorial hints
  src/audio/  -  the sound engine and the lists of sound files
  src/lib/  -  language (i18n.js), save (storage.js), screen fitting, full screen
  src/locales/  -  one text file per language (14 files)
  assets/  -  cats/, bg/, game/, ui/, icons/, fx/ (pictures), sfx/, music/, amb/ (sounds)
  DOCUMENTATION.txt  -  short note that points to this guide
source/  -  the same editable files, plus:
  package.json, package-lock.json
  README.md, DO-NOT-UPLOAD.txt
  test/  -  npm test (5 test files)
  tools/generate-levels.mjs  -  makes the levels of worlds 2 to 10 (npm run levels)
  tools/serve.mjs  -  local preview server (npm run serve)
  tools/check-node.mjs  -  checks the Node.js version before the commands
documentation/index.html  -  this guide (offline, 14 languages)
documentation/customization.html  -  step-by-step customization guide (and 13 other languages)
documentation/img/  -  the pictures of the guides
DOCUMENTATION.html  -  shortcut to this guide
CUSTOMIZATION.html  -  shortcut to the customization guide
START-HERE.txt, CHANGELOG.txt
THIRD-PARTY-LICENSES/  -  Fredoka and Nunito licenses (SIL OFL 1.1)
  • src/config.js: START HERE. FEEL has every number of the feel (times, distances, sizes, volumes, particles), CATS is the list of birds, and the colours and personality of each bird are in the same file.
  • src/game/: rules.js has the rules as pure functions and HELPS (the helps per level), solver.js proves every level can be solved, and levels/world-1.js to world-10.js are the 100 levels as data.
  • src/render/ and src/fx/: the canvas that draws the branches, birds and balloon nests, and the motion and effects. src/ui/: the screens (menu, level map, how to play, settings, panels, tutorial hints).
  • src/audio/: the sound engine (sound.js), what plays when (cues.js) and the lists of sound files (sfx-files.js, amb-files.js, music-meta.js). src/lib/: language, save, screen fitting and small helpers. src/locales/: one text file per language.
  • index.html and css/: the page, its panels and the styles. assets/: the pictures (cats/, bg/, game/, ui/, icons/, fx/) and the sounds (sfx/, music/, amb/). fonts/: Fredoka and Nunito with their license.
  • Some names are in Portuguese because the game was built that way: for example the sound ids pegar (pick up), soltar (drop), voo (flight), pousar (land), grupo (group), entrega (delivery), balao (balloon nest), nuvem (branch), gelo (ice), novelo (vine bow) and neblina (morning mist), and the music files jogo-1 to jogo-10 (game). The birds live in assets/cats/, the branches are assets/game/cloud*.webp and the balloon nests are assets/game/balloon-*.webp. Many names are built by the code, so do not rename them: replace the file and keep its name.

8 Customizing

Note Not a programmer? The Customization Guide shows the most common changes step by step. Open CUSTOMIZATION.html in the main folder of the download, or documentation/customization.html.

Customizing

Rules and helps: HELPS in src/game/rules.js has the helps per level (Undo 5, Shuffle 1, Extra branch 1) and stars() in the same file has the limits of the stars (1.3 and 1.8 times the par).

Feel: FEEL in src/config.js has the lift and flight times, the delivery, the balloon nests, the combos, the effects, the voices, the vibration and the mixing of the volumes. Change one number at a time and play a level to see it.

Pictures: replace a file in assets/ with another WebP of the same name and the same size. The birds are 9 faces and 8 poses each, the sceneries come in 3 shapes (portrait, landscape and ultrawide) and the logo is assets/ui/logo.webp. The Customization Guide has the exact list and sizes in its Reskin chapter.

Texts: every interface text is in src/locales/, one file per language. The name of the game is the title text and the <title> line of index.html.

Sounds and music

Every sound effect is an MP3 in assets/sfx/, named with its id and a version number (pegar-1.mp3, pegar-2.mp3). The music is assets/music/menu.mp3 and jogo-1.mp3 to jogo-10.mp3 (one per world), and every world has an ambient loop in assets/amb/.

There are two volume controls for the player, Music and Effects: the bird voices and the ambient sound follow Effects. To replace a sound, keep the file name and the format, and keep the loudness close to the old one. The lists are src/audio/sfx-files.js (how many versions each effect has), amb-files.js (the length of each ambient loop) and music-meta.js.

Warning Save keys: the progress and the settings are saved in the browser under two names, birdy-branch-save and birdy-branch-prefs (in src/lib/storage.js). If you publish a very different version of the game, change both names so old saves do not mix with the new one.

9 Languages

The game has 14 languages: English, Portuguese (Brazil), Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese (Simplified). The first visit uses the browser language; the player can change it in Settings.

To change a text, edit the same key in src/locales/<code>.js (the codes are en, pt, es, fr, de, it, nl, pl, tr, ru, id, ja, ko and zh-Hans). Every language must have exactly the same keys as en.js; npm test checks it (test/locales.test.mjs). To add a language, copy en.js, translate it, then add it to the list in src/locales/index.js and change the number 14 and the list of codes in test/locales.test.mjs.

The first visit uses the language of the browser, and the player changes it in Settings, where it is remembered. You can also open the page with ?lang=de at the end of the address (any of the 14 codes) to start in that language. The Latin alphabets use the included Fredoka font and Russian uses the included Nunito font. Japanese, Korean and Chinese use the fonts of the device.

10 Saving and resetting

  • Your unlocked level, the level you are on, the stars of every level, the language, the two volumes, Reduce motion, Vibration and Tips are saved automatically in the browser of each player (localStorage). Nothing is sent to a server.
  • Two keys are used: birdy-branch-save (the progress) and birdy-branch-prefs (the settings). The game keeps working if the browser blocks storage, but then the progress lasts only until the page is closed.
  • To start over, delete these keys in the developer tools (F12), under Application, Local Storage, or clear the site data in the browser.
birdy-branch-save
birdy-branch-prefs

11 Development (optional)

This section is only for changing the code. The game/ folder already contains the finished game, so installing it needs no Node.js. The game has no npm dependencies and no compile step, and there is nothing to build: the files of source/ are the files of the game.

1. Install Node.js. Open https://nodejs.org/en/download and choose the latest Node.js 26 LTS installer for your system (minimum 26.13.0). npm is included.

Windows: run the .msi installer, keep npm and Add to PATH enabled, finish the installation and reopen Command Prompt. macOS: run the official .pkg installer and reopen Terminal. Linux: follow the instructions on the same page for your distribution.

2. Check the installation. Run node --version and npm --version separately. Both must print a version number, and Node.js must be 26.13.0 or newer. If a command is not found, reopen the terminal and check that Node.js is in PATH.

node --version
npm --version

3. Extract the complete ZIP first and open its source/ folder, where package.json is. Windows: type cmd in the address bar of that folder in File Explorer. macOS and Linux: open Terminal and use cd with the path of the folder.

4. Run the commands below one by one. npm ci checks the lock file (nothing is downloaded, the project has no dependencies). npm test runs the checks: the rules, the 100 levels and their solutions, the 14 languages, the sounds and the save.

npm ci
npm test

5. Preview: npm run serve starts a local server; open http://localhost:5180/ in your browser, play for a while, and stop the server with Ctrl+C.

npm run serve

6. Levels: npm run levels makes the levels of worlds 2 to 10 again (add a world number, for example npm run levels -- 4, to make only that world). It takes a while: the solver proves every level.

npm run levels
npm run levels -- 4

7. Publish: back up the game on your website, then upload index.html and the folders css/, fonts/, src/ and assets/ of source/ in place of the old files, keeping the folders. If you deleted or renamed a file, delete the old one on the server yourself. Clear the cache afterwards.

Note Troubleshooting: ENOENT or a missing package.json means the terminal is in the wrong folder. EBADENGINE, or the Node.js message printed before npm test, means Node.js is too old. If PowerShell blocks npm.ps1, use Command Prompt or run npm.cmd.

12 Updating and clearing the cache

Clearing the cache without losing progress

Progress is stored in this browser, not on the server. Clearing cached images and files, or doing a hard reload, keeps your progress.

Computer: press Ctrl+F5 on Windows and Linux, or Cmd+Shift+R on macOS. Phone: in the browser settings, choose the option to clear cached images and files.

Do not choose cookies and site data, or clear site data, for the game's address. That deletes the local save.

13 Licences and credits

The game code, the artwork, the sound effects and the music are supplied under the license of the item you purchased.

Third-party parts, with their complete license text in THIRD-PARTY-LICENSES/: the Fredoka font (Latin and Latin Extended) and the Nunito font (Cyrillic), both under the SIL Open Font License 1.1, also in fonts/. The game has no third-party code library.

The pictures, the sound effects, the bird voices, the ambient sounds and the music were made by Polar Games for its games and are licensed with this item under the same license as the code. They are not third-party stock files.

14 Common problems

  • Blank page or a game that never opens: the game was opened from the disk or a file is missing. Use a web host and keep every file and folder of game/ next to index.html.
  • No sound: browsers start audio only after the first tap, click or key press, so tap "Tap to start" first. Check both volumes in the Sound panel (Effects also controls the bird voices and the ambient sound), the volume of the device and the silent switch of an iPhone.
  • A blank page after you edit a code file: a typo in the file. Open the browser console (F12) to see the message, then fix the line or put the original back.
  • The game feels slow on an old phone: turn on Reduce motion in Settings. The game also lowers its own effects when it notices a slow device.
  • The old version still appears after an update: clear the cache (see the section above). Two copies on the same domain share their save (see the save keys).
  • A picture or a voice is missing or does not change: the file has another name than the one the game asks for, or the letter case differs (servers are case sensitive). Keep the exact names.
  • A level feels too hard: use Undo (5 per level), Shuffle and Extra branch, keep one empty branch free, and remember that every level can be solved. The level map lets you replay any unlocked level for more stars.

15 FAQ

Does the game need a database or a server language?
No. It is a static website: HTML, CSS, JavaScript, pictures and sounds. There is no PHP, database or account.
Does it use a game engine or a library?
No. It is plain JavaScript ES modules. The rules are pure functions with automated tests, and a canvas is used only to draw the picture files (branches, birds, balloon nests and effects).
Can I change the levels, the helps, the birds and the art?
Yes. The Customization Guide shows each change step by step: the texts, the colours, the sounds, the helps and stars, the levels with the generator and a full reskin with your own birds and sceneries.
Does it work on phones?
Yes, in portrait and landscape, with touch. It also works on tablets and desktops with a mouse or a keyboard, and on ultrawide screens.
Does it have ads, accounts, an online ranking or purchases?
No. There is no ad, account, online ranking, purchase or server in the template. The progress stays in the browser of the player. Any ad or payment service is yours to add.
How many levels are there? Do they repeat?
100 levels in 10 worlds of 10 levels, all different. A solver checked that every level can be solved. The level map shows them as 10 levels per world.
A level is too hard. Is it broken?
No: every level was proved solvable by the solver. Use the helps (Undo 5, Shuffle 1 and Extra branch 1 per level), keep one empty branch free and try again. If you want easier levels, the Customization Guide shows how to remake a world with the generator.
Can I add more levels or worlds?
You can replace the levels of any world with the generator. The game is built around 10 worlds of 10 levels (the map, the sceneries, the music and the texts of each world), so adding an 11th world needs changes in several places and is custom work.
Where is the progress saved? Can I move it to another device?
In the browser of each player, under birdy-branch-save and birdy-branch-prefs. It belongs to one device, one browser and one web address (http and https, or www and without www, are different addresses). Decide the final address before you launch.
Can I use my own birds, art or sounds?
Yes: replace the files keeping the names and sizes. The Reskin chapter of the Customization Guide lists every picture, its size and where the names are mapped.
Can I publish it on a game portal or an app store?
The package is a website. Putting it in a portal or a store follows the rules of that portal or store and is not covered here. See the license of the item for what you may do.
Which license do I need?
The Regular license is for one end product in which the users do not pay; the Extended license is for one end product in which the users can pay. One license per project. If in doubt, read the license text at https://codecanyon.net/licenses/standard or ask Envato.
What does support include?
Support covers how to install and use the item and bugs of the item as delivered. It does not cover changes you made, custom work, hosting, domain or DNS, or third-party services. The support period is the one shown on the item page.

16 Before you ask for support (2 minutes)

  1. 1. Do a hard refresh (Ctrl+F5 or Cmd+Shift+R) or open the game in a private window; an old copy in the cache is the most common cause.
  2. 2. Open the game through https:// (or a local server), never from the disk (file://).
  3. 3. Press F12, open Console and note the first red message.
  4. 4. Try another browser or another device.
  5. 5. Look for your case in Common problems and in the FAQ above.

17 Report a problem

Copy this template, fill it in and send it with your message. It saves a round of questions. Do not send your purchase code, passwords or FTP data in a public comment.

report.t

18 For AI assistants

If you ask an AI assistant to help you change this game, give it the prompt below together with your request. It describes the project so the assistant works on the right files and does not break the rules, the levels or the saves.

You are helping me change "Birdy Branch", a finished HTML5 bird sort puzzle for one player (version 1.0.0). Read these facts before you edit anything.

PROJECT
- Plain JavaScript ES modules, HTML and CSS. No bundler, no compile step, no npm dependencies, no game engine, no external library. There is no build and no dist/ folder.
- The editable project is source/ (the same files as game/, plus tests and tools). Edit source/, never game/.
- To publish, upload index.html and the folders css/, fonts/, src/ and assets/ of source/ (or the contents of game/) to a static web host. The game does not run from file://.
- Node.js 26.13.0 or newer is needed only for: npm ci, npm test, npm run serve (http://localhost:5180/) and npm run levels.

GAME
- One player. Birds sit on branches (4 spots, some branches have 1, 2, 3 or 5). Only the bird on the right end of a branch moves, 2 or 3 matching birds on the right move together, an empty branch takes any bird, otherwise a bird lands only next to a matching bird. 4 matching birds on a branch fill a balloon nest. 3 balloon nests are shown at a time (SHOWN in src/game/rules.js). 100 levels in 10 worlds of 10. There is no money, betting, shop or prize of value: never add any.
- 17 birds: CATS in src/config.js, 16 regular birds and the rainbow bird (WILD = 16, it matches any bird). The position of a bird in CATS is its number in the levels: never reorder the list.
- Helps: HELPS in src/game/rules.js (undo 5, shuffle 1, extra 1 per level). Stars: stars(moves, par) in the same file (3 stars up to 1.3 times the par, 2 stars up to 1.8 times, otherwise 1). The par is the fewest moves the solver found.
- src/game/rules.js has the pure rules (no screen, sound or time code); every action returns { ok, events } and the feel layer only animates the events. src/game/solver.js proves that a level can be solved.
- src/config.js: FEEL has every number of rhythm, distance, size, volume, particles and vibration; changing FEEL never changes a rule, a level or a score. Also CATS, catColor and persona (one entry per bird, same order as CATS).
- src/render/ and src/fx/ draw and animate on a canvas; src/ui/ has the screens and panels; src/audio/ has the sound engine, the cues and the lists of files; src/lib/ has language, save and screen fitting.

LEVELS
- World 1 (src/game/levels/world-1.js) is fixed: test/levels.test.mjs checks it byte by byte with W1_HASH.
- Worlds 2 to 10 (src/game/levels/world-2.js to world-10.js) are written by tools/generate-levels.mjs with the solver. Never edit these files by hand: change the recipe in spec() of the generator and run npm run levels (or npm run levels -- 4 for one world), then npm test.
- A level has n, clouds (the branches, with the birds in them, and the optional cap, hid, ice, tie, fog, fogT), queue, qhid, par and sol.

TEXTS, SAVES AND FILES
- Texts: src/locales/<code>.js, 14 languages (en, pt, es, fr, de, it, nl, pl, tr, ru, id, ja, ko, zh-Hans), exactly the same keys in every file; English is the fallback. New text goes in all 14. test/locales.test.mjs checks the keys.
- Saving: localStorage keys birdy-branch-save (progress) and birdy-branch-prefs (settings), through src/lib/storage.js only. Add nothing to another key.
- Pictures are WebP in assets/ (cats/, bg/, game/, ui/, icons/, fx/) and sounds are MP3 in assets/sfx/, assets/music/ and assets/amb/. The game finds each file by its name and its size: keep names, sizes and proportions. Panels, plates and long buttons in assets/ui/ are nine-slice pictures: keep their size and corners.
- Some names are in Portuguese or inherited from the base code (for example pegar, soltar, voo, balao for the balloon nest, nuvem for the branch, the CATS list, the folder assets/cats/ for the birds, assets/game/cloud*.webp for the branches, assets/game/balloon-*.webp for the balloon nests, jogo-1.mp3 to jogo-10.mp3). Never rename them: the code builds many of them. New sound ids go in src/audio/sfx-files.js.
- The birds have 18 files each in assets/cats/ (9 faces, 8 poses and a peek head) and assets/cats/poses.json holds the body box of each pose.

RULES FOR YOU
1. Make the smallest change that does what I ask. Do not rename or move files.
2. Run npm test after every change and fix what it reports (the tests are in test/).
3. Test through a web server (npm run serve), never from file://.
4. Add no network request, CDN, analytics, advertising or external font. Keep THIRD-PARTY-LICENSES/ and fonts/OFL.txt.
5. Keep comments in English and keep the last line of each own JavaScript file: // End of <path> (complete file).

MY REQUEST:
(write what you want here)

Replace the last line with what you want, for example: make Undo give 10 per level, change the colour of a bird or change the texts of a language. Always run npm test after the change.

19 Support

Questions or problems: write to willian@polargames.com.br with your purchase code, the browser and the report above (or a short description or screenshot).

Support request

When you write to support, include the browser and device, the game version, the page address, the steps that caused the problem, a screenshot and the first error shown in the browser console. Never send passwords, payment details or secret keys.