babylonjs

JavaScript MMORPG – Maiu Online #babylonjs – Ep: 25 – Monsters AI System

JavaScript MMORPG – Maiu Online #babylonjs – Ep: 25 – Monsters AI System

Hello, Finally I finished work on first prototype of monsters AI module. Monsters have several states: IDLE, PATROL, DEAD, FLEEING, COMBAT.Idle monsters are non active even when someone attack them. Patrolling ones are walking around and checking each 0.5s is they have someone to attack in a range if yes then they start chase target (combat state) and attack when in range. Dead are obvious and fleeing is triggered when monster is enough far away from the position where it switched into combat state.I also added death to the monsters after 120s they respawn.Implementation have some bugs and AI it's…
Read More
#babylonjs Browser MMORPG #indiegamedev Ep21 – Spatial Hash Grid Area of Interest

#babylonjs Browser MMORPG #indiegamedev Ep21 – Spatial Hash Grid Area of Interest

HelloI'm working on POC (prove of concept) implementation of monsters system. I managed to achieve first milestone which is loading entities into engine.And finally i have occasion to show You how my hash grid area of interest is working.Engine is refreshing area of interest data each second and it sends info to the clients to show/remove entity. There're two visibility ranges. First is lower (eg 50 units) it describes distance below which entity should be visible and second visibility range (eg 100 units) is bigger and it's use to hide entities. This way I'm avoiding sending create/remove entity command when…
Read More
Making a Multiplayer WEB RPG – Part 10: Customizing Characters

Making a Multiplayer WEB RPG – Part 10: Customizing Characters

Hi All, I've been working on character customization systems. It is nearly complete and includes a big performance boost compare to previous method. I have 2 types of items (I’m sure none of this is new to you guys, but sharing is caring :slight_smile: ): dynamic items that I attached via code to the relevant bone (weapon, hat, shields, etc…) embedded items which are rigged item in blender (head & armor currently), not much choice there as a skirt for example needs to move with the legs (not possible with the dynamic method) So I now have one single VAT…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.