Hello, sorry about my bad english.
Im trying to do a Sokoban game, but when i play, i dont have a natural movement when pushing an object.
Can someone try to help me?
please explain more! . to get a proper answer tell how did you make it ? using physics ? or Pine behavior ? .... or what ?
and what is your problem exactly ? " i don't have a natural movement " isn't an explanation, because we didn't see how it looks like , only you do .
Develop games in your browser. Powerful, performant & highly capable.
You might want to check out the "How do I FAQ" looking for the item
"Sprite push another sprite" for example or "Player (platformer behavior) push/pull a solid box".
Just use the search function of your browser on the page and look for the keyword "Push" you should get several possible implementations.