Background does not pause?

Noroup

  • *
  • Posts: 131
Whenever my game is paused, the background keeps going. I mean, the scrolling speed is 0 but it still continues for some reason even when the game is paused

https://www.youtube.com/watch?v=8kUfq8_WFKI&feature=youtu.be  (Video Skip to 1:08-1:12)
http://imgur.com/a/aXj2T  (Background setup)

Thank you sirs.

JeffreyDriver

  • Posts: 2045
I noticed in a current project that the background doesn't pause, but it wasn't really an issue for me.

How does your background function? In the video it looks like it fades from one background to another, or is that part if the animation of just one background?
Current Projects:
The Grand Grimoire Chronicles Episode 1 now on Kongregate!.
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk

Noroup

  • *
  • Posts: 131
I noticed in a current project that the background doesn't pause, but it wasn't really an issue for me.

How does your background function? In the video it looks like it fades from one background to another, or is that part if the animation of just one background?
Look at the image I have provided


JeffreyDriver

  • Posts: 2045
I'd separate the daytime and nighttime into two different backgrounds. Overlay the nighttime background over the daytime then use code to fade the nighttime layer out.
Current Projects:
The Grand Grimoire Chronicles Episode 1 now on Kongregate!.
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk

Noroup

  • *
  • Posts: 131
I'd separate the daytime and nighttime into two different backgrounds. Overlay the nighttime background over the daytime then use code to fade the nighttime layer out.
Hmm yeah I'll see