# \[Web, Poki\] Kingdom Heroes

**URL:** <https://forum.babylonjs.com/t/web-poki-kingdom-heroes/50988>\
**Category:** Demos and projects\
**Tags:** game, mobile, 3d\
**Created:** [June 1, 2024, 9:06am UTC](https://forum.babylonjs.com/t/web-poki-kingdom-heroes/50988 "2024-06-01T09:06:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Sosnovskiy](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_sosnovskiy/32/30165_2.png) [@Alexander\_Sosnovskiy](https://forum.babylonjs.com/u/Alexander_Sosnovskiy)\
**Post date:** [June 1, 2024, 9:06am UTC](https://forum.babylonjs.com/t/web-poki-kingdom-heroes/50988/1 "2024-06-01T09:06:01Z")

</div>

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/8/2/82db0b0b42933c1b34b608323ad410f631eda7d3.jpeg)

Link: [https://poki.com/en/g/kingdom-heroes](https://poki.com/en/g/kingdom-heroes)

Hey! This is my second game. It based on my previous game Village Craft.

My tools: BabylonJS + React + Colyseus + Bun + PostgreSQL + TypeScript.

Features:

**Buildings**  
The gameplay is simple - get money from your chest and spend it to build new buildings, to gain more money from the chest, to build …

**PvE**

I already have a basic combat system to earn exp. points.

> <https://x.com/afrokick/status/1791848771040526665>

**Merchants**

You can buy Clothes, Weapons and Pets. I need to get some lvl to unlock new items.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/7/772132500f3d8343181e66413855c61c683619bf.jpeg)

Currently I’m working on a level design.

Will share a public link soon!

---

<div class="post-metadata">

**Author:** ![Jpg](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jpg/32/43445_2.png) [@Jpg](https://forum.babylonjs.com/u/Jpg)\
**Post date:** [June 2, 2024, 10:53am UTC](https://forum.babylonjs.com/t/web-poki-kingdom-heroes/50988/2 "2024-06-02T10:53:21Z")

</div>

This looks great!

I see you’re using Colyseus. I am curious as to what are the performance benchmarks are? How many players/connections and at what tick rate? I know it has a Bun transport extension now, and was thinking of trying it.

I am also using Bun for my game too, but I built a custom implementation with vanilla websockets and SQLite (I figured I would do a custom implementation so I can run Babylon in headless mode).

Thank you!

---

<div class="post-metadata">

**Author:** ![Alexander\_Sosnovskiy](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_sosnovskiy/32/30165_2.png) [@Alexander\_Sosnovskiy](https://forum.babylonjs.com/u/Alexander_Sosnovskiy)\
**Post date:** [June 3, 2024, 8:39am UTC](https://forum.babylonjs.com/t/web-poki-kingdom-heroes/50988/3 "2024-06-03T08:39:24Z")

</div>

> [@Jpg](#):
>
> I see you’re using Colyseus. I am curious as to what are the performance benchmarks are? How many players/connections and at what tick rate? I know it has a Bun transport extension now, and was thinking of trying it.

I known several projects with 2k+ connections. I think it’s more about a gameplay type, features etc. For my room-based game with up to 5-6 people it should work perfectly.

I use Bun mostly because of DX. You don’t need to use any transpilers, build steps etc. Just Bun.

> [@Jpg](#):
>
> I am also using Bun for my game too, but I built a custom implementation with vanilla websockets and SQLite (I figured I would do a custom implementation so I can run Babylon in headless mode).

I wanted to go this way too, but I’m too busy with game’s features, so I decided to use ready-to-go solution.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [June 3, 2024, 2:07pm UTC](https://forum.babylonjs.com/t/web-poki-kingdom-heroes/50988/4 "2024-06-03T14:07:44Z")

</div>

This looks ultra cool !!!

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [June 3, 2024, 4:28pm UTC](https://forum.babylonjs.com/t/web-poki-kingdom-heroes/50988/5 "2024-06-03T16:28:27Z")

</div>

Can’t agree more!
