I'm creating a platform game and I got stuck at something.
It seems to be simple, but when I have more than one block in the screen it turns out a nightmare.
Develop games in your browser. Powerful, performant & highly capable.
This is by no means a pretty solution, but it is a solution. Just note that the solid function was used and not the platform function.
It's not the best situation but I can use the idea to improve my project.
Ps. I found a bug on it. Sometimes it respawn on top of the player and fade out right away. I don't know if it will be a problem, just to let you know.