Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | josevjunior |
Hello, guys!
I am starting to sketch a dondonpachi shimup like game and some doubts started to popup in my mind.
The background some level will no be a loop but it will act like a rails with a delimited begin and end. So I decided not use the parallax backgroung schema but move the Y position of the background.
The problem about this approach is that in some level I want to show some dialog between the characters of the game and in this moment I want to loop the background while the user dont finish the scene. The image bellow show what I mean:
The red part will be the viewport and the background (the black part) will slowly be scrolled. But when the gray part arrives, I want to remain in loop while wanting for the user action.
Does anyone have any idea of how achieve this. I would like to hear new ideas if mines is not the idea.