openfl / starling

Known as the "Cross-Platform Game Engine", Starling is a popular Stage3D framework for OpenFL and Haxe
Other
236 stars 67 forks source link

Starling DisplayObject mask bug with browser page zoom != 100% #170

Closed Mintonist closed 1 year ago

Mintonist commented 1 year ago

Hi!

I found strange things with masks and describe it here - https://community.openfl.org/t/starling-displayobject-mask-bug-with-browser-page-zoom-100/13714

Starling version 2.7, html5 target

joshtynjala commented 1 year ago

Have you tried updating to the new OpenFL 9.2.2, which was released last week? At least one issue related to Starling masks was fixed.

Mintonist commented 1 year ago

Sorry, I have not seen your answer. No, I have not tried OpenFL 9.2.2. I think Starling masks independ of OpenFL. I will try it later. For now I found crutch solution because I need to release my project right now

joshtynjala commented 1 year ago

I think Starling masks independ of OpenFL.

Starling in built on Stage 3D, which is part of OpenFL, so Starling is not necessarily independent from changes in OpenFL.

Mintonist commented 1 year ago

This problem has gone if use Quad inside Sprite (not directly as mask). Thx all!