Orange Overlay Parallax and YEP Doodads problem

● ARCHIVED · READ-ONLY
Started by Plueschkatze 4 posts View original ↗
  1. Hello everyone! :3

    I just stumbled across a problem which I couldn't find a solution for.
    Maybe someone around here knows the problem aand a solution! :)

    I use Orange's Overlay Plugin
    and I also use YEP's Grid-Free Doodads~

    The Problem is, that even if I choose "highest layer" for my doodads the sprites are still drawn BEHIND the par layer of my parallax setup.

    Here's an example of the problem I'm having. My moving lightbeams are behind the par layer. (And everything else is also drawn behind)
    wip_doodadparallaxissue_by_plueschkatze-dbf66q8.png

    I also already changes the placement/order of the plugins themself, inside the plugin manager, in case that would cause the issue but.. nothing changed D:


    Help? :3
    Thank you! <3

    - Kat.
  2. The problem here is probably that the overlay plugin uses a higher value for the z layer than the doodads do (even on their highest setting).
    You'd need to alter the plugins themselves to make sure the layering is as you want it to be.

    Or hope someone with javascript experience comes along this topic and offers help.
    Sadly, I'm not that guy. :esad:

    Edit: I like the style of your map. :ehappy:
  3. @Gonor yeah~ that's what I think could be the problem but I can hardly imagine that I'm the first person who comes across it :kaoeh:
    So there might be a solution?! I hope.

    edit: Oh. And thank you <3
  4. Hi, In case someone else was brought here by Google; I managed to find a messy solution:
    Open OrangeOverlay.js with notepad, search for "'par', 20, $.Param.parallaxSwitchId", you should find two lines that look like this (they aren't identical).
    Code:
    this._parallaxLayer = this.createLayer('pars', $.Param.parallaxLayerFileName, 'par', 20, $.Param.parallaxSwitchId, 255);
    and
    Code:
        this.updateLayer('_parallaxLayer', $.updateParallax, 'pars', $.Param.parallaxLayerFileName, 'par', 20, $.Param.parallaxSwitchId);

    Change that 20 by 6, or 7 (I think Doodads use layer 8 as the highest one) on BOTH lines.
    I'm no scripter by any means, I just opened up the file, read it and tried to find the layers informations ahah. It did work for me tho, and I haven't found any bug with it, but I didn't test it extensively either.