Compras a menudo en Amazon?? Pincha aquí!!!



ViewGrip: #1 Free Youtube Views, Likes & Subscribers




Powered by Restream.io


miércoles, 23 de febrero de 2022

Show HN: Hathora – Multiplayer Game Development Made Easy https://ift.tt/ir2skjN

Show HN: Hathora – Multiplayer Game Development Made Easy Hi HN, this is Harsh, I am the developer behind Hathora. I tried making a simple multiplayer game a few years ago and, as someone with software engineering experience but no gamedev experience, I found it to be very challenging. On top of the challenges of building a single player game, you now have to constantly battle the network and latency, find ways to prevent cheating, and figure out how to make a scalable backend architecture. With Hathora my goal was to encode best practices for online multiplayer game development into a framework so developers can simply focus on implementing their game logic. Some technical pieces of Hathora I wanted to highlight: - Hathora includes a system I think of as “gRPC for games”. You define your API in Hathora’s declarative format and the framework spits out typesafe data models, clients, and server endpoint stubs across multiple programming languages (although currently only Typescript is implemented). Minimal packet sizes are achieved through a binary serialization format which includes a delta encoding feature, allowing the framework to efficiently synchronize state by sending data diffs. - Hathora includes a Swagger-like Prototype UI generated from the API definition. This allows you to view the game state and call server methods all in realtime, letting you interact with your backend logic without writing a single line of frontend code. Once you are happy with the backend logic, you can create a fully custom frontend using any framework/technology you’d like and just use the Hathora client to communicate with the backend. - By handling generic game functionality (state synchronization, messaging, persistence, etc) for you, Hathora lets you create multiplayer games with very few lines of code. For example, see chess which is implemented in under 200 lines of user code: https://ift.tt/WBwa318... . I also made (a massively simplified version of) Among Us in under 200 lines of code: https://ift.tt/fBTixDA I am looking for developers interested in making online multiplayer games to try out Hathora and give me feedback. Additionally, if the roadmap seems interesting to you I would gladly welcome contributions: https://ift.tt/pxo1wUF . I’ll be around to answer questions, let me know what you think! https://ift.tt/g2z41iX February 23, 2022 at 04:30PM

No hay comentarios:

Publicar un comentario

Escribe !emote y tu emote para unirte al juego

Watch video on YouTube here: https://youtu.be/3tGZ-bSpFWE