How to make perspective like fnaf(The problem has been solved)

There is also this discussion here: How do I make a 3d room effect in g develop?

The summary of this and the discussion above is:

  1. According to @Silver-Streak you need a flat image of a room that shows a 3D perspective and the camera is just moving left and right. (Pretty much like the image you have posted).

or

  1. You use the displacement layer effect in Gdevelop (you go to layers and choose displacement from the drop-down menu as effect). You need a displacement map for that which @Robot-Man has kindly posted in the first linked discusssion.