Cyber WeekGame templates at Cyber Week pricesEnds in See the deals

益智 · HTML5

Leafy Bugs

Complete HTML5 garden bug sort puzzle game with 100 levels

作者: Polar Games版本號 1.0.0更新於 2026年12月1日

  • 原始碼
線上預覽

BonusTake more, pay less

  1. 1
  2. 2+5%19% total
  3. 3+10%23% total
  4. 4+15%27% total
  5. 5++20%32% total

再加入 2 個:每個再折 5%

A level of world 1: garden bugs sit on leaves, and three dandelion seeds on top each show the bug they want.World 2: mystery bugs show as a "?" until they reach the right end of a leaf.World 4: a leaf in pollen haze asks for a bug ×N and clears after N groups of that bug are sent.World 5: bugs in frost. The frost melts when a matching bug lands next to it.World 6: the rainbow beetle matches any bug.World 7: leaves with 2, 3 and 5 seats next to the usual 4.World 8: two bugs tied with a vine bow travel together.World 9: a "?" seed shows its bug later.Level complete, with stars: fewer moves, more stars.Level select: a grid of 5 by 2 levels for each world.The menu of Leafy Bugs.The game is in 14 languages; the list is in Settings.

Leafy Bugs, an HTML5 garden bug sort puzzle

A single-player garden bug sort puzzle for the web with 100 levels in 10 worlds. Garden bugs sit on green leaves: lift the bug on the right end of a leaf, move it next to a matching bug and group 4 of a kind to fill a seed’s acorn basket. Each seed shows the bug it wants, and new seeds arrive as others leave. Plain HTML, CSS and JavaScript ES modules, with no framework and no runtime dependencies.

Every level can be solved, and the levels are plain data files made by a level generator with a solver. Fewer moves earn more stars (3 stars up to 1.3 times the par moves, 2 stars up to 1.8 times, otherwise 1).

Leafy Bugs: 100 levels in 10 worlds of garden bug sort puzzles

A new twist in every world

World 1 teaches the basics, and each world from 2 to 9 adds one new twist. World 10 mixes them all.

  • World 2: mystery bugs show as a "?" until they reach the right end of a leaf
  • World 3: a tiny leaf that holds 1 bug
  • World 4: hazy leaves that ask for a bug ×N and clear after N groups of that bug are sent
  • World 5: frost that melts when a matching bug lands next to it
  • World 6: a rainbow beetle that matches any bug
  • World 7: leaves of 2, 3 and 5 seats next to the usual 4
  • World 8: bugs tied with a vine bow that move together
  • World 9: a "?" seed that shows its bug later
  • World 10: everything together
Leafy Bugs: a new twist in every world, from mystery bugs to pollen haze, frost, vine bow and a rainbow beetle

17 garden bugs with faces and poses

There are 16 garden bugs plus the rainbow beetle. Every bug has 9 faces (idle, blink, happy, wow, sleepy, worried, dizzy, sad and yawn), a peek head and 8 poses (crouch, dangle, leap, fall, curl, stretch, wave and cheer). The bug lifts, hops in an arc and lands softly, with combos, praise words, a "Perfect!" stamp and seeds that float up when their basket is full.

Three helps per level, with limits: Undo (5 per level), Shuffle (1 per level, always a layout that can still be solved) and Extra leaf (1 per level, an empty leaf with 4 seats). If no move is left, a panel offers Try again. A tutorial teaches by doing in levels 1 to 4, and the hints can be turned off in Settings.

Leafy Bugs: 17 garden bugs with faces and poses

Phone, tablet and desktop

Layouts for phones, tablets, desktop and ultrawide screens, in portrait and landscape, with touch (tap or drag), mouse and keyboard (arrow keys pick a leaf, Space or Enter act, Esc closes panels). Options for Music, Effects, Vibration (where the device supports it), Reduce motion (it also follows the system), Tips, full screen (where supported) and language.

Each world has its own garden scenery, its own music track and its own ambient loop: 1 menu track, 10 world tracks, 10 ambient loops and sound effects, with separate Music and Effects volumes. All the art is separate WebP files. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese.

Leafy Bugs on a phone, a tablet and a computer

Change the look: what is in which file

The game reads its data when it starts, so most changes need no build step:

  • src/game/rules.js: the rules (leaves, moves, seeds, the twists) and, at the top, the number of helps per level
  • src/game/levels/: the levels, one data file per world, made by the level generator and its solver
  • src/config.js: the feel and rhythm numbers (timings, shake, particles) and the 17 garden bugs
  • src/locales/: one text file for each of the 14 languages
  • assets/: the pictures (bugs, leaves, seeds, world sceneries, interface), the music, the ambient loops, the sound effects and the fonts, found by file name

What is in the package

  • The game, ready to host. Upload it to any static host; no server language, database or account.
  • The complete editable project in plain HTML, CSS and JavaScript ES modules, with 43 automated checks. Node.js 26.13 or newer is only needed for the optional tools (the tests and the level generator).
  • A buyer guide and a customization guide.
  • All the art, music and sound effects, and the Fredoka and Nunito fonts (SIL OFL 1.1).

Notes

  • For one person. This edition has no online play, accounts, leaderboards, ads or purchases, and no integration with ad or payment services.
  • Progress is saved in the browser of each player (localStorage, keys leafy-bugs-save and leafy-bugs-prefs). The game makes no requests to other servers.
  • It needs HTTP(S) hosting and does not run from file://.
  • Tested on a computer in the Chrome and Safari (WebKit) engines. It has not been tested on physical phones or tablets.

本版本的遊戲畫面

擷取自此處販售的版本。

包含

  • 100 levels in 10 worlds of 10 levels, in a level select with a grid of 5 by 2 levels per world. Each world has its own garden scenery, its own music track and its own ambient loop
  • The sort rules: only the bug on the right end of a leaf moves, 2 or 3 matching bugs on the right move together, an empty leaf takes any bug, bugs only land next to a matching bug, each leaf holds 4 bugs, and 4 matching bugs fill a seed’s acorn basket. 3 seeds are shown at a time, each one showing the bug it wants
  • A new twist in worlds 2 to 9, and world 10 mixes them: mystery bugs, a tiny leaf for 1 bug, hazy leaves that ask for a bug ×N, frost that melts when a matching bug lands next to it, a rainbow beetle that matches any bug, leaves of 2, 3 and 5 seats, bugs tied with a vine bow that move together, and a "?" surprise seed
  • Levels made by a level generator with a solver that proves each level can be solved and stores the par moves; the levels are plain data files, one per world
  • 3 helps per level with limits: Undo (5 per level), Shuffle (1 per level, always a layout that can still be solved) and Extra leaf (1 per level), plus a "No moves left" panel with Try again
  • Stars in every level (3 stars up to 1.3 times the par moves, 2 stars up to 1.8 times, otherwise 1; 300 stars in all), combos, praise words, a "Perfect!" stamp and seeds that float up when their basket is full
  • A tutorial that teaches by doing in levels 1 to 4, with one hint at a time and a pointing hand, and a short hint on the first level of each new twist; the hints can be turned off in Settings
  • 17 garden bugs (16 garden bugs plus the rainbow beetle), each one with 9 faces (idle, blink, happy, wow, sleepy, worried, dizzy, sad and yawn), a peek head and 8 poses (crouch, dangle, leap, fall, curl, stretch, wave and cheer)
  • Feel: the bug lifts, hops in an arc and lands softly, with light and parallax on the leaves and world transitions where the camera follows the seed
  • All the art is separate WebP files: the bugs, 10 world sceneries in 3 shapes (portrait, landscape and ultrawide) plus the menu scenery, leaves, seeds and interface pieces
  • Music (1 menu track and 10 world tracks), 10 ambient loops and sound effects, with separate Music and Effects volumes
  • 14 interface languages (English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese); the browser language is used the first time and the list is in Settings
  • Layouts for phones, tablets, desktop and ultrawide screens, in portrait and landscape, with touch (tap or drag), mouse and keyboard; options for Music, Effects, Vibration (where the device supports it), Reduce motion (it also follows the system), Tips, full screen (where supported) and language
  • The game ready to host and the complete editable project (plain HTML, CSS and JavaScript ES modules, no framework, no library and no runtime dependencies) with 43 automated checks
  • A buyer guide and a customization guide

