Polar GamesMarketplace
Black FridayGame templates at Black Friday pricesEnds in See the deals

स्पोर्ट्स · HTML5

Velvet Pool

HTML5 8-Ball Billiards Game with CPU and Local Two Player

द्वारा Polar Gamesसंस्करण 1.1.0अपडेट किया गया 22 अक्टू॰ 2026

  • सोर्स कोड
  • लाइव डेमो
  • दस्तावेज़ित
स्थायी लाइसेंस$39 $33.15 -15%अभी खरीदें
Main menu: CPU levels, two players and practice.Opening break against the CPU, with power bar and spin control.Settings: sound, game and display tabs.

Aim. Spin. Sink it.

This is an HTML5 8-ball pool game template with full source code: a finished browser game you upload to your own web host and make your own. Players aim, set the power and add follow, draw or side spin to the cue ball. Three CPU levels, a free practice table and two-player matches on one device are already built in, and the interface comes in 14 languages.

Velvet Pool, an HTML5 8-ball pool game template: Aim. Spin. Sink it.

Every shot starts with a plan

On desktop, move the mouse to aim, click to lock the line, then drag down and release to shoot. The mouse wheel fine-tunes the angle and a right-click unlocks it. On touch screens you aim on the table and pull with the power control. A dotted guide shows the path, and the rules module handles fouls, ball-in-hand and solids or stripes.

Velvet Pool aiming screen: the cue lined up behind the cue ball with a dotted guide to the yellow 1 ball and the corner pocket.

Cue-ball spin and custom physics

The spin button sets follow, draw and side spin. The ball physics were written for this game in plain JavaScript and rendered with WebGL2, with no third-party 3D library. They live in their own physics file, apart from the CPU logic.

Velvet Pool spin control for follow, draw and side spin on the cue ball.

Three CPU opponents

Easy, Medium and Hard computer opponents. CPU shot selection lives in one readable file, so you can tune how the computer plays.

Velvet Pool CPU levels: Easy, Medium and Hard opponents.

A practice table that teaches

Free play with no opponent, with undo, ball placement and re-rack. Useful for players who want to master a shot before a match.

Velvet Pool free practice table with undo, ball placement and re-rack.

Cloths, cues and local records

Local achievements unlock five cloth colours and five cue styles. Statistics and personal scores are stored in the browser, with no account or server. Eligible CPU matches that you finish save a personal score; practice and same-device matches do not.

Velvet Pool cosmetics: unlockable cloth colours and cue styles for the table.

Two players, one device, 14 languages

Pass the phone or share the laptop: same-device matches sit next to CPU play and practice. The interface comes in 14 languages, picked from a dropdown: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Simplified Chinese.

Velvet Pool two-player mode: two people sharing one device for a match.

A smooth start for your project

Upload the contents of the game folder to any static host, keeping the subfolders, and open its address: no npm, no build step, no PHP, no database. Serve it over HTTP(S) rather than opening index.html from disk. The illustrated manual covers installation, file map, customisation, saves and troubleshooting.

Who this template is for

Portal and site owners who want a pool game in their catalogue, studios delivering a branded game to a client, and developers who prefer to learn from readable, formatted JavaScript instead of minified bundles. One licence covers one end product, yours or one client's.

Customise it

The manual points to where each thing lives: cloth and cue definitions in progress.js (keep item IDs stable so saved cosmetics keep working), CPU behaviour in the CPU shot-selection file, physics parameters in physics.js, texts in i18n.js, and the logo files in assets/logo/ with matching sizes in the CSS. Back up first and change one feature at a time.

Technical details at a glance

  • Stack: Vanilla JavaScript, WebGL2 and ES modules, with no 3D library
  • Files: HTML, CSS, JavaScript and JSON
  • Delivery: a ready-to-host game folder plus the readable source edition
  • Requirements: a modern browser with JavaScript, ES modules and WebGL2, and any HTTP(S) host that serves static files
  • Optional tests: Node.js 20+ for physics, rules, CPU and translation checks
  • Documentation: illustrated manual in English and Portuguese

Not included in this edition

This is the local browser edition. Online multiplayer and private rooms, online rankings and cloud accounts, advertising SDKs and accounts, native apps and hosting are not part of the package.

Licence and support in short

A perpetual, non-exclusive licence for one end product. Players can access it free of charge or through advertising monetisation. Six months of support are included, or 12 months with the extension; support covers installing and using the files and fixing reproducible defects. Customisation, hosting and SDK or portal integration are separate services, quoted first.

इस संस्करण की झलकियां

यहां बेचे जा रहे संस्करण से कैप्चर किया गया।

शामिल

  • Ready-to-host HTML5 game (game/ folder)
  • Readable developer source with the game assets
  • Illustrated English and Portuguese manual with real screenshots
  • Optional automated tests (Node.js 20+): physics, rules, CPU and translations
  • Third-party licence notices and changelog

इस संस्करण में शामिल नहीं

  • Online multiplayer or private online rooms
  • Online rankings or cloud accounts
  • Advertising SDKs or accounts
  • Native apps, hosting or hosted services

ZIP में क्या है

आप जो पैकेज डाउनलोड करते हैं उसकी असली फ़ोल्डर संरचना, जिसके नाम और आकार उसी से पढ़े गए हैं।

