User Tag List

Results 1 to 4 of 4

Thread: Custom border outside the game window?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Custom border outside the game window?

    Say for example, my game size is originally 160x144. I want a border that stays on screen at about 240x160, with the game screen in the center. Will this affect the way I need to program the game?

    Right now I am using 240x160 as the game size window. I made the border an active object that always follows the play area. But unfortunately, conditions like Y Top Frame, Y Bottom Frame, X Left Frame & X Right frame won't work correctly since the border is within the play field. What I mean is, the player won't stop at the custom border now. Instead, it would stop while over the border, where the player won't be seen behind it.

    So, my concern is this. Can I make it so I set my game window at 160x144, with the game display border outside those lines of the original display? Or must the display be 240x160 in order for me to display a custom border around the game screen?

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    In the frame properties, "size" is the size of that particular frame's window. If you're application windows size is set to anything larger than this, a border will be placed around the frame. You can edit the border colour in the application properties.

    If you want a bigger "play area" than your frame size, increase the virtual height or width.

    http://www.whenthereisnoroominhellth...MMF/border.mfa

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ChrisBurrows View Post
    In the frame properties, "size" is the size of that particular frame's window. If you're application windows size is set to anything larger than this, a border will be placed around the frame. You can edit the border colour in the application properties.

    If you want a bigger "play area" than your frame size, increase the virtual height or width.

    http://www.whenthereisnoroominhellth...MMF/border.mfa
    But that only makes a solid color border. Can I make this into something else other than a solid color, or no?
    Also, I take it with this that resize display to fit screen needs to be unchecked for this? Unfortunately I need this feature so that the screen can be resized so I don't have to squint to play the game I am working on.

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Correct: This will only work for a solid colour border and not when resize to fit is checked.

    Alternative: Make your own border. But don't use actives unless you want it animated. Use backdrop objects and set the x and y scrolling coefficents to 0 (instead of 1).

Similar Threads

  1. Getting a black border around the game window?
    By Yima in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th July 2013, 05:57 AM
  2. Window resized without border
    By DEKE15 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th November 2009, 05:18 AM
  3. Retrieve window border colour?
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 14th November 2008, 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
  •