How do I support both Orientations?

Get help using Construct 2

Post » Tue Apr 01, 2014 1:45 pm

d5s wrote:
but doesn't the main candy area never move when flipping between landscape and portrait?

The main candy area has to move because the north to south changes when the orientation changes and so the candies then must then drop in another direction.

In Construct 2 itself, I think I can compare Window Height and Window Width and place the HUD elements accordingly. It's the balls/candies that is the problem.

I don't have the code for you, but I suppose you would just save the current ball locations to an array, change the orientation, use the array to put the balls back in the correct spot, and then your game play would have to account for the new dropping direction.
Posts: 312
Reputation: 8,528

Post » Thu Apr 03, 2014 3:33 pm

Thanks for your suggestion. It does seem to be the easiest way to deal with the candies. Thanks again.
Posts: 28
Reputation: 280


Return to How do I....?

Who is online

Users browsing this forum: banquetburger and 49 guests