Black FridayGame templates at Black Friday pricesEnds in See the deals

体育 · HTML5

Emerald Break

Complete HTML5 3D 8-ball billiards game

作者: Polar Games版本号 1.0.0更新于 2026年11月29日

  • 源代码
  • 在线演示
  • 附带文档
永久授权US$49 US$41.65 -15%立即购买
Aiming in the 3D view: the guide shows where both balls go.The break, behind the cue ball.The view of the whole table.The menu: against the computer, two players, practice and how to play.Choose between Leo (easy), Maya (medium) and Victor (hard).The red X warns about a ball that would be a foul.The result screen, with shots, best run and time.The start screen.Pause: resume, restart or go back to the menu.Separate volumes for music and effects.Settings: reduced motion, aim guide, full screen and language.The 14 languages of the game.

Emerald Break: HTML5 3D 8-ball billiards

A 3D 8-ball billiards game for the web, set in a quiet private club with a green cloth, mahogany rails and a brass lamp. Aim, choose the power and the spin, and play against the computer, with a friend on the same device, or alone in practice. Plain HTML, CSS and JavaScript ES modules with Three.js included: no npm dependencies and no compile step.

Aim, spin and ball physics

Drag to aim or tap a ball, pull the bar to set the power and choose where the cue hits the cue ball. The guide shows where both balls go and changes with the power and the spin. The physics runs with a fixed time step, so the same shot always gives the same result.

Emerald Break: aim guide, spin ball and the 8 ball in a pocket

Three opponents

Leo is easy, Maya is medium and Victor is hard. Each has a portrait with four moods, and you can change their skill in one file.

Emerald Break: Leo, Maya and Victor, three computer opponents

Three ways to play

A match against the computer, two players taking turns on one device, or practice with no rules. The 8-ball rules cover groups, fouls and ball in hand. There is a 3D view behind the cue ball and a view of the whole table.

Emerald Break: against the computer, two players or practice

Phone, tablet and desktop, in 14 languages

Layouts for phones and tablets in portrait and landscape and for desktop monitors, with touch and mouse. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese.

Emerald Break on phone and desktop, in 14 languages

本版本的游戏画面

截取自此处销售的版本。

包含

  • Three modes: against the computer (Leo easy, Maya medium, Victor hard), two players taking turns on one device, and practice with no rules
  • Ball physics with spin, cushions, six pockets and a fixed time step: the same match and the same shot always give the same result (src/core/)
  • 8-ball rules with no interface code: groups decided after the break, four fouls, ball in hand, the 8 in any pocket, and a pocketed 8 that returns to the table on the break
  • Aim guide with the path of the cue ball, the target ball and the cue ball after the hit (it changes with the power and the spin), a red X on fouls, and an option to turn it off
  • A 3D view behind the cue ball, a wider view while the balls roll, and a view of the whole table
  • Call-outs for bank shots, combinations, long pots, thin cuts and doubles, slow motion on the winning 8, a result screen with the numbers of the match, and a computer match behind the menu
  • Player portraits with four moods, painted club room for upright and wide screens, sound effects scaled by the speed of each hit, and 2 music tracks with separate volumes
  • 14 interface languages; layouts for phones and tablets in portrait and landscape and for desktop; touch and mouse, with the arrow keys for fine aim; vibration, reduced motion, aim guide and full screen options
  • Ready-to-host game/ folder and the complete editable source (plain JavaScript ES modules and Three.js r186 included, unminified, no compile step, no npm dependencies) with 15 automated checks, a preview server and npm run build
  • Offline buyer guide and a step-by-step customization guide, both in 14 languages

本版本不包含

  • Online multiplayer, accounts or leaderboards
  • Native apps, hosting and custom development

ZIP 包里有什么

您下载的安装包的真实文件夹结构,名称和大小均直接读取自包内。

