Jump to content

[Browser/Mobile] Balak City – a multiplayer open-world city that runs in a browser tab


BalakCity
 Share

Recommended Posts

Hi everyone! I've been building Balak City, a multiplayer open-world city that runs in a browser tab on PC and mobile, and also inside Telegram as a Mini App. No download, free to play.

Airport at night

What's in it

  • A living city: airport, cargo port, factories, farms, beaches and live traffic, with day and night.
  • Cars, trucks, boats, helicopters and planes; delivery and transport jobs; missions.
  • Everyone shares the same city in real time, with chat and a few AI neighbors.

Industrial zone

How it's made (the part this forum might like)

  • Plain JavaScript and Canvas 2D, with a WebGL2 path on desktop. The city is drawn in cached layers, so a zoomed-out frame redraws very little.
  • The backend is Cloudflare Workers with Durable Objects: one object per city room holds the authoritative state over WebSockets.
  • A headless browser on a small VPS acts as the "host" that simulates traffic and NPCs 24/7, so the city keeps moving even with zero players online.
  • The server credits movement steps against real time, which stopped speed hacks without trusting the client.

Pier at night

There's an optional in-game economy that uses USDT on Solana, but you can play all of it without paying anything.

▶ Play in your browser · itch.io page

I'd really appreciate feedback on the first five minutes, and on performance on low-end phones. Happy to answer questions about the Workers + headless host setup.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...