3 ms·
every time I use this trick, I think of how running diagonally in some games is faster than running in one direction...
by jareklupinski 5y ago
every time I use this trick, I think of how running diagonally in some games is faster than running in one direction...
- badRNG 5y agoI think that's just because those games are written poorly and don't account for the differences in moving diagonally. If you are moving on a grid, moving forward one tile moves you the length of a tile. Moving diagonally one tile moves you sqrt(2) ~1.4 tile lengths.
- Akronymus 5y agoMore often it is because both inputs apply some speed. Like in doom. https://doom.fandom.com/wiki/Straferunning https://doom.fandom.com/wiki/Straferunning
- adamrezich 5y agoalways normalize your input vectors!