KOBUGE-Games / jetpaca

Game about the rocket alpaca (KOBUGE continuation fork)
MIT License
58 stars 16 forks source link

Parallax Background Doesn't Fit the Screen at Certain Areas #14

Closed ScotFlux closed 8 years ago

ScotFlux commented 8 years ago

=> 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.

akien-mga commented 8 years ago

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

akien-mga commented 8 years ago

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.

akien-mga commented 8 years ago

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

bojidar-bg commented 8 years ago

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

bojidar-bg commented 8 years ago

Heh, two-line fix in the scene file :wink:

akien-mga commented 8 years ago

:tada:

ScotFlux commented 8 years ago

Yeah, it works very well. :+1: