User Tag List

Results 1 to 3 of 3

Thread: How to emulate Virtual Width / Height in a fixed zone?

  1. #1
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)
    BackStaged's Avatar
    Join Date
    Aug 2010
    Location
    France
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation How to emulate Virtual Width / Height in a fixed zone?

    Hello guys!

    I'm facing to a problem which actually stuck me to that point:

    - For each levels I load a background image (a Surface object) which represent the GAME ZONE (meaning: where ONLY the player can move his character).
    - I have trying to play with Virtual Width and Height for the character can be moved all on the Image surface, but, if the image surface is sized too small than the GAME FRAME APPLICATION, then black borders showed up in fullscreen (with the use of Ultimate FullScreen object and type).
    - NOW I want do that:

    In fullscreen only: be able to simulate Virtual Width/Virtual Height native-effect ONLY on Background image (loaded in a Surface extension). (As it then I'm be able to display an another Background image as Background application and have my Background level image aswell).

    Quick-Schema:


    ----------------------
    Actually I get that:
    ----------------------



    1) This zone is the APPLICATION Zone, It is blackbordered in fullscreen.. And as you know no way for redraw in fullscreen that plain black which tend to make the game ugly... I know it is logic since it is the "GAME application blank window").

    2) This zone is the GAME LEVEL Surface Zone, a PNG transparent image loaded in a Surface extension object. It is naturally Virtual Width and Virtual Height enabled since I set the Virtual Size in Width/Height same as the Frame size. So when the player reach the border of the "ORANGE" rectangle then the level extend naturally and the invisible part become visible. The player can only move on the BLUE surface, all GOLD surface is somekind of hole.

    -------------------------
    What I want achieve:
    -------------------------



    1) This zone is the APPLICATION Zone, It is now a new independent background image (in a Surface object or other object that can draw image) in fullscreen.. As it I can display a more cool image instead of the common BlackBorders!

    2) This zone is the GAME LEVEL Surface Zone, a PNG transparent image loaded in a Surface extension object. It is now Virtual Width and Virtual Height enabled with events. So when the player reach the border of the "ORANGE" rectangle then the level extend naturally and the invisible part become visible. The player can only move on the BLUE surface, all GOLD surface is somekind of hole.


    Do you have some ideas/tricks and tips to achieve that please ?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I don't think you can do that without using the manual options in the UltimateFullscreen object, and, even then, I'm not sure how easy it would be. It might not be possible even with the manual options in the UltimateFullscreen object, so please don't get your hopes up.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You might be able to use a sub-app as for your main screen and display it on a frame with your image to be used for the black bars.

Similar Threads

  1. Virtual Height/ Width
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 24
    Last Post: 6th February 2012, 11:36 PM
  2. Virtual Width And Height
    By Brandon in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 31st May 2007, 03:18 PM
  3. Virtual Height and Width, what are they?
    By Durnus in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th September 2006, 05:05 PM
  4. Virtual Width/ Virtual Height Revisited
    By Donald in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 16th July 2006, 12:32 AM
  5. Changing Virtual Height and Virtual Width at run
    By Donald in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 13th July 2006, 10:36 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
  •