npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fedejure/multiplayer-game-core

v1.2.0

Published

* Every asset path property of any object/item/map, etc. Its relative to the asset root described on AssetConfiguration (default value is `/assets/`) - Use spine version `3.8.95` (the character object into de json must have that version, if cannot find

Readme

Assets

  • Every asset path property of any object/item/map, etc. Its relative to the asset root described on AssetConfiguration (default value is /assets/)
  • Use spine version 3.8.95 (the character object into de json must have that version, if cannot find that version of spine, please change the version number inside json file)

For Atlas:

Maps

Structure of a Map on Tiled:

  • Must have this layers:
    • ground : A tile layer where will be place all the simple ground tiles
    • objects : An object layer composed by Points objects (detailed on Environment items section)
    • tile layer with any name(optional): You can setup any tile layer you want to setup static objects
    • spawn_positions: An object layer to use Points to setup all the possible spawns position.

Maps on Level creator project

  • colliders: Create rectangles adding Collider component

Colliders:

  • You can set where to check collisions (left, right, up, down). By defaul, if you dont set any propery, the collision check will be on every collider face.

Tiles source File and Object source File (image)

  • Must have the same key in MapConfiguration.ts than inside of Tiled

Background

  • Each key of the background must be different (WIP: refactor this) but the image source path can be the same.

Items

New item creation:

  • You need to add a new enrty on the implementations of ItemsRepository, and setup inside the server the necessary image asset

Environment Items

This kind of items are all the items that will be placed on the map (could be iteractable items or only for decoration) like trees, plants, mission items to interact with, etc...

Steps to create and add an item:

  • Create a new entry on db of Environment Object

  • Setup an item on Tiled:

    • You have to add a new Point object on the "objects" layer.
    • That object need to have a custom property called id of type number and is the same id than the object created on the db.
    • Then when the system load the map data, will map that Point object to a Environment Object and place it on the position.

Environment items assets

At the moment there are two kind of assets supported: Spine and Atlas.

  • Spine: Will be loaded like a separated object and can have all the animations you want
  • (WIP) Atlas: This is for object with no animations (mostly environment decorations) and will use the atlas system, which will load a single atlas (preferably one single atlas per map) and use the texture saved on the db object inside that atlas.

Character

Animations

  • All the character spine models must have all the animations existing on AnimationCode enum.
  • The AnimationLayer enum exists to perform multiple animations at the same time, thats why is prefferible to make animations that uses only the necessary bones