User Tag List

Results 1 to 3 of 3

Thread: Problems with the layer object

  1. #1
    Clicker Fusion 2.5SWF Export Module
    kromblite's Avatar
    Join Date
    Mar 2012
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problems with the layer object

    I'm making an isometric platformer. In the game, everything has a collision box that's separate from its actual visual image. This is so I can make isometric platforms and other things to give the game some visual depth. I've been using the layer object's "sort by x" and "sort by y" feature to determine how the platforms overlap. Ideally, I'd like these platforms to overlap like this- ideal.png
    Unfortunately, if a block is simultaneously above and to the left of another block, problems arise- real.png
    This is because one block is simultaneously being told to overlap and be overlapped by the other block. Unfortunately, as far as I can tell, the layer object doesn't have enough flexibility for me to fix the problem. Is there a way to fix this? Or should I just stick to making normal platformers?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does the Select object have actions that could help you here? (I'm not sure about this, as I've never dealt with this problem myself). What order are you running the sort by X/Y actions in just now?

  3. #3
    Clicker Fusion 2.5SWF Export Module
    kromblite's Avatar
    Join Date
    Mar 2012
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here are the events as displayed in the event list editor-
    screenshot.png
    I have a block type that's set to be invisible in its properties, and I've gotten an isometric block active to set its position to the block whenever it's overlapping the big grey rectangle (a detector I made to determine if a block is on the screen). More important is the layer object's event to sort the objects by X and Y.

Similar Threads

  1. Layer Object: Moving X and Y of layer is very slow
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 5th April 2013, 01:19 AM
  2. Position layer using Layer Object
    By Sumo in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 4th October 2012, 05:51 AM
  3. Layer Problems and events not working
    By Sabata24 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd August 2008, 01:32 PM
  4. Layer Object can't move counters to specific layer
    By JoKa in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th November 2007, 11:11 AM
  5. Bug when moving a layer with layer object
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 2nd July 2006, 11:40 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
  •