frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Testing a Robust Netcode with Godot

https://studios.ptilouk.net/little-brats/blog/2024-10-23_netcode.html
31•smig0•2d ago

Comments

sosodev•5h ago
Interesting article. I'm surprised the author didn't mention https://github.com/foxssake/netfox

The core of Godot's netcode is way too minimal. It gives you a way to synchronize state and make RPC. That's it.

As the author mentions adding in the higher level functionality like prediction, rollback, etc is extremely complicated so it's nice that netfox takes care of a lot of that complexity.

matthewkayin•5h ago
I noticed you have your game on Steam. Did you end up using any of the Steam networking features via Steam SDK and Godot Steamworks?

I'm using ENet for my RTS project and found that Steam's networking code offers many of the same features offered by ENet (including the reliable, in-order delivery of packets, which is invaluable for an RTS Game). I was able to abstract things out so that my game uses ENet on LAN games and Steam networking for online games, and the rest of the game code is none the wiser.

sosodev•5h ago
The Steam networking sockets do offer the same functionality as ENet. Is it possible to use the Steam Datagram Relay without the steam networking sockets? I would assume so. Not sure I see the benefit of supporting both.
righthand•4h ago
Thank you for selling your game DRM-free on Itch!
bee_rider•3h ago
Out of curiosity, how optimistic/pessimistic are the drop rates the author picked?
ghushn3•3h ago
Godot has been really killing it lately, I'm so bullish on their future.

While I think gdscript is largely a mistake and I look forward to feature parity in the C# interface, I'm still very excited to see all the projects coming out of Godot developers today.

jedimastert•1h ago
Godot seems to be doing to the game industry what Blender has been doing to the 3D animation industry, I'm very hopeful for it as well.
fedorareis•1h ago
> I use the reliable mode for sending client inputs to the server: the server needs to be able to recalculate the state of the game reliably, and it's not acceptable for some client inputs to get “lost”. This may cause a bit of latency, and a bit more work for the server, which will have to “rewind” the game a bit further if an input arrives very late, but that's the price to pay for a stable game.

Maybe I’m missing something, but wouldn’t you either want the input to drop or the rewind to not happen at some point? If my network is extremely laggy when I’m playing a multiplayer game I would expect that my attempt to hit an opponent wouldn’t still succeed 1+ seconds later when they have already moved and are no longer in a position to be hit.

jayd16•30m ago
Conceptually you didn't hit after they moved. You hit at the right moment in your timeframe. That is sent to the server 1 second later and you were rewarded for the hit from 1 second ago because it calculates the results based on when you made the input, not when it was received. This can even change the result of an encounter (ie rollback).
fedorareis•21m ago
While I get what you are saying, it seems weird from the standpoint of the other player since they have been out of the engagement area for 1+ seconds. It still seems to me that you would want some sort of cap on the rollback period.

Show HN: I wrote a new BitTorrent tracker in Elixir

https://github.com/Dahrkael/ExTracker
96•dahrkael•2h ago•5 comments

Compiling LLMs into a MegaKernel: A path to low-latency inference

https://zhihaojia.medium.com/compiling-llms-into-a-megakernel-a-path-to-low-latency-inference-cf7840913c17
154•matt_d•6h ago•43 comments

Literate programming tool for any language

https://github.com/zyedidia/Literate
45•LorenDB•3h ago•26 comments

Infinite Mac OS X

https://blog.persistent.info/2025/03/infinite-mac-os-x.html
25•kristianp•1h ago•5 comments

Andrej Karpathy: Software in the era of AI [video]

https://www.youtube.com/watch?v=LCEmiRjPEtQ
1115•sandslash•1d ago•622 comments

Curved-Crease Sculpture

https://erikdemaine.org/curved/
158•wonger_•11h ago•27 comments

Show HN: EnrichMCP – A Python ORM for Agents

https://github.com/featureform/enrichmcp
88•bloppe•8h ago•25 comments

Show HN: A DOS-like hobby OS written in Rust and x86 assembly

https://github.com/krustowski/rou2exOS
147•krustowski•12h ago•35 comments

Octobass

https://www.atlasobscura.com/places/octobass
10•keepamovin•3d ago•1 comments

How OpenElections uses LLMs

https://thescoop.org/archives/2025/06/09/how-openelections-uses-llms/index.html
84•m-hodges•9h ago•34 comments

Guess I'm a Rationalist Now

https://scottaaronson.blog/?p=8908
221•nsoonhui•15h ago•639 comments

Homegrown Closures for Uxn

https://krzysckh.org/b/Homegrown-closures-for-uxn.html
71•todsacerdoti•8h ago•9 comments

String Interpolation in C++ Using Glaze Stencil/Mustache

https://stephenberry.github.io/glaze/stencil-mustache/
18•npalli•3d ago•0 comments

Show HN: RM2000 Tape Recorder, an audio sampler for macOS

https://rm2000.app
30•marcelox86•2d ago•9 comments

Show HN: Unregistry – “docker push” directly to servers without a registry

https://github.com/psviderski/unregistry
632•psviderski•1d ago•139 comments

Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor
196•Maciej-roboblog•15h ago•108 comments

DNA floating in the air tracks wildlife, viruses, even drugs

https://www.sciencedaily.com/releases/2025/06/250603114822.htm
72•karlperera•3d ago•60 comments

Public/protected/private is an unnecessary feature

https://catern.com/private.html
53•PaulHoule•2d ago•51 comments

Flowspace (YC S17) Is Hiring Software Engineers

https://flowspace.applytojob.com/apply/6oDtY2q6E9/Software-Engineer-II
1•mrjasonh•8h ago

What would a Kubernetes 2.0 look like

https://matduggan.com/what-would-a-kubernetes-2-0-look-like/
141•Bogdanp•13h ago•223 comments

We Can Just Measure Things

https://lucumr.pocoo.org/2025/6/17/measuring/
61•tosh•2d ago•47 comments

Star Quakes and Monster Shock Waves

https://www.caltech.edu/about/news/star-quakes-and-monster-shock-waves
35•gmays•2d ago•4 comments

Testing a Robust Netcode with Godot

https://studios.ptilouk.net/little-brats/blog/2024-10-23_netcode.html
31•smig0•2d ago•10 comments

Sunsonic 986-II. A Thai Famicom clone with keyboard and mini CRT built-in

https://mastodon.gamedev.place/@pikuma/114711138512697712
5•sohkamyung•2h ago•0 comments

Giant, All-Seeing Telescope Is Set to Revolutionize Astronomy

https://www.science.org/content/article/giant-all-seeing-telescope-set-revolutionize-astronomy
8•gammarator•2h ago•1 comments

Visual History of the Latin Alphabet

https://uclab.fh-potsdam.de/arete/en
113•speckx•2d ago•66 comments

Munich from a Hamburger's perspective

https://mertbulan.com/2025/06/14/munich-from-a-hamburgers-perspective/
109•toomuchtodo•4d ago•88 comments

Posit floating point numbers: thin triangles and other tricks (2019)

http://marc-b-reynolds.github.io/math/2019/02/06/Posit1.html
47•fanf2•11h ago•33 comments

From LLM to AI Agent: What's the Real Journey Behind AI System Development?

https://www.codelink.io/blog/post/ai-system-development-llm-rag-ai-workflow-agent
121•codelink•16h ago•37 comments

Getting Started Strudel

https://strudel.cc/workshop/getting-started/
143•rcarmo•3d ago•50 comments