Sprites put (or created) into layout after certain conditions appear wildly out of its bounding box (Only in the editor, projects still run fine).
Attach a Capx
Description of Capx
The sprite object (the pink squiggles) appears out of bounds. It may be not apparent at first until you try to move it. This "offset" distance is not even consistent if you scroll the layout, as seen on the attached video.
Since this is about an layout editor bug, running the project is irrelevant.
Steps to Reproduce Bug
I can't seem to consistently reproduce this bug, sadly. But it goes somewhat like this:
- Create a tiled background with "glass" effect. If there is a couple of them in the layout it helps triggering the bug.
- Create a 9patch object with Edges property set to Tile. Not sure if size, margins, etc affect the result (Mine is a 96x15 graphic, with 32 left and right margins, 15 at top and 0 at bottom). There is a bunch of them but apparently one is enough.
- Create a sprite or a new instance of a created one (Not very consistent, sorry I cant pinpoint this more accurately).
Here we can see how to avoid this. Without preview effects there is no issues, for example.
I forgot to include it in the video, but sending the affected sprite to the bottom of the layer or to another layer makes it display properly too.
Well, its kinda obvious!
Irrelevant, it seems to run just fine outside the editor.
Operating System and Service Pack
Windows 7 service pack 1
Construct 2 Version ID
R243 64 bits (I tried the latest stable release and the problem persists)
My graphic card drivers are up to date and as far as I know I have no graphic glitches on any other program or game or whatever.