Layer rotation, position and collision...

Bugs will be moved here once resolved.

Post » Fri Feb 03, 2012 8:08 am

Hello,

I just can't qualify the following problems asbugs...but for sure the introduction of some enhancements would help a lot!

In the process of developing my entry for the Rotary competition, I faced several problems (for which I found workarounds...unfortunately having some impact on the performances) when playing with the layer rotation command:

- When you rotate a layer, there should be a way to automatically get objects coordinates and rotation from the point of view of another layer, from the layout point of view or from the canvas point of view. For sure we can do the maths by ourselves...but trigonometry is an art some of us just don't master (yet)!

- There should be a sprite flag allowing the collision of sprites belonging to different rotated layers using the sprites canvas global coordinates and rotation instead of their layer local ones. As a workaround, I had to use extra objects belonging to unrotated layers hidden behind the background layer. For each one of the sprite, I had to compute their unrotated position. This process just multiplies my object count per frame by 2 to 4 and adds complexity in collision handling.

In fact, in my case, rotating layers (which is mandatory for the competition) is more complicated than rotating the actual objects by myself!!!

I hope you'll be able to simplify all this in a future release.
By the way, I love the product! Keep on the good work!

Kind regards,

Ulric
uboel2012-02-03 08:09:26
B
49
S
12
G
9
Posts: 4
Reputation: 8,296

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests

cron