User Tag List

Results 1 to 4 of 4

Thread: Hot spot of window to center please help

  1. #1
    Clicker Fusion 2.5 (Steam)
    Tebi1234's Avatar
    Join Date
    Apr 2016
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Hot spot of window to center please help

    The hot spot of the window seems to be at the top left.. So I'm using the window control object to change the position of the window, when I want to do center, so I do horizontal screen size/2, vertical screen size/2, and it would be really great if the spot would be in the center instead of top left. Is there a way to change it?

  2. #2
    Clicker Fusion 2.5 (Steam)
    Tebi1234's Avatar
    Join Date
    Apr 2016
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Everyone, I found a solution

  3. #3
    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,768
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Hi Tebi1234. Would you care to share your solution so other users will know how to correct the same problem?

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

  4. #4
    Clicker Fusion 2.5 (Steam)
    Tebi1234's Avatar
    Join Date
    Apr 2016
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright definitely.
    To center the game window in the center of the screen which is what I was trying to do, this works.
    Have an event, and under window control object, position-set x coordinate and put this: ScreenXSize( "Window Control" ) / 2 - ( WinXSize( "Window Control" ) / 2 )
    Also in same box, position-set y coordinate and put in: ScreenYSize( "Window Control" ) / 2 - ( WinYSize( "Window Control" ) / 2 )
    It will be in the center of the screen.

Similar Threads

  1. Center The Frame To The Application Window?
    By ScrotieFlapWack in forum Android Export Module 2.5
    Replies: 15
    Last Post: 15th July 2016, 04:04 AM
  2. Problem with center window position (scrolling menu) ?
    By MagnetoX in forum iOS Export Module 2.5
    Replies: 3
    Last Post: 4th March 2016, 04:31 PM
  3. Center window position
    By dnlhern in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th September 2013, 07:34 AM
  4. How to create Highscore Object at center of window
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 14
    Last Post: 20th March 2013, 12:06 AM
  5. Center window position
    By Eagi in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 6th November 2012, 08:30 AM

Posting Permissions

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