DEV Community

Maiu
Maiu

Posted on

JavaScript MMORPG - Maiu Online - #babylonjs - Ep42: Npc quests status icons

Hello Adventurers,
Long time no see! Recently I was spending less time on the project and I was focused on server side stuff. I refactored a lot of code and also did few improvements. This time I added quest status mark on npc to indicate if are there any quests to take or finish.

Image description

Aside this, server refactoring and small improvements these are the things that changed since last update:

  • added movement lag compensation
  • in file db will keep data between server restarts
  • new event bases spatial system (previous one was calculating subscriptions changes periodically each 1s), this change should bring more responsiveness to the game eg. picked up item will disappear faster than before
  • small optimization in server side network publisher will reduce latency a little bit.
  • introduced delay to ecs entity ids recycling mechanism to avoid potential bugs.
  • some initial work to prepare game server to be able to spin up more zones in one simulation (for arenas/dungeons etc)
  • nicer snow flakes effect for magic arrow spell (Wizard)

Also i was trying to rework movement and combat system but I failed. Idea was bad and I decided for now to postpone work.

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (2)

Collapse
 
vajin1125 profile image
Vasile Engineering

Hi Rafal,
How are you? I'd like to contact you to discuss about something you are interested in.
Please leave your contact info(e.g. email, phone).
Hope to hear from you soon.
Thanks

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs