OverviewFelgo 2 Support (Qt 5) › ParallaxScrollingBackground behavior on image switching

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #18319


    Hi Felgo,

    Was playing a little with parallax background and observed some behavior which I want to confirm.
    Probably this is not a bug just there was no need to do anything more.

    The story:
    1. Set parallax background imageSource to image 500×500

    2. Parallax internal image property is set and width and height as well are calculated.

    3. Change dynamically imageSource to image 300×300

    4. Result: image is replaced but width/height and internal image property alias still keep old value of the first image source.
    5. What that means is that the new image is not properly anchored/positioned in the background. It behaves like it’s dimensions were of original image.

    Is this expected behavior?


    Felgo Team


    you just found a bug in the MultiResolutionImage component (used inside the ParallaxScrollingBackground), if switching to a different sized image at runtime. That’s a free beer on the house!

    We’ll investigate this closer right away, thanks for reporting!


Viewing 2 posts - 1 through 2 (of 2 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
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support