User Tag List

Results 1 to 7 of 7

Thread: Zooming In/Out

  1. #1
    No Products Registered

    Join Date
    Jun 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Zooming In/Out

    Hello again everyone T.T

    After yet more fiddeling around with the fantastic but oh so frustrating viewport object, I still havnt cracked out how exactly to get it to suit my needs.

    In a nutshell, the current events associated with the object which i assumed were all correct, will only zoom in and out of the backdrops an not the active objects (just two if you were wondering). It certainly scrolls along with my player 1 character, but completelly ignores player 2 :s

    I am trying to recreate a similar zoom that you will see in games like smash bros. I just need both players to be visible at all times, when moving around inside a set boundary (which would be the stage, plus some leeway around it for recovery).

    If anyone knows the coding for this, or has a relevant tutorial I will be your best friend This problem has been bugging me for weeks.

    I really hope you can help! - Euri

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Zooming In/Out

    The viewport object only effects objects it is in front of. You have to put the viewport object in front in the frame editor or use the order->bring to front action at runtime.

    For your other question, check out Realtime Zoom based on distance between objects, an example by Andos (the author of the Viewport object).
    .:::.Joshtek.:::.

  3. #3
    No Products Registered

    Join Date
    Jan 2007
    Location
    NC - USA
    Posts
    261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming In/Out

    To make it follow, you could do and average of the players positions, (or the middle between the two farthest players if there is more than one).

    (Ive never used the viewport object so im assuming you can do what im going to describe)

    Then, you could use a proportion (with limits on its max & min values) related to the distance between the players to zoom in so all players are focused.

    I hope that made sense.

    EDIT : joshtek beat me to it.

  4. #4
    No Products Registered

    Join Date
    Jun 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming In/Out

    Well I've looked at the tutorial, and even assigned an object to appear where the centre of the two characters should be...and its not in the right place. Im oretty sure i got the measurements and calculations correct too.

    I know this may be asking a bit much, but would it be possible for me to email the level to someone to have a look at? Its really got me stumped, and I really want to carry on with my project :'(

    Any suggestions? Thanks for your advice so far!

  5. #5
    No Products Registered

    Join Date
    Jun 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming In/Out

    No one able to help?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming In/Out

    Try uploading it to the file archive.

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export Module
    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)
    Mantis's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zooming In/Out

    Seems that all extension pages for Andos' Viewport object point to a broken link.

Similar Threads

  1. Zooming in and out (example)
    By bybyblue in forum File Archive
    Replies: 2
    Last Post: 15th August 2012, 04:44 PM
  2. Zooming out?
    By ChrisBurrows in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 20th March 2012, 11:38 AM
  3. Zooming out?
    By brawltaunts22 in forum Hardware Accelerated Runtime
    Replies: 2
    Last Post: 5th July 2011, 05:51 AM
  4. Zooming in
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 8
    Last Post: 9th January 2011, 07:40 PM
  5. Zooming shader? (Layer zooming)
    By The_Alee in forum Hardware Accelerated Runtime
    Replies: 7
    Last Post: 6th November 2009, 03:53 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
  •