DEV Community

Maiu
Maiu

Posted on

JavaScript MMORPG - Maiu Online - #babylonjs - Ep31: Inventory, drop and pickup items

Hello,
I'm working on inventory system. So far i implemented few things:

  • inventory UI, displaying slot items and currency (dust)
  • monsters drops items or dust (gold)
  • player can pickup item from the ground
  • not picked up items disappear after 30s

still TODO:

  • dropping items on the ground
  • drag and drop for inventory items for dropping/replacing in inventory slots

Top comments (0)

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