本版本不包含

  • Online play, accounts or leaderboards
  • Ads, in-app purchases or any integration with an ad or payment service
  • Publishing to app stores or portals, native apps, hosting and custom development

ZIP 檔裡有什麼

您下載的套件的真實資料夾結構,名稱和大小均直接讀取自套件內。

leafy-bugs-1.0.0-complete.zip1,839 個檔案 · 63.6 MB
  • leafy-bugs-static-1.0.0/1,838 個檔案 · 63.6 MB
    • documentation/HTML 指南,購買前請先開啟36 個檔案 · 4 MB
      • img/JPG · PNG · 21 個檔案 · 2.9 MB
      • customization-de.html33 KB
      • customization-es.html31 KB
      • customization-fr.html32 KB
      • customization-id.html30 KB
      • customization-it.html31 KB
      • customization-ja.html34 KB
      • customization-ko.html32 KB
      • customization-nl.html31 KB
      • customization-pl.html30 KB
      • customization-pt.html30 KB
      • customization-ru.html39 KB
      • customization-tr.html32 KB
      • +3 個檔案685 KB
    • game/可直接部署:上傳此資料夾即可892 個檔案 · 29.8 MB
      • assets/美術、音訊和字型JSON · MP3 · PNG · WEBP · 802 個檔案 · 29.2 MB
      • css/CSS · 4 個檔案 · 53 KB
      • fonts/內建字型TXT · WOFF2 · 4 個檔案 · 32 KB
      • src/原始碼模組JS · 80 個檔案 · 472 KB
      • DOCUMENTATION.txt1 KB
      • index.html12 KB
    • source/可讀的原始碼904 個檔案 · 29.8 MB
      • assets/美術、音訊和字型JSON · MP3 · PNG · WEBP · 802 個檔案 · 29.2 MB
      • css/CSS · 4 個檔案 · 53 KB
      • fonts/內建字型TXT · WOFF2 · 4 個檔案 · 32 KB
      • src/原始碼模組JS · 80 個檔案 · 472 KB
      • test/自動化測試MJS · 5 個檔案 · 32 KB
      • tools/建置與檢查指令碼MJS · 4 個檔案 · 25 KB
      • DO-NOT-UPLOAD.txt1 KB
      • index.html12 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md4 KB
    • THIRD-PARTY-LICENSES/需與遊戲一併保留的授權聲明2 個檔案 · 6 KB
      • Fredoka-and-Nunito-OFL.txt5 KB
      • README.txt2 KB
    • CHANGELOG.txt版本紀錄1 KB
    • CUSTOMIZATION.html1 KB
    • DOCUMENTATION.html開啟指南1 KB
    • START-HERE.txt快速入門2 KB
  • POLAR-MARKETPLACE-START-HERE.txt從這裡開始:授權、支援與上手步驟1 KB

商品詳情

版本
Standalone Browser Edition
版本號
1.0.0
發行於
2026年12月1日
更新於
2026年12月1日
分類
益智
語言
英文, 葡萄牙文, 西班牙文, 法文, 德文, 義大利文, 荷蘭文, 波蘭文, 土耳其文, 俄文, 印尼文, 日文, 韓文, 簡體中文
包含的檔案
HTML, CSS, JavaScript, WebP, MP3, WOFF2
技術架構
HTML5, Vanilla JavaScript, ES Modules, Canvas, Web Audio
瀏覽器
支援的瀏覽器:Chrome 110+, Edge 110+, Firefox 115+, Safari 16.4+ (macOS, iPhone, iPad), Samsung Internet 21+, Android 10+, iOS/iPadOS 16.4+。不支援智慧電視和過時的瀏覽器。
文件
文件