emerald-break-1.0.0-complete.zip371 个文件 · 19.1 MB
  • emerald-break-static-1.0.0/370 个文件 · 19.1 MB
    • documentation/HTML 指南,购买前请先打开33 个文件 · 2.6 MB
      • img/JPG · PNG · 18 个文件 · 1.8 MB
      • customization-de.html18 KB
      • customization-es.html17 KB
      • customization-fr.html18 KB
      • customization-id.html17 KB
      • customization-it.html17 KB
      • customization-ja.html19 KB
      • customization-ko.html18 KB
      • customization-nl.html17 KB
      • customization-pl.html17 KB
      • customization-pt.html17 KB
      • customization-ru.html21 KB
      • customization-tr.html18 KB
      • +3 个文件537 KB
    • game/可直接部署:上传此文件夹即可160 个文件 · 8.2 MB
      • assets/美术、音频和字体MP3 · TXT · WEBP · WOFF2 · 109 个文件 · 5.8 MB
      • css/CSS · 2 个文件 · 27 KB
      • lib/JS · 3 个文件 · 2.1 MB
      • src/源代码模块JS · 44 个文件 · 225 KB
      • DOCUMENTATION.txt1 KB
      • index.html8 KB
    • source/可读的源代码169 个文件 · 8.2 MB
      • assets/美术、音频和字体MP3 · TXT · WEBP · WOFF2 · 109 个文件 · 5.8 MB
      • css/CSS · 2 个文件 · 27 KB
      • lib/JS · 3 个文件 · 2.1 MB
      • src/源代码模块JS · 44 个文件 · 225 KB
      • tests/自动化测试MJS · 3 个文件 · 11 KB
      • tools/构建与检查脚本MJS · 3 个文件 · 5 KB
      • DO-NOT-UPLOAD.txt1 KB
      • index.html8 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md3 KB
    • THIRD-PARTY-LICENSES/需与游戏一并保留的许可声明4 个文件 · 11 KB
      • Fredoka-OFL.txt4 KB
      • README.txt1 KB
      • Rubik-OFL.txt4 KB
      • three-MIT-LICENSE.txt1 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年11月29日
更新于
2026年11月29日
分类
体育
语言
英语, 葡萄牙语, 西班牙语, 法语, 德语, 意大利语, 荷兰语, 波兰语, 土耳其语, 俄语, 印度尼西亚语, 日语, 韩语, 简体中文
包含的文件
HTML, CSS, JavaScript, WebP, MP3, WOFF2
技术栈
HTML5, Vanilla JavaScript, ES Modules, Three.js, WebGL, Web Audio
浏览器
支持 WebGL2 的现代浏览器
文档
文档

作者

Polar Games

来自巴西、专注浏览器游戏的工作室。这里的每个模板都是我们自己开发并发布的游戏。

查看我们的游戏

运行要求

  • A current browser with JavaScript, WebGL 2 and audio support
  • Static HTTP(S) hosting; no database, PHP or author account required
  • Only for editing the source: Node.js 26.13 or newer

技术支持涵盖技术问题,以及所提供游戏中可复现的缺陷。安装和定制属于单独的服务。

更新日志

  1. 1.0.02026年11月29日

常见问题

Do I need to build the game?

No. Upload the contents of game/ to any static HTTP(S) host. The source/ folder is only needed to run the tests or rebuild.

Can I reskin it?

Yes. Replace the cloth, the wood, the balls, the cue, the portraits, the room or the logo in assets/ keeping the names and sizes. The customization guide has step-by-step recipes.

Can I change the opponents?

Yes. DIFFICULTY in src/core/ai.js sets how much each opponent misses the aim and the power.

Is there online multiplayer?

No. Two people can play on the same device, and one person can play against the computer.

Which library does it use?

Three.js r186 for the 3D drawing, included and unminified (MIT License). The physics, the rules and the opponents are our own code.

Does it work on phones?

Yes, in portrait and landscape, with touch. On desktop it works with a mouse, and the arrow keys fine-tune the aim.

What licence applies?

The Polar Games Marketplace terms shown at checkout.

阅读完整的授权、支持、退款和隐私条款

Before you buy: guides and reviews

从巴西走向世界

买家遍布 25 个国家

为你的网站、应用或品牌授权一款附源代码的现成 HTML5 游戏。

  • 900+次销售
  • 25个国家
  • 2016开始销售
我们售出过的国家: 巴西, 美国, 英国, 德国, 加拿大, 澳大利亚, 法国, 印度, 荷兰, 西班牙, 意大利, 日本, 韩国, 波兰, 墨西哥, 瑞典, 瑞士, 新加坡, 阿拉伯联合酋长国, 沙特阿拉伯, 印度尼西亚, 土耳其, 葡萄牙, 菲律宾, 越南.

Polar Games 的更多作品

Emerald BreakUS$49 US$41.65 -15%
立即购买