Dominos

Dominos

19M Downloads

Enhanced grid display and snapping

Swanarog opened this issue ยท 4 comments

commented

The current implementation of the alignment grid feels very choppy when changing grid density. It also does not display the grid with a truly square grid. Individual squares on the grid are always rectangles.

I've rewritten the code to correct both of those issues, and I'm going to include a short video of the grid density being changed to show how smooth the grid display appears now. If you like what you see, I'll make a fork and post it for you.

(video in next comment)

commented

https://giphy.com/gifs/pWdYpbuIvPkW9Xw2uo

I'm not sure if this clearly shows what I'm trying to convey, hopefully you can see.

commented

I've updated my previous comment with a new link that includes all necessary code changes to go with the better grid display

commented

I've cherry picked the grid commits into the main branch and made a few adjustments. The main thing I've done differently is use GetScreenHeight as the factor for determining scale instead of width. That part is more consistent across various multi monitor and aspect ratios, I think. (I use a 21:9 monitor, for example).