r/GameDevs • • 25m ago

Support and indie game!

1 Upvotes

Hey everyone! I'm a solo indie dev looking to grow a small community around my game.

Just to be transparent, my current promotional vids are AI-generated bc most of my time goes into developing the game. I'm currently working on an in-game cinematic editor to create real footage, and I'll start posting devlogs, gameplay and development updates soon!

If u wanna follow my journey and support a solo dev, I'd really appreciate a sub! ❤️

https://youtube.com/@mrstudiosgames?si=NGWLLgT8CnWTkIIz

Tysm for all the support, every little bit helps!


r/GameDevs • • 1h ago

Looking for ambitious devs for a long term developer team

Thumbnail reddit.com
1 Upvotes

r/GameDevs • • 1h ago

Matter.js gave different physics in Chrome and Safari for the same input. The fix turned out to be six maths functions

1 Upvotes

Quick note first: this is a real question I'm intersting in. I asked Claude to help me write it up so it comes out clearer, so please don't get mad 🙂 The measurements and the code are mine.

I'm making a small physics puzzle game for the browser: you place parts, press go, and a chain reaction either works or it doesn't. For puzzles, the same machine has to give the same result on every device. Otherwise a solution I check on my laptop might fail on someone's phone. So I tested it.

The test: the same 476 machine setups, run in Node (V8, Chrome's engine) and in jsc (JavaScriptCore, Safari's engine). Every half second of game time I hashed the exact position and angle of every body.

Result: 311 of 476 runs (65%) ended in a different state. No win/lose flipped in that sample, because the differences are tiny. But with enough players, a setup sitting right on a boundary will flip, and that's impossible to debug from a bug report.

The cause: in JavaScript, + - * / and Math.sqrt are exact by spec, so every engine gives the same bits. Math.sin, cos, atan2, acos, pow and hypot aren't, and engines round them differently. Matter.js calls five of them 18 times; my code added hypot.

The fix:

  • Replacement versions of those six functions, built only from the exact operations. Sine, cosine and arctangent follow the old fdlibm routines. They're within about 1e-15 of the browser's own; the goal is to be the same everywhere, not more accurate.
  • A pinned copy of Matter.js in the repo, with its calls pointed at those versions.
  • A fixed 120 Hz step, no randomness or clock time in the simulation, and bodies always created in the same order.

After that, 476 of 476 runs matched bit for bit, and no result changed from the original.

To keep it from breaking:

  • A check fails the build if the simulation calls one of the banned Math functions.
  • One fingerprint hash of every level's run is compared in Node and in Safari's engine.
  • A hidden page shows the same hash on any phone.

It matches so far on Android Chrome, desktop Chrome and desktop Safari. Firefox and iPhone aren't tested yet.

What I'd love to hear:

  1. Has anyone seen plain arithmetic differ between JS engines in real life? As far as I know, the spec doesn't allow fused multiply-add, but I'm curious about actual experience.
  2. If you went another way (Rapier's deterministic build, fixed-point, a Box2D port), was it worth it?
  3. Any devices or browsers known to break this kind of setup?

Thanks for reading, and thanks in advance for any experience you can share!


r/GameDevs • • 5h ago

Teaser del trailer di HUSHFALL

Thumbnail reddit.com
1 Upvotes

r/GameDevs • • 6h ago

Just added M16-like gun and runner zombie to my game still in development

Thumbnail youtube.com
1 Upvotes

Wanted to give a nice feeling to gunplay. I have been working on this game for some months with my friend on free time. We have a Gamejolt and Itch.io page if you wanna checkout or play the demo.

Any feedback is welcome!


r/GameDevs • • 9h ago

Working on this prototype where you can shape your magic area with math

1 Upvotes

playable on browser: https://avodhel.itch.io/mathemagician

I saw this video on youtube and though mixing math and magic could be a cool idea and added some rpg elements and meta progression.
This's a very early prototype just testing the idea. Any feedbacks are welcome. Thanks.


r/GameDevs • • 13h ago

Working on my post apocalyptic game world

Thumbnail gallery
1 Upvotes

Going for a particular visual style with my post-nuclear wasteland shooter


r/GameDevs • • 14h ago

Yall know anyone who knows how to code in the Nesfab language?

1 Upvotes

Hi there, i speak for the Vermis NES team, we are developping a fan-game that's actually compatible with NES and it's emulators, we plan to make it with nesfab, which allows for heavy optimization and do a lot more stuff on the NES, we are also open to any pixel artists who know how to make Castlevania 1 styled sprites as well as map designers, so if anyone there has, i'll gladly add you to the team :)


r/GameDevs • • 19h ago

Hey guys, an update after a long time! I’ve spent all this time working on the menu, and especially on the engine and tweaking the rendering. If you want to show your support, leave a like—or whatever the equivalent is here!

1 Upvotes

r/GameDevs • • 21h ago

Looking for advice on transitioning to game art🥹

Thumbnail reddit.com
1 Upvotes

r/GameDevs • • 19h ago

Creating a procedural skybox in browser

0 Upvotes

Using WebGL fragment shaders to procedurally create skyboxes which you can then download as .hdr or .exr to use with Unity or any game engine.

For whoever is interested, the tool is: Localistic