When creating a game, I came across an interesting idea of how to realize the effect of three-dimensional movement, while creating, for example, a platformer. This opportunity, I think, is suitable for most 2D games, tied to the scrolling of the game world.

Video timing:
00:00 - 02:09 - theory
02:08 - 03:32 - the creation and positioning of objects
03:32 - 05:16 - control of the object, movement
05:16 - 07:44 - creating the effect of parallax (three-dimensional)
07:44 - 08:50 - fixing the camera on the object
The lesson itself:
')
As usual, if you have questions - write in the comments.