Cyber WeekGame templates at Cyber Week pricesEnds in See the deals

Спорт · HTML5

Treetop Rack

Complete HTML5 3D 8-ball billiards game

автор: Polar GamesВерсия 1.0.0Обновлено 1 дек. 2026 г.

  • Исходный код
Живой предпросмотр

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% скидки на каждый

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 Milo (easy), Hazel (medium) and Bruno (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.

Treetop Rack: HTML5 3D 8-ball billiards

A 3D 8-ball billiards game for the web, set in a cozy treehouse with a sky-blue cloth, wooden rails and sunlight through the leaves. 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.

Treetop Rack: aim guide, spin ball and the 8 ball in a pocket

Three animal opponents

You play as a raccoon. Milo the sloth is easy, Hazel the squirrel is medium and Bruno the bulldog is hard. Each has a portrait with four moods, and you can change their skill in one file.

Treetop Rack: Milo, Hazel and Bruno, 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.

Treetop Rack: 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.

Treetop Rack on phone and desktop, in 14 languages

Экраны из этого издания

Сняты в издании, которое продаётся здесь.

Входит в комплект

  • Three modes: against the computer (Milo the sloth easy, Hazel the squirrel medium, Bruno the bulldog 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
  • Animal portraits with four moods, a painted treehouse for upright and wide screens, sunlight through the leaves on the table, 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

Реальная структура папок скачиваемого пакета, имена и размеры считаны прямо из него.

treetop-rack-1.0.0-complete.zip391 файлов · 20,8 MB
  • treetop-rack-static-1.0.0/390 файлов · 20,8 MB
    • documentation/Руководство в HTML, откройте его до покупки33 файлов · 3,5 MB
      • img/JPG · PNG · 18 файлов · 2,7 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 других файлов538 KB
    • game/Готово к размещению: загрузите эту папку170 файлов · 8,7 MB
      • assets/Графика, звук и шрифтыMP3 · TXT · WEBP · WOFF2 · 119 файлов · 6,3 MB
      • css/CSS · 2 файлов · 35 KB
      • lib/JS · 3 файлов · 2,1 MB
      • src/Модули исходного кодаJS · 44 файлов · 239 KB
      • DOCUMENTATION.txt1 KB
      • index.html9 KB
    • source/Читаемый исходный код179 файлов · 8,7 MB
      • assets/Графика, звук и шрифтыMP3 · TXT · WEBP · WOFF2 · 119 файлов · 6,3 MB
      • css/CSS · 2 файлов · 35 KB
      • lib/JS · 3 файлов · 2,1 MB
      • src/Модули исходного кодаJS · 44 файлов · 239 KB
      • tests/АвтотестыMJS · 3 файлов · 11 KB
      • tools/Скрипты сборки и проверкиMJS · 3 файлов · 5 KB
      • DO-NOT-UPLOAD.txt1 KB
      • index.html9 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
Дата выхода
1 дек. 2026 г.
Обновлено
1 дек. 2026 г.
Категория
Спорт
Языки
Английский, Португальский, Испанский, Французский, Немецкий, Итальянский, Нидерландский, Польский, Турецкий, Русский, Индонезийский, Японский, Корейский, Китайский, упрощенное письмо
Включённые файлы
HTML, CSS, JavaScript, WebP, MP3, WOFF2
Технологии
HTML5, Vanilla JavaScript, ES Modules, Three.js, WebGL, Web Audio
Браузеры
Поддерживаемый браузер: Chrome 110+, Edge 110+, Firefox 115+, Safari 16.4+ (macOS, iPhone, iPad), Samsung Internet 21+, Android 10+, iOS/iPadOS 16.4+. Смарт-телевизоры и устаревшие браузеры не поддерживаются. · WebGL 2 доступен на устройстве
Документация
Документация

Автор

Polar Games

Бразильская студия, создающая браузерные игры. Каждый шаблон здесь — игра, которую мы сами разработали и выпустили.

Посмотреть наши игры

Требования

  • Поддерживаемый браузер: Chrome 110+, Edge 110+, Firefox 115+, Safari 16.4+ (macOS, iPhone, iPad), Samsung Internet 21+, Android 10+, iOS/iPadOS 16.4+. Смарт-телевизоры и устаревшие браузеры не поддерживаются.
  • WebGL 2 доступен на устройстве
  • 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.01 дек. 2026 г.

Вопросы

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

Treetop Rack49 $ 41,65 $ -15%
Купить