Layer rotation, position and collision...

0 favourites
  • 1 posts
  • 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)! <img src="smileys/smiley2.gif" border="0" align="middle" />
    • 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!!! <img src="smileys/smiley17.gif" border="0" align="middle" />

    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! <img src="smileys/smiley32.gif" border="0" align="middle" />

    Kind regards,


  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)