mstdn.games is one of the many independent Mastodon servers you can use to participate in the fediverse.
We are a gaming-focused space on Mastodon. We welcome everyone who enjoys any type of gaming - it doesn't just need to be video games. Let's build a diverse and inclusive community together!

Administered by:

Server stats:

465
active users

#godotengine

78 posts69 participants1 post today

Now my game has a simple multiplayer mode.

It is still quite rough, and I still have to fix some of the errors that I encountered during synthetic simulations of network errors. (although I still think udp is not the best idea)
But it works!

When programatically adding tilemap tiles to a scene (using set_cell()), is there an easy way to avoid needing to specify 'magic' numbers as the atlas coordinates?

I thought about defining constants for the coordinates I use, but then I'd end up with dozens of them, and I wonder if that's even helping or not...

Has anyone else done this? What was your solution?