How to make collisions in Tic80
From tic 1.00 you can set spetial bits
like in Pico-8 now we can check this bits anytime.
this function check collide square with marked tile
example to use this function:
this is it !
this can be written like
so, collide we may check after change x and y of our hero
then code will
but if sprite has more than 8px width, then check must be some huge
next code check each border pixel for collide
work perfectly !