User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19

Thread: Zooming trouble

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Zooming trouble

    Yep, me again, better get used to me, it's gonna be a long way till I finish my game.

    So the problem is that I'm using zoom on this active image object, but when it's zooming it seems as if it's expanding from the very top left of it's self, which causes the object to just move around where I don't want it to. Is there a way to sort of change this spot (according to which it's expanding)?. I want to move that spot to the center of the frame so that it looks like actual zoom. I tried doing this by moving the object's hotspot to some other object that would stay at the middle of the frame but zooming doesn't appear to rely on the hotspot. Any ideas?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming trouble

    Scaling centers on the hotspot. Just set the hotspot of the object to the center of the object.

  3. #3
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming trouble

    Hey, you mean use "set size"? Because active image objects don't have a scale option.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Zooming trouble




    Build it in like that:

    [events]
    *Start of Frame
    -[obj_picture]: Set hot spot to center
    [/events]

  5. #5
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming trouble

    Hi Looki, yes I tried that too, but I want it to zoom according to the middle of the frame, not the middle of the object. Like I said I tried putting the hotspot on some other object that stays in the middle of the frame all the time, but it didn't work.

    Popcorn i tried your suggestion too, now it seems to respond to the hotspot changes that I make, but it still won't accept the custom coordinates from another object.

  6. #6
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming trouble

    Please any other ideas?

  7. #7
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming trouble

    Ok someone must know how to do this. I'm trying to make the zoom of the object to be depended on the center of the screen, no matter where the actual object is.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming trouble

    Like this example I made some while ago?
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Board=5&Number=13518&S earchpage=1&Main=1847&Words=zoom&topic=0&Search=tr ue#Post13518

    It's using the normal Active Object, not the Active Picture Object, but you should get the general idea

  9. #9
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming trouble

    Hey popcorn I saw your file, but that much I can do really. So I made a small video on a 3d program to show you guys the problem and what I want. It's half an mb, so please watch it, ok?

    watch it here

    -The first take, shows just an object at the center of the window, being zoomed.

    -In the second take, I've moved the object from the center. When I zoom it, it zooms incorrectly. This is NOT how I want it to zoom. This shows my problem.

    -The third take shows how I want it to zoom. It focuses on the point that is at the center of the image before zooming and remains there all throughout the zoom. Do you understand what I'm saying?

    So if I could make the objects hotspot remain in the middle of the screen no matter where the object is (even if out of view) that would probably solve my problem . Like I've said before, I tried to asssign the hotspot to an invisible object that would stay in the middle all the time, but it didn't work. I hope somebody out there is still following me

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming trouble

    Seems to me your problem isn't the zooming (as it zooms just fine The problem is you want to simultaneously adjust its position as it zooms to get a certain effect that I still don’t quite grasp.

    I know to you it must seem that what your after is obvious, but if it were, you'd likely have been given the solution by now.

    What logic did you use with the 3d program to get the zoom behavior to act as you wanted? where you zooming the image itself, or bringing the camera in on the entire plane?


    Perhaps if you describe your desired result and the issues you’re trying to avoid more specifically....


    In your video example, the third "take" could be created by putting its hotspot at the lower-right, no?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Zooming out?
    By ChrisBurrows in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 20th March 2012, 11:38 AM
  2. Zooming out?
    By brawltaunts22 in forum Hardware Accelerated Runtime
    Replies: 2
    Last Post: 5th July 2011, 05:51 AM
  3. Zooming shader? (Layer zooming)
    By The_Alee in forum Hardware Accelerated Runtime
    Replies: 7
    Last Post: 6th November 2009, 03:53 PM
  4. Zooming out?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th October 2008, 02:00 AM
  5. Zooming Out
    By Kalnar in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th November 2007, 11:31 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
  •