-Create Door sprite
-Create Hinge sprite
-Put Physics behavior on BOTH
-Set Hinge to IMMOVABLE.
-Set Door origin to either side, just not the middle.
-Set Door position to Hinge
-Create [Limited] Revolute Joint. It can be found on actions under Physics.