[r110.2] Mirror problem with sine behaviour

Bugs will be moved here once resolved.

Post » Sun Nov 25, 2012 10:20 am

Im here once more, jeje.
This time, I would like to show you an error related to the combination of mirror state with the sine behaviour (or if its correct, at least, something I dont understand at all).

In the example, I have two similar objects: the red and the green sprite (yes, I know, they look really cool xD).

The unique difference between them is that, the green one has an extra sine size behaviour that the red hasnt. Appart from that, both have a bullet and a horizontal sine behaviour applied.

The problem comes when I create them coming from right to left, and set them mirrored. The one (green sprite) with the size sine behaviour doesnt get mirrored, while the red one does.

Link to the capx.

I think this bug is not only related to this last release, its on the 109 too.

Thanks for all your help!

EDIT: I forget it, sorry, the system specs:
  • Ati HD 6990 4GB (tested with 12.10 and 12.11 Beta drivers)
  • Windows 8 64bit
  • Last chrome version
sirLobito2012-11-26 07:18:28
Posts: 106
Reputation: 4,792

Post » Mon Nov 26, 2012 5:52 pm

Closing as by design: the Sine behavior with 'Size' mode set uses the object's initial size as the value to oscillate. So the behavior is already set up in the 'Create object' action and the 'Set mirrored' after it will have no effect. This is by design, to get the effect you want just mirror the object in the layout (set its width to -32) so it's already mirrored in the 'Create object' action.
Scirra Founder
Posts: 24,888
Reputation: 198,582

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 6 guests