• Content count

  • Joined

  • Last visited

  1. Yeah there's definitely some challenges involved. Some lag compensation techniques I used, prediction for smooth client side movement, lerping other players and mobs ~150ms in the past, and skill cast time and fire rate to mask latency. How a projectile fire works is client initiates a fire, there's a 150ms "fire rate" or delay to allow the client to confirm with the server. The projectile is never actually fired on the server and the event gets broadcasted to connected players. The delay is actually a fairly smooth experience since it's consistent. If a client detects a collision between their projectile and a mob the server is notified and replays the old event and past mob position to verify. As you can see in the top right corner I had about ~50ms latency here connecting to a cheap server but anything up to 150 is smooth and I still need to test higher latency than that. No pvp at this time although I may add it in the future.
  2. Hello - I've been working on a multiplayer action rpg + bullet hell game for about 5 months now and decided to share a short gameplay video. The front end is Pixi.js for rendering, React for the UI, and the rest is a custom engine. The back end is socket.io & Node. Features Implemented so far 3 classes - Warrior, Mage, Rogue ~12 different skills ~40 item types with magic and rare item generation ~30 different mobs 4 maps authoritative server Persistent characters, inventory, skills with DB https://blackmass.io - I'll leave it up for a bit
  3. Strange Sprite Outline Filter Artifact

    Thanks much appreciated.
  4. Strange Sprite Outline Filter Artifact

    Want me to open up an issue for it on Github? I took a look at the source code but have no idea how it works.
  5. Strange Sprite Outline Filter Artifact

    So the issue still seems to show up randomly although not as frequently :/
  6. Strange Sprite Outline Filter Artifact

    Thanks - setting it to 15 seems to be the magic number for my sprites.
  7. I'm not able to pinpoint what causes it yet but at some point the artifact appears permanently. I attached a picture and you can see it on the character sprite. Any ideas? Thanks.
  8. Right Click + Left Click Same Time

    Yeah it's the solution I'm going with for now. It's a little dirty, but it works. Firefox has PointerEvents disabled by default so Pixi falls back to mouse event callbacks if they are disabled / not supported by the current browser.
  9. Right Click + Left Click Same Time

    onmouseup(e){ e.which == 3} will be the right click link to issue https://github.com/pixijs/pixi.js/issues/4048
  10. Right Click + Left Click Same Time

    Thanks. Looks like it's a bug with PointerEvents because if I set window.PointerEvent = null it falls back to mouse events and works. I opened an issue on GitHub. Mouseup also tracks onContextMenu up.