User Tag List

Results 1 to 10 of 10

Thread: Adjusting position of frame

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Adjusting position of frame

    Hi I'm having some trouble with frame size and position, I have found how to expand a frames with but it seems like the expansion have shifted in a way so that when I run my game I cant reach the top of my game but I can go further down than intended, can I manually move the bounding area that I want to show with toggles or something?

    Sorry for strange question I can explain in more detail if needed... Thx // Ed

  2. #2
    Clicker

    Fusion 2.5SWF Export Module

    Join Date
    Jun 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello Eagi,

    I would like a little more information so that I may assist. An example of what is going on would be nice.

    1. Are we talking about scrolling down and not being able to scroll back up when you change the frame size?

    2. You can manually move the bounding area you want to show with events.

    I'll add an example of number 2 in a bit.

    You can find the example here.

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi yes I should elaborate launched the question yesterday before hitting the sack so I was a bit foggy while writing...

    So structure

    1. I create a game and expand the frame area, so that I have more room to work with.

    1.jpg

    2. I use an event to make the application window follow my guy around (frame boundaries are bigger than application window)

    2.jpg

    3. When I move my character downward he stays centred and the screen starts panning with him.

    3.jpg

    4. But if I instead move up, the screen hits a wall and stops panning.

    4.jpg

    5. My guy starts walking of screen, despite the fact that the frame should have more to show us above.

    5.jpg

    6. So somehow, I would like to get the rest of my frame accessible.

    6.jpg

    Hope that makes my plight a bit more clear. thanks for taking an interest. // Ed

  4. #4
    Clicker

    Fusion 2.5SWF Export Module

    Join Date
    Jun 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would you be able to upload your project. You can remove any other code and graphics. This is just to see what your scrolling events look like and how you are doing it.

    From what I see in the pictures above this should not be happening.

  5. #5
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    From the looks of it, you're starting your game in the top left corner of the frame, beyond which you cannot access. If you move your player into the center of the frame, you'll have equal movement freedom all around.

  6. #6
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, that was just about it thanks, the background that I loaded in tricked me into thinking the frame boundary was larger than it actually was... So now everything has been shifted back into the frame and it's working like a charm, except for that dotted line which shows the starting zone for the window. (I have an event that makes the camera pan with my guy so it doesn't really effect anything but I was just wondering if I could manually shift that box as well?

  7. #7
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    That dashed line box won't show during run time. The only way to change it is to make your frame bigger.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Eagi View Post
    Yes, that was just about it thanks, the background that I loaded in tricked me into thinking the frame boundary was larger than it actually was... So now everything has been shifted back into the frame and it's working like a charm, except for that dotted line which shows the starting zone for the window. (I have an event that makes the camera pan with my guy so it doesn't really effect anything but I was just wondering if I could manually shift that box as well?
    Your Frame size is the size of your level.
    The dotted lines/ 'top left square' is the size and initial position of your Game Window ( the portion of the Frame the user is able to see when running the game, you can change this by going to Application Properties ).

    You can make Objects automatically move with the Game Window instead of them having fixed possitions within the Frame ( go to: Object --> Properties --> Follow The Frame[UNCHECK] ).
    This is usefull for HUD elements like Lives, Ammo, Energy, Score etc.

    Since the 'top left square' is the Game Windows initial position, all of your HUD elements need to be placed inside this square if you want to be able to see them.

  9. #9
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah that's nice, I thought the box might become irrelevant now that I used the "screen follow" event. Nice to know that it still has some uses.

  10. #10
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    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)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    If you want to have a background that moves beyond the top left corner of the frame you can use the layer object and move the layer around at runtime as well.

Similar Threads

  1. Adjusting Layers on a large frame with multiple rooms?
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th March 2013, 06:01 PM
  2. [BUG] X Right Frame expression return X Left Frame position
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 18th October 2012, 02:08 PM
  3. Save Frame Position ruins Frame
    By Fralex in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 9th July 2012, 11:08 PM
  4. Bug: Frame transition blocks "Frame position has just been loaded" condition
    By Corlagon in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 15th November 2011, 02:25 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
  •