(also fixed a TODO in the code as a side effect of this)
thanks to grinka and coopi for the improvements !!
https://codeberg.org/two/fruits/commits/branch/main
also fixed the sprite edges by setting texture clamping
this is fun hehe
i use love.graphics.shear to skew the shadows a bit. probably no one will notice ? but i like this !
also, i have it on codeberg - https://codeberg.org/two/clines (feel free to fork there on codeberg ! pls no github)
i made it detect all the complete lines of 3+ beads !
i couldnt get any animations right tho, so i just made it find and remove lines only when R is pressed
no advanced algorightm, just there is a nexter variable in addition to next, and when dropping, nexter is moved to next, and then nexter is chosen randomly
it looks kinda meh ...
(only if there is a path) (no animation yet !)