1
Ask a Question / Blend modes (additive/multiply/screen) on native
« on: October 19, 2016, 10:43:15 am »
Hello!
So ever since Stencyl moved over to OpenFL and Haxe, setting blends on actors and layers in mobile or desktop don't work in the same way as they do on the Flash target - ie, they only affect themselves and do not affect other actors or layers. In fact, raw drawing on to layers doesn't do anything blendy at all! This prohibits doing funky lighting effects, particles and other whizzy things that are a doddle in say, GameMaker or another OpenGL powered 2D engine.
Given that Multiply, Add and Screen are actually supported in native targets, it seems to be that the implementation is buggy and may be able to be addressed? It doesn't seem to be a next/legacy thing as the same behaviour is noticeable in either compile mode.
If any of the Stencyl super-whizzes are able to look in to this and see if it's something that can be remedied, that would be super amazing!
So ever since Stencyl moved over to OpenFL and Haxe, setting blends on actors and layers in mobile or desktop don't work in the same way as they do on the Flash target - ie, they only affect themselves and do not affect other actors or layers. In fact, raw drawing on to layers doesn't do anything blendy at all! This prohibits doing funky lighting effects, particles and other whizzy things that are a doddle in say, GameMaker or another OpenGL powered 2D engine.
Given that Multiply, Add and Screen are actually supported in native targets, it seems to be that the implementation is buggy and may be able to be addressed? It doesn't seem to be a next/legacy thing as the same behaviour is noticeable in either compile mode.
If any of the Stencyl super-whizzes are able to look in to this and see if it's something that can be remedied, that would be super amazing!