Our great sponsors
-
ArmorAlley
A browser-based interpretation of Armor Alley, a combat strategy game originally released in 1990 for the Macintosh and MS-DOS PCs.
Clock sync I never really had to pay attention to framerate, before. Previously, it was just "target 30FPS." Thanks to some friends, I found that my requestAnimationFrame()-based game loop was running up to 36 FPS vs. 30 on computers with 144-Hz monitors. I had to tweak my "minimum frame time" logic slightly, to get everyone at 30. For the curious, here is the commit - a two-line change, before comments. https://github.com/scottschiller/ArmorAlley/commit/01f9f435424c6b61f8765b13dd52504cd9b3d397
-
I'm using the client-side PeerJS https://peerjs.com/ library for networking. As the name may imply, a direct connection is established between two peers using WebRTC via "handshake" through an intermediary server they host - and, they provide source for the server as well. I have found it to be quite reliable, thus far.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Related posts
- A question about webrtc
- Do you feel that programming has been easier to understand in game development versus other types of programming because of your experience with actual videogames?
- New to WebRTC and Node.js, Need Help Getting Started
- CRDTs and Distributed Consistency - Part 3: Building a distributed counter
- Multiplayer in Augmented Reality