Hello (2nd language english here).
I want to make a "Sokoban" prototype. But I have a problem with moving the crates, I don't seem to get the collision between the crates and the wall to work, and the crates and the player too.
I can move the player just fine, but not the crates, they cross the wall and they cross between themselves and when the player want them to move, it don't always work.
For you to better understand the different problems of collision, I put the .capx file. I want to point out that the source code for the player displacement is not from me, but from an example I found on this forum (I don't really like to reuse in an identical way the source code of someone else, but since I'm not used to program that kind of game, and I didn't know how to do a grid movement...)
I thought reusing the code for the player movement would work for the crates.
Thanks in advance for anyone who can help.