User Tag List

Results 1 to 7 of 7

Thread: Is it possible to create an object in the center of the displayed area ?

  1. #1
    Clicker Multimedia Fusion 2Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    esp's Avatar
    Join Date
    Aug 2015
    Posts
    98
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to create an object in the center of the displayed area ?

    Hello guys !
    I'm trying to create or set an object in the middle of the displayed area . Now , I'm using a 2000x2000 frame , my application runs on 640x480 , and I'm using and active like a player with autoscrollling obviously ! The autoscroll is not centered exactly to the player to give him a longer sight !

    Now i'd like to position always in the center of the displayed area an object that i create by using the create object" . I've tried a few things without results !

  2. #2
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,165
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to create an object in the center of the displayed area ?

    Frame height/2 and frame width/2 don't work?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Someone asked this last week. Here is a mfa that answers your question.
    Attached files Attached files

  4. #4
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    The expression that would work with scrolling is:

    X: X Left Frame / 2 + Right Frame / 2
    Y: Y Top Frame / 2 + Y Bottom Frame / 2
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

  5. #5
    Clicker Multimedia Fusion 2Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    esp's Avatar
    Join Date
    Aug 2015
    Posts
    98
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Not working in my case ! Probably i didn't explain well my problem , here's the file modified on my situation . My question is how to display it always in the visible area !!!
    Attached files Attached files

  6. #6
    Clicker Multimedia Fusion 2Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    esp's Avatar
    Join Date
    Aug 2015
    Posts
    98
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by BartekB View Post
    The expression that would work with scrolling is:

    X: X Left Frame / 2 + Right Frame / 2
    Y: Y Top Frame / 2 + Y Bottom Frame / 2
    It Worked thank you , I was subtracting in my tries -____- !!!

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Glad you got it sorted

Similar Threads

  1. Replies: 2
    Last Post: 7th February 2016, 04:22 PM
  2. Counter object not displayed in ios test
    By Youthinkasido in forum iOS Export Module 2.5
    Replies: 0
    Last Post: 2nd August 2014, 01:03 PM
  3. 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: 19th March 2013, 11:06 PM
  4. [BUG] beta33-String object is displayed as white rectangle.
    By kusa in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 27th September 2012, 05:47 PM
  5. create special area to left mouse for select objec
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th August 2011, 10:07 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
  •