Forums

OverviewV-Play 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
    V-Play 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@v-play.net 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support