tilemap
tilemap copied to clipboard
Issue rendering hover normal
I get some strange bug here , but i don't know where to start for fix this!?
Any ideas are welcome.

If i set normal alpha 0 to a sprite, when hover the BG Clouds (TilingSprite), it render black !
someone would have an idea of what's going on here and why logically this code does not work?
createBackground() {
this.clearBackground();
const dataObj = $objs.BACKGROUND[this._name];
if(dataObj){
const C = this.background = $objs.createFrom(dataObj);
C.child.zOrder = -1;
C.child.parentGroup = $displayGroup.group[0];
this.addChildAt(C.child,0);
this._sceneWidth = C.child.width;
this._sceneHeight = C.child.height;
//!extra tilling repeat BG: experimental
//FIXME: normal see not render correcly hover TilingSprite
const dataBase = $loader.DATA2.Tilling1;
const tilingSprite = new PIXI.extras.TilingSprite( dataBase.textures.cloud1,$app.screen.width,$app.screen.height );
//tilingSprite.alpha = 0.2;
tilingSprite.parentGroup = $displayGroup.DiffuseGroup; // BUG, TilingSprite GET BLACK
$stage.addChildAt(tilingSprite,0);
}
};
You opened issue in a wrong plugin
Also i dong guarantee anything about blendModes in case you use pixi-lights. Of course if you set normal to 0 any lights will fail, except Ambient. You need to put it under those layers, not to diffuse!
ho sorry , i was thinking it can be related to tilingSprite.
I mean I'm trying to find a way to allow sprites diffuse to fly over the limits of the PIXI application.
I thought filling the background of the application with tilingsprite would work.
:( I don't know if i explain well my issue.