User Tag List

Results 1 to 3 of 3

Thread: Zooming in and out (example)

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    bybyblue's Avatar
    Join Date
    Sep 2011
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Zooming in and out (example)

    When ever i try looking for a way of performing a zooming in and out function for a game i could never really find one. So pretty much a long time ago when was working on my own smash bros-like game called zero-caliber and i came up with a way of zooming in and out if anyone is interested. It took me a while to find it due to how messy my event editor was back then. Not sure if this will be of any use to anyone but here.

    http://www.mediafire.com/?bo0n8zjqqgi82cc (soory for the 14mb file size i didnt feel like removing things much.)

    good luck making since of it. I plan on remaking it for my new game somehow but i still though i should post it. all i can tell from it really is that i used the view port object having it the same size as the application window, and have it placed into the center of the frame ( [aligned in center],0 ). the rest is written in the mfa. file.

    with it i was able to zoom in and out based on the size of the frame. When ever i passed the border it's just an infinite black.




    ( ohh yea one more thing, you move with the arrow keys, and jump and do other action with the [numeric 1] jump [numeric 2] attack. you can hop below platforms by pressing down twice.)

    Untitled2.jpgUntitled.jpg

    some pictures

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Shmuper's Avatar
    Join Date
    Mar 2010
    Location
    Japan
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great example ! I used the viewport object as well but I am experiencing a little jerking when scrolling in my level. I saw your example uses only one layer, that might be where my fault is. I am using 4 layers : background (so that it can paralax a bit), main layer, debug (bunch of hidde counters) and HUD. Makes it easier to work by hiding stuff etc... I have my viewport object sandwiched on the third layer so that the hud elements are not affected by the zooming... Maybe I should try removing some layers... Thanks for the example !

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    bybyblue's Avatar
    Join Date
    Sep 2011
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your welcome, but to be honest some of that was by accident i didn't even know about layers back them . but glad to see it worked for.

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 in
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 8
    Last Post: 9th January 2011, 07:40 PM
  4. Zooming shader? (Layer zooming)
    By The_Alee in forum Hardware Accelerated Runtime
    Replies: 7
    Last Post: 6th November 2009, 03:53 PM
  5. Zooming out?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th October 2008, 02:00 AM

Tags for this Thread

Posting Permissions

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