作者

Polar Games

來自巴西、專注於瀏覽器遊戲的工作室。這裡的每個範本都是我們自己開發並發行的遊戲。

查看我們的遊戲

執行需求

  • 支援的瀏覽器:Chrome 110+, Edge 110+, Firefox 115+, Safari 16.4+ (macOS, iPhone, iPad), Samsung Internet 21+, Android 10+, iOS/iPadOS 16.4+。不支援智慧電視和過時的瀏覽器。
  • Static HTTP(S) hosting (it does not run from file://); no database, PHP or author account required
  • Only for editing the source with the optional tools: Node.js 26.13 or newer

技術支援涵蓋技術問題,以及所提供遊戲中可重現的瑕疵。安裝與客製化屬於另行收費的服務。

更新日誌

  1. 1.0.02026年12月1日

常見問題

Do I need to build the game?

No. There is no compile step: upload the game folder to any static HTTP(S) host and play. The optional tools are only for the tests and the level generator.

Can I change the theme and the bugs?

Yes. The art is separate WebP files with fixed names, such as assets/cats/<bug>-<face>.webp and assets/cats/<bug>-p-<pose>.webp for the bugs, and the leaves, seeds and world sceneries in assets/game/ and assets/bg/. Swap the pictures and keep the names. A new theme also needs new texts and sounds. The customization guide has step-by-step recipes.

Can I add levels?

Yes. The levels are plain data files, one per world (src/game/levels/world-N.js), made by the level generator with its solver, which proves each level can be solved and stores the par moves. Run the generator for a world, or edit the files, and the game reads them when it starts.

Can I change the helps and the difficulty?

Yes. The number of helps per level (Undo, Shuffle and Extra leaf) is one line at the top of src/game/rules.js, and all the feel numbers (timings, shake, particles) are in src/config.js.

Which languages does it have?

14: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. Japanese, Korean and Chinese use the fonts of the device.

Where is the progress saved?

In the browser of each player (localStorage, keys leafy-bugs-save and leafy-bugs-prefs): the unlocked level, the stars of each level, the language, the volumes and the options. There is no server or account.

Does it have ads, purchases or online play?

No. It is a single-player game with no ads, purchases or server built in, and no online play or leaderboards. If you add any of that for your own audience, it is yours to build.

Does it use a framework or a library?

No. It is plain HTML, CSS and JavaScript ES modules with no runtime dependencies. The rules are pure functions, and the canvas only draws picture files.

Does it work on phones?

It supports touch (tap or drag) in portrait and landscape, and has layouts for tablets, desktop and ultrawide screens. It was tested on a computer in the Chrome and Safari (WebKit) engines. It has not been tested on physical phones or tablets.

What licence applies?

The Polar Games Marketplace terms shown at checkout.

閱讀完整的授權、支援、退款與隱私條款

Before you buy: guides and reviews

從巴西走向世界

買家遍布 25 個國家

為你的網站、應用程式或品牌授權一款附原始碼的現成 HTML5 遊戲。

  • 900+次銷售
  • 25個國家
  • 2016開始銷售
我們售出過的國家: 巴西, 美國, 英國, 德國, 加拿大, 澳洲, 法國, 印度, 荷蘭, 西班牙, 義大利, 日本, 南韓, 波蘭, 墨西哥, 瑞典, 瑞士, 新加坡, 阿拉伯聯合大公國, 沙烏地阿拉伯, 印尼, 土耳其, 葡萄牙, 菲律賓, 越南.

Polar Games 的更多作品

Leafy BugsUS$59 US$50.15 -15%
立即購買