Active Picture from URL position is off.

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I can't get an active picture loaded from url to always be at the same position.
    I need to have the hotspot in the middle and scale up or down the image loaded.

    What i currently do is i have a 128x128 Active Picture object, where i manually set the hot spot to 63,63 before loading the picture.
    When the picture is loaded it should auto-resize to 128x128 with the hotspot in the middle and remain at the same position. But depending on the image loaded and device used, it moves up-left or down-right from where it should be.

    It's always off by the same amount of pixels for both X and Y, so it might be 8,8 or 32,32 or -8,-8 from where i want it.

    Please login to see this link. =)

  • Have you tried loading the picture *then* setting the hotspot? I can't test right now, not at the computer...

    Game Launcher Creator V3 - Please login to see this link.
    Bespoke Software Development - Please login to see this link.
    Learn Clickteam Fusion 2.5 - Please login to see this link.

    Danny // Clickteam

  • No that could help, but it takes a little bit of time to load the picture, so i would have to check with the 'a picture is loaded' condition, i remember having trouble getting that condition to trigger on android before, but it's been a while so could be worth checking again with the latest update. Thanks.

    Please login to see this link. =)

  • Hi,

    I spent a lot of time trying to fix this problem, here is what i do now to have it allways at the right position:

    in the object creation instructions:
    1) fix the hot point at the up - left
    2) fix the X,Y position
    3) set auto resize on

    in another instructions :
    1) set picture to invisible
    2) load url

    in the instructions with condition "is image loaded":
    1) set picture visible
    2) set hotpoint left up.


    maybe some actions are not necessary, but i spent so much time on it, that i don't want to spend more to find what is needed and what not.

    If you make the test please come back and give feedback :)

    haoujey.

    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!