velvet-pool-1.1.0-complete.zip249 फ़ाइलें · 17.2 MB
  • velvet-pool-static-1.1.0/248 फ़ाइलें · 17.2 MB
    • documentation/HTML गाइड, खरीदने से पहले इसे खोलें4 फ़ाइलें · 1.5 MB
      • images/गाइड के चित्रPNG · 3 फ़ाइलें · 1.5 MB
      • index.html31 KB
    • game/होस्ट करने के लिए तैयार: यह फ़ोल्डर अपलोड करें116 फ़ाइलें · 7.8 MB
      • assets/आर्ट, ऑडियो और फ़ॉन्टJSON · MP3 · PNG · SVG · TXT · WEBP · WOFF2 · 89 फ़ाइलें · 7.2 MB
      • css/CSS · 2 फ़ाइलें · 72 KB
      • src/सोर्स मॉड्यूलJS · 24 फ़ाइलें · 507 KB
      • index.html35 KB
    • source/पढ़ने योग्य सोर्स कोड122 फ़ाइलें · 7.8 MB
      • assets/आर्ट, ऑडियो और फ़ॉन्टJSON · MP3 · PNG · SVG · TXT · WEBP · WOFF2 · 89 फ़ाइलें · 7.2 MB
      • css/CSS · 2 फ़ाइलें · 72 KB
      • src/सोर्स मॉड्यूलJS · 24 फ़ाइलें · 507 KB
      • tests/स्वचालित टेस्टJS · 2 फ़ाइलें · 13 KB
      • DO-NOT-UPLOAD.txt1 KB
      • index.html35 KB
      • manifest.webmanifest1 KB
      • package.json1 KB
      • README.md1 KB
    • THIRD-PARTY-LICENSES/आपके गेम के साथ रखने वाली लाइसेंस सूचनाएं3 फ़ाइलें · 10 KB
      • Fraunces-OFL.txt4 KB
      • Manrope-OFL.txt4 KB
      • README.txt1 KB
    • CHANGELOG.mdसंस्करण इतिहास2 KB
    • MANIFEST.jsonपैकेज फ़ाइल सूची39 KB
    • START-HERE.txtत्वरित शुरुआत1 KB
  • POLAR-MARKETPLACE-START-HERE.txtयहां से शुरू करें: लाइसेंस, सपोर्ट और पहले कदम1 KB

आइटम का विवरण

संस्करण
Local Browser Edition
संस्करण
1.1.0
जारी किया गया
15 अक्टू॰ 2026
अपडेट किया गया
22 अक्टू॰ 2026
श्रेणी
स्पोर्ट्स
भाषाएं
अंग्रेज़ी, पुर्तगाली, स्पेनिश, फ़्रेंच, जर्मन, इतालवी, डच, पोलिश, तुर्की, रूसी, इंडोनेशियाई, जापानी, कोरियाई, सरलीकृत चीनी
शामिल फ़ाइलें
HTML, CSS, JavaScript, JSON
किससे बना है
Vanilla JavaScript, WebGL2, ES modules
ब्राउज़र
WebGL2 वाले आधुनिक ब्राउज़र
दस्तावेज़ीकरण
दस्तावेज़ीकरण

लेखक

Polar Games

ब्राज़ील का एक स्टूडियो जो ब्राउज़र गेम बनाता है। यहां का हर टेम्पलेट एक ऐसा गेम है जिसे हमने बनाया और प्रकाशित किया है।

हमारे गेम देखें

आवश्यकताएं

  • A modern browser with JavaScript, ES modules and WebGL2
  • Any HTTP(S) web host that serves static files
  • No npm, build step, PHP, database or account

सपोर्ट में दिए गए गेम के तकनीकी सवाल और दोहराए जा सकने वाले दोष शामिल हैं। इंस्टॉलेशन और कस्टमाइज़ेशन अलग सेवाएं हैं।

बदलावों का इतिहास

  1. 1.1.022 अक्टू॰ 2026
  2. 1.0.118 अक्टू॰ 2026
  3. 1.0.015 अक्टू॰ 2026

सवाल

Do I need a server or database?

No. Upload the contents of the game/ folder to any static web host and open index.html. Progress is saved in the player's browser.

Can I change the branding and the rules?

Yes. The source is plain, formatted JavaScript. The manual shows where the logo, cloth and cue styles, CPU behaviour and physics live.

Is the online mode from the Polar Games portal included?

No. This is the local edition: CPU, practice and two players on one device. Online rooms and rankings are not part of this package.

Can I put Velvet Pool on my website and add my own ads?

Yes. One licence covers one end product, yours or a client's, and players may access it free or through advertising monetisation. No ad SDK or ad account is included, and SDK or portal integration is a separate quoted service. Questions: willian@polargames.com.br.

Does the pool game work on phones?

Yes, touch input is supported: you aim on the table and pull with the power control, and the controls adapt to the screen size. Performance depends on the browser and the device, so test the devices you target. WebGL2 is required.

Which languages does the game support?

The interface has 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Simplified Chinese, chosen from a dropdown. The texts live in i18n.js. The manual is in English and Portuguese.

पूरी लाइसेंस, सपोर्ट, रिफंड और गोपनीयता शर्तें पढ़ें

Before you buy: guides and reviews

Polar Games की और चीज़ें

Velvet Pool$39 $33.15 -15%
अभी खरीदें