Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › ParallaxScrollingBackground line between Images

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6134

    Lorenz

    Hey guys,

     

    I am creating a platform jumper game and am using the ParallaxScrollingBackground exactly as exemplified in the ChickenOutbreak Demo. Unfortunately, sometimes there is a visibile black line between the two backgrounds (see screenshot).

    http://i.cubeupload.com/sBQoaA.png

     

    If I use the background from ChickenOutbreak, no black lines are visible. However, I carefully analysed my own graphics and am sure that they do not contain any black borders.

    Can you give me any advice on what might cause this?

     

    regards,

    Lorenz

    #6135

    Alex
    Felgo Team

    Hi Lorenz,

    could this have something to do with mirroring the second image? Have you explicitly defined the mirroring behavior that you want with the mirrorSecondImage property? Can you send me the image(s) that you are using to support@felgo.com so i can try to reproduce the issue?

    Cheers,
    Alex

    #6136

    Lorenz
      ParallaxScrollingBackground {
        id: levelBackground
        y: -level.y
        sourceImage: "img/background.png"
        // do not mirror it vertically, because the image is prepared to match on the top and the bottom
        mirrorSecondImage: true
        movementVelocity: Qt.point(0, levelMovementAnimation.velocity)
        running: levelMovementAnimation.running // start non-running, gets set to true in startGame
      }

    here my code, i tried mirroring off and on, doesn’t help.

    i will email you the images.

    thanks,

    Lorenz

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded