Link to .capx file (required!):
scirra.com/arcade/example/6017/global-object-layers-bug-test
Steps to reproduce:
1. Spawn global objects in your game on a specific, named layer. Make sure that layer exists in all your layouts.
2. Switch between layouts. Make sure each layout has a different amount of layers, and that the layer number with your global objects varies.
3. Have one layer overlapping the layer with your objects on it. Have the overlapping layer use a transparency. 'Force own texture' is not required for the experiment. The global objects will disappear with the transparent layer.
Observed result:
Global objects disappear with a transparent layer.
Expected result:
Global objects should be visible with the transparent layer, same as the rest of the text on that layout.
Browsers affected:
Chrome: yes
Firefox: unknown
Internet Explorer: yes
Operating system & service pack:
Windows 7, SP1
Construct 2 version:
Release 135 (64 Bit)
Very difficult bug to track down from a large game that features many layouts, each with between 4 - 8 layers. The overlapping transparencies DO NOT cover the HUD in the game, but still cause global objects in the HUD layer to vanish. The transparency layer is used for lighting effects.