# PicoRTS - classic RTS playable in the browser

**URL:** <https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168>\
**Category:** Demos and projects\
**Tags:** game\
**Created:** [April 20, 2021, 9:16pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168 "2021-04-20T21:16:37Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacek](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jacek/32/14526_2.png) [@jacek](https://forum.babylonjs.com/u/jacek)\
**Post date:** [April 20, 2021, 9:16pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/1 "2021-04-20T21:16:37Z")

</div>

Hi all,

I created an old-school RTS inspired by original C&C and Warcraft II.  
It’s a hobby project I was working on in my free time for the last 2 years.  
It runs in the browser and uses BabylonJS for rendering. Initially I used just canvas and 2D graphics - switching to BabylonJS was a breeze and it’s great how easy it is to adapt it to existing code structure.  
The game is currently called PicoRTS, as it’s pretty minimalistic but I might rename it in the future.  
It has both multiplayer and AI opponents. Maps are randomly generated so they are different each time.  
No need to register or anything, just go to the web page and play.

The game is fully playable at the moment but is still in development and requires some polish.  
On the start page there is also a link to youtube video with a tutorial I created 2 weeks ago - it’s already a bit out of date as in the video during the sample battle units need to be issued orders in order to defend the base, now units attack nearby enemies automatically.

The game works most smoothly in Chrome. I don’t have a Mac and haven’t tested on Safari.  
All logic is run server-side, even if you play against AI, so you need to be online and have a decent latency to the server which is currently located in Germany. So I think for people from other parts of the world than Europe the game can be a bit laggy.

Here is the link:  
[http://rts.picowar.com](http://rts.picowar.com)

And a screenshot:

 ![](http://jaceknowak.net/storage/rts_screen1.png)

Any feedback is appreciated.

---

<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:** [April 20, 2021, 9:28pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/2 "2021-04-20T21:28:39Z")

</div>

I had some Dune 2 vibes as well!!

good job!

---

<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:** [April 20, 2021, 9:35pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/3 "2021-04-20T21:35:32Z")

</div>

I lost miserably 🙂

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/0/0e4b107b45acb247db765d5f0c3536468a61ec81.jpeg)

---

<div class="post-metadata">

**Author:** ![jacek](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jacek/32/14526_2.png) [@jacek](https://forum.babylonjs.com/u/jacek)\
**Post date:** [April 22, 2021, 4:15pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/4 "2021-04-22T16:15:42Z")

</div>

Thanks @Deltakosh 🙂  
I should probably make Easy skill setting easier or introduce another one for people who play for the first time 😉

---

<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:** [April 22, 2021, 4:25pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/5 "2021-04-22T16:25:15Z")

</div>

I was literally zerg rushed!!! 😃

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [April 23, 2021, 11:25am UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/6 "2021-04-23T11:25:47Z")

</div>

> [@jacek](#):
>
> Easy skill setting easier or introduce another one for people who play for the first time

To be honest, I didn’t quite figure how it works (in just 2 minutes). But then 2 minutes is probably the average time you have to create interest. May be a small tour or intro to the game rules?  
Note that I’m a long time gamer. Else, it’s really cool to see that people are still willing to put so much effort in a game. And, FYI I tested on MAC (old an new) and it all seems to work perfectly.  
GL with your project,

---

<div class="post-metadata">

**Author:** ![jacek](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jacek/32/14526_2.png) [@jacek](https://forum.babylonjs.com/u/jacek)\
**Post date:** [April 23, 2021, 3:26pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/7 "2021-04-23T15:26:52Z")

</div>

Thanks @mawa for your feedback,

I think that’s one of the problems I need to solve. It’s quite hard with strategy games that they have a learning curve.  
There is a link to a youtube video with a tutorial on the main page but it’s 15 minutes long.  
I think it could be shorter as it’s aimed at total newbies to the genre who never played any RTS before. I think a more realistic audience would be people who already played similar games and understand concepts of base-building, resource-gathering and so on so I should probably make a super short video showing how these things work in this particular game and maybe embed it on the main page instead of just providing a link.

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [April 23, 2021, 3:51pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/8 "2021-04-23T15:51:12Z")

</div>

> [@jacek](#):
>
> There is a link to a youtube video with a tutorial on the main page but it’s 15 minutes long.

To be honest, I didn’t go to the video (sry for the time you certainly spent on it). I might do later on, though if i have some time and fancy it. But let’s face it, most people won’t. It looks like you spent a lot of time and effort doing something that actually works (and works well). May be now would be about the time to focus on how you can better engage your audience? Else, again great (quite amazing in fact) effort. And just to make this clear, I’m not really a noob in RTS or base building;) but things like when you are hovering a building to create and you don’t know what it is or what is does or how long it will take to build before you actually create it is kind of problematic. And then again, I’m not sure everyone will want to go through the video (which in 15mins probably explains all this).

---

<div class="post-metadata">

**Author:** ![jacek](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jacek/32/14526_2.png) [@jacek](https://forum.babylonjs.com/u/jacek)\
**Post date:** [April 23, 2021, 4:53pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/9 "2021-04-23T16:53:18Z")

</div>

@mawa yes, sure, I totally get your point. And it’s exactly what I want to focus on now - finding a way to get people to play the game.

I wasn’t suggesting that you are noob in RTS 🙂 - quite the opposite - I said that the tutorial should probably assume that people understand basic concepts of the genre and this way it could be shorter. You undertand base-building but you still struggled as you didn’t know what to build and what building does what - that’s probably what the tutorial should focus on.

Regarding building names - they are displayed once you click the building icon (clicking it just selects it and until you choose where to build it you aren’t charged for it) but I already got feedback that they should be displayed as soon as you hover so I will definitely change that as you are the second person who finds it confusing 🙂

I think what may also be probably confusing is that you need to build a mine on resources and these resources aren’t always immediately visible when you start the game - the map is randomly generated and it always generates some resources near start position but sometimes they aren’t in the area that is immediately visible and you need to explore a bit (like 1-2 squares into the black shroud) around to find them. I think if you don’t know what to look for it may be confusing as you try to build a mine, which is first building on the list, and you cannot place it anywhere.

All in all I think I should make shorter tutorial, embed it on the start page and also add some hints to the interface (maybe even have more intrusive messages describing what to do which can be disabled but are on by default if you are playing first time?). Thanks again for your feedback, it’s really useful.

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [April 23, 2021, 5:08pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/10 "2021-04-23T17:08:59Z")

</div>

> [@jacek](#):
>
> I wasn’t suggesting that you are noob in RTS 🙂

I know, no offense really. Just wanted to make clear that I have played this genre for…well, let’s forget about the time;)

> [@jacek](#):
>
> I already got feedback that they should be displayed as soon as you hover

Sounds more intuitive to me (personal opinion)

> [@jacek](#):
>
> you need to build a mine on resources and these resources aren’t always immediately

Yes, this comes with the lack of explanation in the GUI. Else, it’s normal that a resource cannot be immediately seen on the map or comes only later in game.

> [@jacek](#):
>
> I should make shorter tutorial

Sounds like a good idea.

Cya later and have a great WE,

---

<div class="post-metadata">

**Author:** ![dweng0](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dweng0/32/15802_2.png) [@dweng0](https://forum.babylonjs.com/u/dweng0)\
**Post date:** [April 27, 2021, 4:20pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/11 "2021-04-27T16:20:56Z")

</div>

Is there a github repo? If love to be able to contribute

---

<div class="post-metadata">

**Author:** ![jacek](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jacek/32/14526_2.png) [@jacek](https://forum.babylonjs.com/u/jacek)\
**Post date:** [April 27, 2021, 9:43pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/12 "2021-04-27T21:43:11Z")

</div>

The game is not open source currently. I am considering open sourcing it but I haven’t made my mind yet (argument for is that I don’t plan to make money on it anyway and someone can find these sources useful, argument against is that this game needs to be hosted on a server anyway).

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [April 28, 2021, 12:29pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/13 "2021-04-28T12:29:00Z")

</div>

> [@jacek](#):
>
> I am considering open sourcing it but I haven’t made my mind yet

There are many ways to contribute to a project. It doesn’t necessarly have to be open-source. What about a discord for a start, try n see if people would eventually engage in your project. It will be hard over time to fix all yourself and then maintain it (as you say there are also costs for the server and server monitoring/maintenance). At this stage, I think I would also take a time to try figure the future of my project… GL and let us know when you have made a decision,

---

<div class="post-metadata">

**Author:** ![strelok93](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/strelok93/32/16955_2.png) [@strelok93](https://forum.babylonjs.com/u/strelok93)\
**Post date:** [June 19, 2021, 8:38pm UTC](https://forum.babylonjs.com/t/picorts-classic-rts-playable-in-the-browser/20168/14 "2021-06-19T20:38:31Z")

</div>

O Dune the battle for arrakis))
