I tried to get rid of the lag and slower framerate and found out that it was my Boxes all having Player behavior being the issue. so i tried using the Physics behavior instead, and sure it did make the game run faster. but the crate when Gravity/Density was enables. it simple passed through the solid ground. Both the Crates and the Ground have the solid Behavior on. so whats the issue?
Develop games in your browser. Powerful, performant & highly capable.
See the manual:
It is not recommended to use Physics with other behaviors (Platform, 8direction, etc.)
Check out this demo:
howtoconstructdemos.com/platform-push-boxes-capx