User Tag List

Results 1 to 2 of 2

Thread: How to sort sprites objects and backgrounds in three layers avoiding clutter?

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleUnicode Add-on
    daryuss's Avatar
    Join Date
    Apr 2012
    1 Post(s)
    0 Thread(s)

    How to sort sprites objects and backgrounds in three layers avoiding clutter?

    In this project of mine,
    I decided to order the objects in three layers (perhaps for this reason that causes problems with scrolling, because I put everything in one layer)
    I would like to sort the items as follows:
    -Player sprites and enemies in layer 1
    -The platforms and objects that decorate (such as trees, ice columns etc.) in layer 2
    -Panorama background objects in layer 3
    But happens that moving the platforms in layer 2, they change the order of view, even if I force the events with "always - bring behind this object - bring forward other object etc."
    In the event editor, in some boxes where the object was created, it allows me to move the object to other layers, while in other event boxes where object was created, it does not allow me to do it.
    This means that I should recreate every single "create object" event specifying in which layer to put it, and these are too many!
    Maybe my mistake was that I had to do it from the beginning.
    Isn't there a method to do this safely?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Western Cape, SA
    29 Post(s)
    0 Thread(s)
    You have your layers reversed - the panorama background needs to be layer 1, the platforms layer 2, the player layer 3. But then the player won't have an interaction with the platform.

    Layer 2 objects will always be in front of layer 1 objects etc.

    If your events have qualifiers you can do a generic:

    Always = move qualifier x to layer 2

    Also have a look at the layer object - if you have a look at the help file there, it might give you some ideas of what it can do. (I have used it only to sort things on the same layer - but there's a lot of talk in the forums that it can "flatten" layers.)

Similar Threads

  1. Making games with pre rendered sprites/backgrounds
    By Warmachine in forum Fusion 2.5
    Replies: 5
    Last Post: 9th January 2019, 12:55 PM
  2. Is there way to sort layers in runtime?
    By Jokk3 in forum Fusion 2.5
    Replies: 9
    Last Post: 11th October 2016, 02:38 PM
  3. Can Ink Effects or layers be used for a sort of Karaoke effect?
    By Brent in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th December 2011, 03:06 PM
  4. Avoiding Objects?
    By JGooler in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th May 2008, 01:19 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