it would be really nice to disable parts of my sprites!!! because i want my character to be able to crouch. I made a game were it is possible to crouch, but it is a bit laggy and it would help if i could disable parts of the sprite.
here is my crouching example if anyone needs inspiration! http://flowlab.io/game/view/1078463
What do you mean @“Magnus Aalde” it seems to work perfectly fine!
I found one glitch/lag. vaguely sometimes, it seems to get caught by the ground. Instead of making it a rectangle, make it a polygon. You might want to turn up the friction to to 50 or above, so it just doesn’t slide everywhere.
Other than that, it seems great and working! Also, since this discussion is a few months old, you probably figured it out by now.