KOBUGE-Games / jetpaca

Game about the rocket alpaca (KOBUGE continuation fork)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallax Background Doesn't Fit the Screen at Certain Areas

ScotFlux opened this issue · comments

  • Win 7, Win 10 x64
  • Godot 2.0.4 or newer

=> Happened : In a certain areas (locations), Parallax background doesn't seem to behave correctly. Doesn't Fit the whole Screen. See right side of the Gif below :
http://i.imgur.com/YCOA7JS.gif?1

=> Expected : It should fit the whole screen.

Thanks, I'm not sure why this happens but I'll investigate.

This is easily visible in the introg level, where the parallax is broken at the starting position:
spectacle k28662

It seems to happen when near the x = 0 position, probably a weird interaction between the Camera2D and the ParallaxBackground.

I tested all parallax backgrounds in this level and it seems to happen with three of them:

  • glacier_parallax.tscn (screenshot above)
  • ocean_parallax.tscn
  • temple_parallax.tscn

@akien-mga nice work, now we only have to check what is so different with them.

Heh, two-line fix in the scene file 😉

Yeah, it works very well. 👍