A little sunshine. One more rally.
This is an HTML5 3D table tennis game template with full TypeScript source code. Sunset Rally runs in the browser on a garden terrace by the water: matches go to seven points against CPU rivals, with a nine-match campaign across three places, free matches, training and a workshop full of paddle styles. The game folder is already built and ready to upload, and the interface comes in 14 languages.

Feel the shot in every gesture
Move the pointer or drag to control the paddle; hits are automatic. Push up for power, move sideways to place the ball, pull down for a drop shot, and smash when the ball sits up. An optional assist, which players can switch on and off during play, helps the paddle find the ball's height.

Take on the Sunset Circuit
Nine campaign matches in three stages, each worth up to three stars: win, hit three corners and play a rally of ten. That makes 27 stars in all, and clearing each place earns a prize for the workshop. The star conditions are set in a single campaign file.

Three places, a different mood
Play in the Sunset garden, the Sakura garden or the Seaside café, in the morning, the afternoon, at night or in the rain.

Three CPU rivals and a training mode
Each CPU rival plays in their own way: patient Capi, playful Nori and precise Miso. Choose Easy, Normal or Hard, or warm up in training, where your partner returns every ball.

A workshop for paddles, balls and tables
Coins from your wins buy items in the workshop: paddle colour, rubber, shape, handle, wood, edge tape and stickers, plus ball and table styles.

Replays and local saves
Watch the decisive point again after a match. Touch and mouse controls are both supported. Campaign stars, results, statistics and replays are saved in the browser, so no server or account is needed.

A smooth start for your project
The game folder is already built, formatted and unminified: upload it to any HTTP(S) host, keep the relative paths and open its address, with no PHP, database or account. The TypeScript source with its Vite setup is included for deeper changes. The illustrated English and Portuguese manuals cover installation, controls, file map, customisation, saves and troubleshooting.
Who this template is for
Portal and site owners who want a sports game in their catalogue, studios delivering a branded game to a client, and developers who want a readable TypeScript and Three.js project to learn from or extend. One licence covers one end product, yours or one client's.
Customise it
The manual points to where things live: campaign matches and star goals in Campaign.ts, place visuals in Places.ts, physics in physics.ts, scoring and rules in match.ts, interface text in i18n.ts with the other languages in the locales folder, and styling in styles.css. Keep unlock IDs, item IDs and save keys stable, back up first and change one feature at a time.
Technical details at a glance
- Stack: TypeScript, Three.js r184, Vite and WebGL2
- Files: HTML, CSS, JavaScript, TypeScript and JSON
- Delivery: the built game folder plus a source folder with the Vite setup, fonts and audio
- Requirements: a modern browser with JavaScript, ES modules and WebGL2, and any HTTP(S) host for static files
- Rebuilding: Node.js 24 LTS recommended, only if you change the TypeScript source
- Documentation: illustrated manuals in English and Portuguese
Not included in this edition
This edition is played against the CPU. Online multiplayer and online rooms, online leaderboards 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.









