Just make a simple platformer by having a player with a platformer behaviour. and some solids and moving solids and spikes. Then combine them to make more levels. when you make a new layout select to have the same event sheet, when you die it will restart the layout and add last add flags that move you to the next layout. Its pretty simple.