I am currently watching Unity’s live session about character controllers for 2D platformers and noticing a whole different approach than most of the tutorials on other websites and books. Since it is from Unity I got myself asking: Is this the best approach? Programming the whole physics for an object from scratch seems to be a bit more educational than practical… Could you guys tell me if this is the “recommended” way of doing platformers, and if so, why? Thanks.
Should I script my own Physics2D Platformer Character Controller just like in the Unity's Live Session?
It depends on the game really and there’s not one definite best solution. There are tile based performers, running around planets, 2.5d, programmatically generated floors, you name it. If depends on the requirements. Not using Physics at all is definitely a solution. In the old days (tile based, even with slopes), there was no physics, just the necessary subset for walking, jumping, box overlap. That’s it.