Hi,

thank you for trying, but that confuses me only, and it is not the question I've asked...
the Monster is moving inside the "labyrinth" automatically...


my problem is the grid based collision is only working correctly if I move from grid to grid... if I move smoothly it does not
example :

wall is (pixels)
0,0 - 31,31 (wall)
32,32 - 63,63 (air)

according to my logic the top,left corner of the monster square enters 63,63 , then it is divided down to array position of 1,1
logic checks 1,1 top tile free or not ? -1 = wall! ( is correct... )
movement stops at 63,63 because we hit wall...

what I would like to solve is it should result in 1,1 if I get all the way down to 32,32 .... if it would div by 32 here now
check for wall... and turn in another possible direction I would have "perfect" collision....


Greetings
Robert

ps.: when I get back to work... I'll think about this a bit more, problem is there are many tutorials online, but most of em not work, or are
way to complicated to grasp... I for starters don't need a fully fledged platform game sample which is beyond my comprehension for now