I have managed to make illusion of scrolling background by combining few bitmaps in one and moving its position depending of the way of player's walking. The problem is I have to add many bitmaps in order to have longer game and the execution itself its getting slower with time, since big part of the combined bitmap is not used. My question is, is there a way i can make a so called cycle of this combined background so i can reuse it ? Be aware i'm still a beginner.
I have managed to make illusion of scrolling background by combining few bitmaps in one and moving its position depending of the way of player's walking. The problem is I have to add many bitmaps in order to have longer game and the execution itself its getting slower with time, since big part of the combined bitmap is not used. My question is, is there a way i can make a so called cycle of this combined background so i can reuse it ? Be aware i'm still a beginner.