User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: Zoom Levels and Scrolling?

  1. #11
    No Products Registered

    Join Date
    Jul 2006
    Location
    Sweden, Lund
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    I think this is very possible by resizing the actives.
    Have a global value 'Zoomlevel', intitiated at your start zoom-value, e.g. 1.0.

    Then run loops to position all actives, where you give them positions:

    X: X("Active")*Zoomlevel
    Y: Y("Active")*Zoomlevel

    And set their scales to the Zoomlevel multiplied with their original sizes.

    True, background graphics won't be resized, but in a space-game (I don't know about yours) the background could very well be something very, very, VERY distant, and wouldn't need resizing. <img src="/center/images/graemlins/tongue.gif" alt="" />

    Edit: There needs to be a camera position in this too. I can't think of how to implement it right now but I'm sure it's possible. I might make an example.

  2. #12
    No Products Registered

    Join Date
    Jul 2006
    Location
    Sweden, Lund
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    I think this is very possible by resizing the actives.
    Have a global value 'Zoomlevel', intitiated at your start zoom-value, e.g. 1.0.

    Then run loops to position all actives, where you give them positions:

    X: X("Active")*Zoomlevel
    Y: Y("Active")*Zoomlevel

    And set their scales to the Zoomlevel multiplied with their original sizes.

    True, background graphics won't be resized, but in a space-game (I don't know about yours) the background could very well be something very, very, VERY distant, and wouldn't need resizing. <img src="/center/images/graemlins/tongue.gif" alt="" />

    Edit: There needs to be a camera position in this too. I can't think of how to implement it right now but I'm sure it's possible. I might make an example.

  3. #13
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    Yes, you would need to take into account "pushing" the zoomed objects gradually to the edges of the camera view, which complicates things rather a lot.

  4. #14
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    Yes, you would need to take into account "pushing" the zoomed objects gradually to the edges of the camera view, which complicates things rather a lot.

  5. #15
    No Products Registered

    Join Date
    Jul 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    Also, if ya just resize objects, don't forgetabout their missiles , bullets, stars, and other stuff! <img src="/center/images/graemlins/wink.gif" alt="" />

  6. #16
    No Products Registered

    Join Date
    Jul 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Zoom Levels and Scrolling?

    Also, if ya just resize objects, don't forgetabout their missiles , bullets, stars, and other stuff! <img src="/center/images/graemlins/wink.gif" alt="" />

  7. #17
    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?

    []Also, if ya just resize objects, don't forgetabout their missiles , bullets, stars, and other stuff! <img src="/center/images/graemlins/wink.gif" alt="" /> [/]

    So I tried this in my "Star Control 2"-style game. Thread is here:

    http://clickteam.com/center/favlinker.ph...amp;postmarker=

  8. #18
    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?

    []Also, if ya just resize objects, don't forgetabout their missiles , bullets, stars, and other stuff! <img src="/center/images/graemlins/wink.gif" alt="" /> [/]

    So I tried this in my "Star Control 2"-style game. Thread is here:

    http://clickteam.com/center/favlinker.ph...amp;postmarker=

Page 2 of 2 FirstFirst 1 2

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
  •