User Tag List

Results 1 to 7 of 7

Thread: my Layer object not working?

  1. #1
    Clicker

    Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    my Layer object not working?

    I did everything I usually do, and I even added eveything to the same group to test to a value. And for SOME reason they are still overlapping strangely even with differences in Y being plain to see.

    So just to verify, increasing sort by a value higher is behind, and lower is infront?

    decreasing opposite?

    For some reason two active types are having conflict, and it makes no sense since Im pretty sure layer object just chooses all of actives as one group regardless? Ha.. I dont know whats wrong.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Chrille's Avatar
    Join Date
    Jul 2006
    Posts
    389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've had the layer object act weird a few times. Try removing and adding it again.

  3. #3
    Clicker

    Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    heres the mfa (hope no one steals it :/) I cant figure out why this is happening on line 214 i tried a bunch of stuff to get it to work
    layerbroke_targetfinder.mfa

  4. #4
    Clicker

    Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ill let the first person who can tlel me EXACTLY why this doesnt work steal my design up to this point and use it as a base for their own game lolz I dont even care anymore, im just confused why this does not work

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    in eventline 224, just before sorting,
    set current layer to layer1
    (layer object --> layers ---> by index ---> set current layer)

    also, don't know if this is intended,
    but some objects have hotspots in different positions than others
    Y position is taken at hot spot, so you may want to "normalize" them
    (or you can set value K to YBottom)

  6. #6
    Clicker

    Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    woah, because of you i went back to look at the problem and I suddenly found the library tool bar with tons of widgets and stuff. Is that all free to use in commercial products?

    anyway, I still dont un derstand man, is therre a reasn the layer object cant operate just fine with the moving/target objects? I thought each layer object automatically self targeted its own layer and just sorted everything in that layer based on values or Y. Very confused about this friend. Any help is appreciated in explaining this to me. Clickteam is very difficult for me to understand sometimes. (and yeah how embarrising i missed one of the objects i had normalized before but i always keep mixing up ACTION SPOT with HOT SPOT =-/

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    Yeah you have to set current layer to make sure sorting affects objects in that layer.
    From help file:

    Set Current Layer
    Sets the Current Layer, used in the Sort and Reverse actions.

    Get Current Layer

    Retrieves the index of the current layer. The Current Layer is the one selected by the Set Current Layer action. The Sort, Move, Bring To actions of the Layer object affect only the objects of the Current Layer.


    Don't know which one is chosen by default when there are ore than one, possibly the higher index?
    (would be easy to test and know for sure, anyway)

    You can obviously sort multiple layers with multiple conditions


    first question (is library free?),
    I would guess this answer for older version (MMF) applies:
    http://community.clickteam.com/threads/66658-Library-pack-graphics?highlight=Library%20commercial

Similar Threads

  1. Layer Object's "Move Object To Level N" not working
    By Erkabubben in forum Fusion 2.5
    Replies: 5
    Last Post: 17th June 2015, 06:38 PM
  2. Layer object "hide layer" not working
    By ulissescappato in forum Fusion 2.5
    Replies: 5
    Last Post: 21st February 2014, 03:38 PM
  3. Layer object "hide layer" not working in swf (build 257.28)
    By MJK in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 17th October 2013, 07:50 AM
  4. BUG: Layer object set position not working
    By mobichan in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 29th October 2011, 10:43 AM
  5. Layer Wrapping isn't working
    By ionside in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th February 2009, 07:02 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
  •