I am absolutely new to game development. I am professional software developer, but I really like the way Construct 2 works.
I would like to implement a game where a player should move along a river for a long time, overcoming obstacles, meeting different sprites. I saw the continuous background scrolling implementation , but how to put obstacles on a players way, how to meet new sprites along the way.
Should I use pre-build layers for this somehow putting them dynamically ahead of the player?
Develop games in your browser. Powerful, performant & highly capable.
Its probably better to make it dynamically generated if you are going for a "endless" mode. But you can do it as on long layout as well if you want specific placement.
If you are going dynamic....
Create a set of obstacles (or one sprite with different frames of animation (each frame is a different obstacle))
then generate them off screen and various different intervals and heights. Then match their translation speed the same as your background so that they appear planted.