User Tag List

Results 1 to 3 of 3

Thread: Strange order behavior of objects

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    janpier's Avatar
    Join Date
    Dec 2014
    Posts
    119
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Strange order behavior of objects

    Hi everyone, I have an event that creates two objects, the one that is created later obviously appears in front (the pine in front of a white rectangle), but when the "Move behind object" event occurs on the skier all the pines on the window are overlaid by the white rectangle, even if the event refers only to the skier, it seems to me a strange thing. it can be solved by reversing the event, putting the skier in front of the pine.DesktopScreenstho_191201_1257052.PNG

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,332
    Mentioned
    100 Post(s)
    Tagged
    0 Thread(s)
    So you have lots of pairs of rectangles and pines, with the rectangles acting as collision boxes for the pines, correct? Or is there just one big white rectangle? I'm not clear on the situation.

    At any rate, the skier is probably the rearmost object, since he's probably created first. So when you tell a tree to go behind him, the tree now goes behind all the trees and all the rectangles.

    And the event you showed us is about a rectangle colliding with a red line, so it will scope that particular rectangle and it will scope that particular red line. But you haven't scoped any trees. So when you tell it to move a tree behind the skier, you're telling it to move all trees behind the skier.

    If you want to only move one particular tree, you need to scope it somehow in the conditions. For example, by giving it an id altVal that matches the fixed value of its sister rectangle when you create it, and then adding a condition to find only the tree with that id

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    janpier's Avatar
    Join Date
    Dec 2014
    Posts
    119
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    understood, so it is a kind of sequence, being the most skilled perpetrator, when the pine is put behind it is as if he were taking his most backward place

Similar Threads

  1. strange behavior for sub.app under swf
    By Fernando in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 1st April 2011, 02:02 PM
  2. Strange Behavior of AO with Set Pos to Mouse X,Y
    By Jahkri in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th February 2011, 01:47 PM
  3. Strange behavior from two PNG files...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd October 2010, 12:00 AM
  4. Strange Bounce behavior... help
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd October 2008, 05:13 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
  •