How make fake 3d tower effect

How to make something like this Using c++ on unreal engine
(like a 2d platformer jumping higher on a 3d tower like mario in this picture)