[Feature Request]: Optional finer grid
Feature Type
Other (please specify) - Visuals and gameplay.
Describe
I'd like to suggest the implementation of a finer movement grid. Hidden behind an option in the menu, of course.
From something like this:
To something like this:
... where the grid is now 4 times finer. And the character is taking up a 3x3 space (smaller than before). This creates 16 movement directions rather than the normal 8.
Some considerations:
- It's a large code change, obviously.
- It should be possible to switch this on and off... but not once in-game.
- I don't know what the implications for the pathfinding are.
- This will affect the gameplay when enabled.
- The character (and monsters) will be a bit more "slippery". Surrounding should be harder (like in Diablo 2).
- This will allow for weapons with effectively fractional range (like in Diablo 2... I think).
- In multiplayer all clients need to agree on the grid configuration, obviously.
- Alternative ways to split are possible. For example - 8 times finer. With a 7x7 character (32 directions) or a 5x5 character (24 directions)
As for the additional directions -- I vibe coded a little something that fits gaussian splatting on the sprites (accounting for the lighting and the camera angle). These are some older renders:
Here are the originals for comparison:
Some glitching is visible on the warrior's sword. But that's actually in interpolated frames. I'm still working on that. But this can make higher framerates possible. And with this work it shouldn't even be too hard.
And here's a newer render:
This one has double the resolution. In theory, it's able to recover some subpixel information by combining data from multiple directions. So this makes it better than traditional upscaling. In practice it still has some visual glitches (especially around the zombie's butt) that need fixing.
P.S. No vibe coded garbage is to end up in DevilutionX. It's just for the model (re)generation.
Source: diasurgical/DevilutionX