User Tag List

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

Thread: Zoom Levels and Scrolling?

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Zoom Levels and Scrolling?

    Anyone know if you can zoom in and out of the view runtime? In my Space Wars/Star Control homage, I'd like to zoom in the view on the 2 combatants when they're close together, and pull away when they're far apart (like Star Control 2). But I don't see any option to control the zoom of the game.

    Also, if I were to zoom in, I'd need to be able to make the game scroll and focus on the point *between* the two ships. Since you can't use a calculation in the "center window in frame" action, I'd have to make an invisible active object that calculates the position between the two ships and sets itself there every frame... anyone know of a better way?

    Thanks!

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Zoom Levels and Scrolling?

    Anyone know if you can zoom in and out of the view runtime? In my Space Wars/Star Control homage, I'd like to zoom in the view on the 2 combatants when they're close together, and pull away when they're far apart (like Star Control 2). But I don't see any option to control the zoom of the game.

    Also, if I were to zoom in, I'd need to be able to make the game scroll and focus on the point *between* the two ships. Since you can't use a calculation in the "center window in frame" action, I'd have to make an invisible active object that calculates the position between the two ships and sets itself there every frame... anyone know of a better way?

    Thanks!

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    Alonso's Avatar
    Join Date
    Jul 2006
    Posts
    681
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    You can (could) do it with the Zoom object, but it's not converted for MMF2 (yet?).

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    Alonso's Avatar
    Join Date
    Jul 2006
    Posts
    681
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    You can (could) do it with the Zoom object, but it's not converted for MMF2 (yet?).

  5. #5
    Clicker Multimedia Fusion 2
    BrandonC's Avatar
    Join Date
    Jun 2006
    Location
    PA, USA
    Posts
    931
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    And if it doesn't come any time soon, perhaps you could work out some sort of math system, where you take advantage of changing object sizing at runtime? However this would mean no backgrounds, cause they wouldn't be changable.

  6. #6
    Clicker Multimedia Fusion 2
    BrandonC's Avatar
    Join Date
    Jun 2006
    Location
    PA, USA
    Posts
    931
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    And if it doesn't come any time soon, perhaps you could work out some sort of math system, where you take advantage of changing object sizing at runtime? However this would mean no backgrounds, cause they wouldn't be changable.

  7. #7
    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: Zoom Levels and Scrolling?

    this is one of the great may uses for the viewport object. You can use it to easily zoom in on the screen. Just make an invisible "camera" that is always between both players and cneter the zooming area around the camera.

    There was a hack to make it so you could even zoom OUT (pan back) with the zoom object in MMF 1.5 with the viewport object, but it had it's limitations and I've not tried it yet with MMF 2.

    good luck

  8. #8
    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: Zoom Levels and Scrolling?

    this is one of the great may uses for the viewport object. You can use it to easily zoom in on the screen. Just make an invisible "camera" that is always between both players and cneter the zooming area around the camera.

    There was a hack to make it so you could even zoom OUT (pan back) with the zoom object in MMF 1.5 with the viewport object, but it had it's limitations and I've not tried it yet with MMF 2.

    good luck

  9. #9
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    []this is one of the great may uses for the viewport object. You can use it to easily zoom in on the screen. Just make an invisible "camera" that is always between both players and cneter the zooming area around the camera.

    There was a hack to make it so you could even zoom OUT (pan back) with the zoom object in MMF 1.5 with the viewport object, but it had it's limitations and I've not tried it yet with MMF 2.

    good luck [/]

    Well, to be like Star Control 2, there would be 3 zoom levels - all the way out, medium and close-up. If I made my default view all the way out, then had 2 levels of zoom, then that could do it. The only problem would be that my max play area would be defined by my resolution... meaning that:

    1) In the default view, I couldn't do any scrolling in case the one of the ships wrapped off the far side from the other ship.

    and

    2) If I restrict the play area to, say, 800x600 (because that would be the max res I'd expect people to support), it's not a huge play area like SC2... but, I suppose I could do it.

    Yes, ideally I'd like to just be able to set any zoom level from, say, 25% to 200%, but I guess that's not a feature of MMF2? It's odd as they already do image scaling for the frame editor, but I suppose it's more complicated than that... :/

  10. #10
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    []this is one of the great may uses for the viewport object. You can use it to easily zoom in on the screen. Just make an invisible "camera" that is always between both players and cneter the zooming area around the camera.

    There was a hack to make it so you could even zoom OUT (pan back) with the zoom object in MMF 1.5 with the viewport object, but it had it's limitations and I've not tried it yet with MMF 2.

    good luck [/]

    Well, to be like Star Control 2, there would be 3 zoom levels - all the way out, medium and close-up. If I made my default view all the way out, then had 2 levels of zoom, then that could do it. The only problem would be that my max play area would be defined by my resolution... meaning that:

    1) In the default view, I couldn't do any scrolling in case the one of the ships wrapped off the far side from the other ship.

    and

    2) If I restrict the play area to, say, 800x600 (because that would be the max res I'd expect people to support), it's not a huge play area like SC2... but, I suppose I could do it.

    Yes, ideally I'd like to just be able to set any zoom level from, say, 25% to 200%, but I guess that's not a feature of MMF2? It's odd as they already do image scaling for the frame editor, but I suppose it's more complicated than that... :/

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Cant't find Zoom in and Zoom out shortcuts for MMF2 developer...
    By Villmaxie in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th November 2014, 11:01 PM
  2. 100 levels in one
    By qenio in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd August 2011, 03:25 PM
  3. How to set-up levels?
    By CoxyofNewp in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th September 2010, 01:03 AM
  4. Unlocking levels?
    By Anslem in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th July 2010, 06:08 PM
  5. levels
    By Taco in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st September 2007, 10:13 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
  •