Bug Issue: Clear Image Block not working correctly in private release

Pages: 1


  • Level 1 Stencyler
March 06, 2018, 09:08:37 pm
I recently installed the latest private release of Stencyl.  Before this I was still using the public free version.
When I upgraded the "Clear image using image" block stopped working correctly.

Test game as an example is attached

I create an actor (_Ball)
I set that image to the actor
I create a temp actor that will be used to clear the image (inverseCircle)
I set an image to the temp actor
I then clear the first actor using the second actor
I create a new actor that is an invisible pixel (Explosion Pieces)
I attach the cleared image to the new invisible actor.

Currently in flash and before I upgraded Stencyl, the image correctly cleared and displayed.
On IOS the image that is getting attached is the image that should be used to clear the first image.  It is showing the inverseCircle image wherever I place the Explosion Pieces actor.
« Last Edit: March 06, 2018, 09:09:39 pm by iroosma »

New attachment added by iroosma - March 06, 2018, 09:09:21 pm


  • Level 1 Stencyler
April 01, 2018, 07:57:12 pm
I am wrapping up my game and this is still blocking my release.  Any chance someone can take a look?


  • Master Stencyler
  • *
April 02, 2018, 01:32:12 pm
OpenFL's updates have lost support for a few things that used to work in Stencyl, and this is one of those.

Specifically, the erase blend mode doesn't work.  As a workaround, you can replace the black pixels in your final image with transparent ones.
  • Status changed from New to Confirmed

Issue updated by Justin - July 10, 2018, 09:47:57 pm
  • Tags added: openfl, graphics


  • Master Stencyler
  • *
January 27, 2019, 01:59:07 pm
Added a new implementation in b10248 using getPixels and modifying only the alpha values.
  • Status changed from Confirmed to Resolved
  • Issue Assigned from (none) to rob1221


  • Level 1 Stencyler
January 27, 2019, 02:33:50 pm

Pages: 1


  • Reported
    March 06, 2018, 09:08:37 pm
  • Updated
    January 27, 2019, 02:33:50 pm

  • View Status
  • Type
  • Status
  • Priority
  • Version
  • Fixed in
  • Assigned to
  • Category
    Design Mode Blocks



* Clear Image Using Test.stencyl (810.91 kB - downloaded 275 times.)