View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0028376||2.x IDE Bugs||Sprite Editor||Public||2017-11-21 09:54||2019-02-14 17:00|
|Reporter||Kevin Brown||Assigned To||Steven Campbell|
|Priority||Very High||Severity||C - General||Reproducibility||100%|
|Target Version||2.1.4||Fixed in Version||2.2.2|
|Summary||0028376: Sprite Editor: [Precise overrides Manual mask values, but the editor does not communicate this properly]|
|Description||Sprites with Manual & Precise collision masks should only cause collisions with the non-empty pixels of the sprite within the rectangular area that is specified.|
|Steps To Reproduce||Open the attached .yyz|
Run with target Windows
Move around with the arrow keys
Notice that you collide with all visible parts of the objects
Open spr_gate & sprite4
Notice that they both have Manual & Precise collision masks for only a section of the sprite
|Tags||No tags attached.|
|2.x IDE Found In||188.8.131.527|
|2.x Runtime Found In||184.108.40.206|
|2.x IDE Verified In||220.127.116.113|
|2.x Runtime Verified In||18.104.22.1688|
136967.yyz (36,465 bytes)
This is a possible misunderstanding of the behaviour of "Precise" mixed with a definite UI issue in that we don't disable the Manual/auto dropdown, resize the mask area to fit the precise shape, and then block changing the mask handles when Precise is chosen in order to communicate that Precise is all pixels in your sprite.
Accordingly, Precise (across the whole image) is what's being used in-game, but in the IDE it looks to the end user like they should be able to have precise collisions ONLY within their masked area and everything outside the masked area would be ignored.
This is due to a change in http://bugs.yoyogames.com/view.php?id=25174 to give exactly this situation.
http://bugs.yoyogames.com/view.php?id=27273 is also related.
Suspect that if the change to fix the 1.4/2.x discrepancy is indeed correct, then the sprite editor should have been altered at that time to disable the Manual fields and recalculate the mask to the precise shape, as I suggested above.
||Change the sprite editor to reflect Precise always takes precedence?|
Closing as the inverse of 0025174
Have removed the code in GitLab Merge Request 464
Git Id: 4269a1aed2dd12dc41624ed773e8edd620627ebf
Closing. Verified as fixed in:
Beta IDE v22.214.171.1243 Beta Runtime v126.96.36.1998