How to have a lag-free scrolling background?

Hi guys,

In my game I have a background that diagonally scrolls upwards on all the menus. Unfortunately, this makes the game lag quite a bit - to the point that it's almost unplayable on low-end devices. Is there any way to make a background scroll without the laggy consequences?

The way I've currently got it set up is that my scene has Wrap X and Wrap Y turned on. I have a background Actor with a simple Move event - move in direction: 45, relative to scene, in an additive way, at a speed of 25. No rules surrounding it or anything.

Any ideas? Thanks a ton in advance =D

Best Answer

  • joshiwujoshiwu Posts: 207
    Accepted Answer
    Is this also an issue when testing on a device?

Answers

  • CriticalGamesCriticalGames Member Posts: 45
    Well, it's more of an issue on the device itself - the game runs pretty well in the creator.
  • CriticalGamesCriticalGames Member Posts: 45
    Actually, I'm afraid I must apologise. I was under the impression that the background was causing the lag, but as it turns out it was a separate actor. I've had issues with backgrounds before, so I assumed that was the case. Sorry for taking your time, and thanks for trying to help joshiwu =D
Sign In or Register to comment.