9 Patch disappearing bug

Bugs will be moved here once resolved.

Post » Sat Dec 10, 2016 3:59 pm

Problem Description
When the 8-direction movement is used with the 9-Patch, the patch will disappear if its partly moved outside layout. However it seems that the movement is actually working correctly.

Image
Holding the left mouse button will cause the 9 patch to move left, which works fine.

Image
Placing the 9 patch partly outside the layout. Wont work.

Image
Running the project in debug mode.

Image
After pressing the mouse button to make it move, the X,Y is roughly the same, however the 9 Patch have disappeared.

Attach a Capx
https://dl.dropboxusercontent.com/u/109 ... h_bug.capx

Description of Capx
When left mouse button is held it will simulate a left 8 direction movement for the 9patch.

Steps to Reproduce Bug
1. Place the 9 patch partly outside layout
2. Press left mouse button.

Affected Browsers
Tested in NWjs

Operating System and Service Pack
Windows 7

Construct 2 Version ID
r240
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Wed Dec 21, 2016 1:58 pm

Thanks, should be fixed in the next build. The workaround is just to turn off rotation in the 8 direction behavior - it's trying to rotate 9 patch which is not a rotatable object.
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

Post » Wed Dec 21, 2016 6:01 pm

Ashley wrote:Thanks, should be fixed in the next build. The workaround is just to turn off rotation in the 8 direction behavior - it's trying to rotate 9 patch which is not a rotatable object.


I see, thanks for that :)
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest