rotating everything 90 degrees

For questions about using Classic.

Post » Sat Jan 17, 2015 4:03 am

Hi all.

Im working on a vertically scrolling shooter, and its customary for these types of game to have narrow aspect ratio with a normal monitor setup and a fullscreen rotated mode for a vertically rotated monitors .

Image

I thought I had it figured out instantly with the system : set display angle function, but for some reason my layer that I use for my score overlay etc doesn't rotate, and also tiled background objects that have offset scrolling images within them don't rotate either.

I assume my score layer doesn't rotate because it doesn't scroll.. Although I could be wrong..

Can anyone explain what might be wrong , or if there is a better method to do this? possibly rendering the entire game to a plane and then rotating that? or is the whole rotation thing filled with too many potential problems with other functions to even think about it?

Thanks in advance!
B
9
S
4
G
5
Posts: 160
Reputation: 2,374

Post » Sat Jan 17, 2015 3:29 pm

I did something like this in the past, you do not have to rotate elements that don't have to (the hud do not have to rotate for exemple, same for the score). In C, the score looks good, but not the action, so rotate the action, but not the score.

so either you rotate only the layer that needs to become horizontal, or you rotate the entire layout of 90 degrees, but rerotate the score layer to correct this.

I assume this works the same in CC as in C2, so the way to do it may be slightly different (as this is in the CC subforum)
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Sat Jan 17, 2015 5:11 pm

thanks for your response! - to be clear, I actually want to rotate it like it is on the example images. Everything including the score , background etc..
B
9
S
4
G
5
Posts: 160
Reputation: 2,374

Post » Sun Jan 18, 2015 8:08 pm

Unbounded scrolling needs to be ticked it seems, but that is definitely not an easy thing to do, maybe some of the C2 tutorials on changing aspect ratio can be done similarly in Construct Classic (eg: portrait to landscape on mobile phone code)?
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
40
G
17
Posts: 2,197
Reputation: 19,433

Post » Wed Feb 11, 2015 11:32 am

Thanks all, I think I have it figured out but each seperate resolution needs to be scaled and panned.... I can deal with that
B
9
S
4
G
5
Posts: 160
Reputation: 2,374


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests