I need player to move by specific amount of pixels , each step.
I may set x +value, but that way, I ignore solids, how do I do it without ignoring solids.
This may be dumb question, but I got stuck on it
can this help:
event like this: on collision or overlaping object... stop movement.
Develop games in your browser. Powerful, performant & highly capable.
I made this a while back. Not maybe the best ever, but so far I didn't have any issues.
CAPX
Try this tutorial
https://www.scirra.com/tutorials/864/board-movements
also see this CAPX