User Tag List

Results 1 to 5 of 5

Thread: Active Picture from URL position is off.

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    929
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Active Picture from URL position is off.

    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.

  2. #2
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,006
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Have you tried loading the picture *then* setting the hotspot? I can't test right now, not at the computer...
    Want to learn Clickteam Fusion 2.5?




  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    929
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,171
    Mentioned
    165 Post(s)
    Tagged
    3 Thread(s)
    this condition work, only that will be true when the picture is loaded and showed to you
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2017
    Location
    Nantes
    Posts
    106
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    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.

Similar Threads

  1. Replies: 2
    Last Post: 14th December 2016, 04:47 PM
  2. Replies: 0
    Last Post: 26th February 2016, 10:06 AM
  3. Loading a picture into Active Picture error
    By JohnZ in forum HTML5 Export Module 2.5
    Replies: 7
    Last Post: 5th November 2014, 11:08 AM
  4. Take picture and make from it Active Object / Active picture
    By qenio in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 3rd February 2014, 08:34 AM
  5. BUG: Active Picture > New Picture from Selector doesn't wait for image - Beta9
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 27th January 2013, 04:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •