How to Build a Loft Bed. This is one method of building a loft bed by anchoring two of the sides to walls. This reduces the complexity of the project, and makes for a bed that will support a lot of weight.
This is another example of a layout that would be easy to install in a studio apartment - a loft bed with stairs would be a cheaper and nicer space saving solution than buying a Murphy bed. Maybe even in a small bedroom.