# Swordstruct - Online Survival RPG

**URL:** <https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450>\
**Category:** Demos and projects\
**Created:** [May 10, 2024, 3:17pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450 "2024-05-10T15:17:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kite](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@Kite](https://forum.babylonjs.com/u/Kite)\
**Post date:** [May 10, 2024, 3:17pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/1 "2024-05-10T15:17:23Z")

</div>

![Logosmall](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/b/abe657e3ad99510843545fbffe4a009b6098d8df.png)

**Swordstruct** is an online action survival RPG where players must gather resources, slay animals and monsters, build bases, and team up with others to survive the harsh conditions of this world. You start in this world but nothing but a rock but with enough ambition and grit, you can build anything.

Hello, my name is Tony and I am a US service member learning how to create and develop a game with the free time that I have. Though I’ve only dabbled in game making, I have a passion to create a world other people can experience and enjoy directly from their browsers with minimal load time.

This project began a month ago and I had no direction in which I was going. I opened up Blender… attempted to make a character and enjoyed the process. From there, I made equipment for this character and rapidly, my mind began to flood with thoughts of a world where this character could live in and this is where the project really began.

This project uses Nengi.js and Babylon.js - both of which I would think I’m very much still a beginner with - also at programming as well. I hope you enjoy the process of development and updates I post here as I don’t have much of an audience anywhere else.

[![](https://img.youtube.com/vi/2PKvhMwpspw/hqdefault.jpg "First month developing an online action survival RPG - Swordstruct") ](https://www.youtube.com/watch?v=2PKvhMwpspw)

Any feedback is welcome. Thank you for reading/watching!

Feel free to try the game here. I will push updates to it as often as as I can!

> **[Swordstruct](https://play.swordstruct.io/)**
>
> Swordstruct

W A S D - Move  
Double tap a direction - Roll  
Hold shift - Run

---

<div class="post-metadata">

**Author:** ![Tricotou](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tricotou/32/5844_2.png) [@Tricotou](https://forum.babylonjs.com/u/Tricotou)\
**Post date:** [May 10, 2024, 3:24pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/2 "2024-05-10T15:24:22Z")

</div>

Seems to be a promising project ! 🙂  
Is it the project for which [you asked about cloning characters](https://forum.babylonjs.com/t/best-practice-with-cloning-a-character-with-different-variations-of-clothing/50161) ?

* * *

> [@Kite](#):
>
> Any feedback is welcome

My first feedback is : Where is the test link ? 😁

---

<div class="post-metadata">

**Author:** ![Kite](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@Kite](https://forum.babylonjs.com/u/Kite)\
**Post date:** [May 10, 2024, 3:38pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/3 "2024-05-10T15:38:48Z")

</div>

Yes, I was learning how to merge meshes at that point hehe!

and sorry about that, I updated my original post of where I’ve uploaded the game. I’m a bit shy about it as it’s still not really playable lol

---

<div class="post-metadata">

**Author:** ![Tricotou](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tricotou/32/5844_2.png) [@Tricotou](https://forum.babylonjs.com/u/Tricotou)\
**Post date:** [May 10, 2024, 3:43pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/4 "2024-05-10T15:43:49Z")

</div>

I just gave it a try and I was not alone. Is it multiplayer already ? 😁

---

<div class="post-metadata">

**Author:** ![Kite](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@Kite](https://forum.babylonjs.com/u/Kite)\
**Post date:** [May 10, 2024, 3:44pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/5 "2024-05-10T15:44:26Z")

</div>

Yes, it’s multiplayer! Thank you for trying ^^

---

<div class="post-metadata">

**Author:** ![Tricotou](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tricotou/32/5844_2.png) [@Tricotou](https://forum.babylonjs.com/u/Tricotou)\
**Post date:** [May 10, 2024, 3:50pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/6 "2024-05-10T15:50:31Z")

</div>

Ahah.

The guy :

- `I’m very much still a beginner at programming as well`
- `It’s still not really playable lol`

Also, the same guy :

- `Ah yes, forgot to mention, a multiplayer session manager is enabled already`

😂

---

<div class="post-metadata">

**Author:** ![Kite](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@Kite](https://forum.babylonjs.com/u/Kite)\
**Post date:** [May 10, 2024, 3:53pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/7 "2024-05-10T15:53:06Z")

</div>

😅

So I’ve actually been getting alot of help from the creator of Nengi.js, Alex. Without Nengi which is a networking engine, this would definitely not have been possible so I’m very grateful for all the things he’s taught me and allowing other people to use his engine.

---

<div class="post-metadata">

**Author:** ![Kite](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@Kite](https://forum.babylonjs.com/u/Kite)\
**Post date:** [May 12, 2024, 4:50pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/8 "2024-05-12T16:50:53Z")

</div>

**v.0.0.5**

- Added Attacking/Blocking/Damage  
_( left click to attack / right click to block )_

- Added Player Chat

- Added temporary collisions until a better solution is found.

_Working on next:_  
_- Fixing prediction error of death (screen glitches to no end after a collision the client and server aren’t in sync with)_  
_- Inventory & Items_  
_- NPCS and natural resource nodes such as trees, rocks, etc._

---

<div class="post-metadata">

**Author:** ![Joe\_Kerr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joe_kerr/32/39017_2.png) [@Joe\_Kerr](https://forum.babylonjs.com/u/Joe_Kerr)\
**Post date:** [May 12, 2024, 8:57pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/9 "2024-05-12T20:57:38Z")

</div>

> [@Kite](#):
>
> I’m a bit shy about it as it’s still not really playable lol

Don’t worry about it 🕶

* * *

Did some play testing.

- While running around I must have accidentally hit the ctrl-key instead of shift. As I have just learned, ctrl+w closes the tab (even in pointer lock mode). Maybe prevent defaults on key press?
- There were some collision issues but you mentioned it might be glithchy so probably alright.
- Couldnt find anything else. 👍

---

<div class="post-metadata">

**Author:** ![Kite](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@Kite](https://forum.babylonjs.com/u/Kite)\
**Post date:** [May 13, 2024, 3:06pm UTC](https://forum.babylonjs.com/t/swordstruct-online-survival-rpg/50450/10 "2024-05-13T15:06:06Z")

</div>

Noted! Thank you for trying it out
