TiledBackground bug when hotspot to center

Bugs will be moved here once resolved.

Post » Thu Nov 03, 2011 12:35 am

C2 r65; Windows 7 32 bit; FireFox 7.01; GeForce 9400 GT
Core 2 Duo E8400 @ 3.00 GHz; 3,00 GB RAM


When a TiledBackground's hotspot is set to Center, it's graphics offset from the layout-editor position during preview. I tested it with physics and it seems the collision polygon is placed correctly, but the graphics stay misaligned.

Capx:
http://dl.dropbox.com/u/7871870/construct/c2-bug-test-04.capx

Description:
- The gray rectangles at the left are set to Top-left hotspot, and the ones at the right to Center hotspot.
- The top gray rectangles have an angle of 0, and the bottom 225.
- The semi-transparent blue rectangles marks where the gray rectangles should be.

Apparently the positioning calc is wrong. It aligns at an angle of 0 but do not at other angles.
Scirra Employee
B
152
S
53
G
17
Posts: 711
Reputation: 17,800

Post » Fri Nov 04, 2011 4:18 pm

Thanks, should be fixed in next build.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest