Sports

Bank Shot

Aim, draw back, and strike with the right power.

Bank Shot gameplay screenshot, a browser game built with Aura3D

What is Bank Shot?

Pool under a brass lamp: line up the cue, draw back and bank the rack.

Genre
Sports
Platform
Web browser, desktop and mobile
Price
Free to play
Engine
Aura3D 5.8.0
Hands-free demo
/apps/showcase-bank-shot/?autoplay=1

Felt that stops the ball

Cloth rolling resistance stops balls in one to three seconds, and the physics steps on real time with each ball drawn between steps.

Read the implementation
How a frame of Bank Shot runs: input, fixed simulation step, render, HUD Inputkeys, touch, padSimulationfixed 1/60 s stepRenderAura3D sceneHUDscore and state
Illustrative method: the loop most Aura3D games share. The game’s own rules live in the simulation step.

Build your own game

Start with a playable platformer, keyboard controls and a scoring loop. Run these commands, then open the address printed in your terminal.

npx create-aura3d@5.8.0 my-game --template mini-game
cd my-game
npm install
npm run dev

Questions about Bank Shot

How do I play Bank Shot?

Open https://aura3d.auraone.ai/apps/showcase-bank-shot/ in a desktop or mobile browser. There is nothing to install or sign up for; the game loads and runs in the page.

Is Bank Shot free?

Yes. Bank Shot is free to play in the browser, and Aura3D, the engine it is built on, is MIT licensed on npm.

Can the computer play Bank Shot for me?

Yes. Add ?autoplay=1 to the game URL and the game plays itself through a run. Every Aura3D showcase game ships this hands-free mode as a demo and a QA mode.

What engine is Bank Shot built with?

Aura3D, a TypeScript engine for browser games and 3D apps with its own WebGPU and WebGL2 renderer. The implementation link above opens the game's own source.

Can I see the source code?

Yes. The implementation link on this page opens the file that does the work described above, in the public Aura3D repository on GitHub.

Play Bank ShotBuild a browser game with an AI agent