mmorpg

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
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.