I prefer use setText to control processes.
So, no version why it doesn’t work?
If I want make game without gravity ( view from above like pacman ) and i need check collisions between player and walls , what better to use ?
When i remove gravity from config - player and walls become transparent. How to make walls solid ?
Or maybe better use “tiles” for such game ?
You could do a simple check of your player’s and other body’s x and y to determine collision side. For example, I used such function to check hit from top: