Is it possible to change Window/viewport angle?

Get help using Construct 2

Post » Sat Dec 06, 2014 4:27 pm

Hello, here's a game that im working on.
http://yoruno.itch.io/vshootertest3?secret=Ly7rhLzMcMUaLGVZ7wK15poZs
It's very much a normal vertical shooter at the moment. What i'm stuck on is that.. is it possible to rotate the window/camera?
The idea is that when i press.. say D, I want the window (plus the player ship) to rotate 90' to the right. On screen it'd look like you're still flying straight up north but the purple blocks will be coming from left.
I can rotate the layers and layouts and it does give similar effect to what i want to achieve, just that if i can rotate the camera itself it would probably make things a bit more simpler.
I also tried simply changing where enemies spawn facing what angle, it works but the current spawning mechanics is just a place holder so its no good as a solution. =[

So yeah. Thanks in advance!
B
5
Posts: 4
Reputation: 233

Post » Sat Dec 06, 2014 4:32 pm

Did you try setting the layer angle?
Image ImageImage
B
169
S
50
G
173
Posts: 8,316
Reputation: 110,276

Post » Sat Dec 06, 2014 4:36 pm

Yeah I've tried changing layer angles. They work, just that once i start adding other stuffs it gives me more layers to set angles on manually so i was thinking if i can change window angle instead that'd mean less things getting rotated lol.
B
5
Posts: 4
Reputation: 233

Post » Sat Jan 31, 2015 4:28 pm

Did anyone figure this one out yet? Do I just need to rotate every layer manually?
Check out my games on Google Play:
BEAST ATTACK (1,000,000+ downloads!)
ZOMBIE BASH (Android) (Launched Feb 17)
ZOMBIE BASH (iOS) (Launched March 17)
B
55
S
18
G
2
Posts: 436
Reputation: 5,607

Post » Sat Jan 31, 2015 4:50 pm

@jook00, instead of using Set layer angle, use the Set layout angle action. This will rotate the entire layout.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,116

Post » Mon Feb 09, 2015 5:39 am

Thank you!
Check out my games on Google Play:
BEAST ATTACK (1,000,000+ downloads!)
ZOMBIE BASH (Android) (Launched Feb 17)
ZOMBIE BASH (iOS) (Launched March 17)
B
55
S
18
G
2
Posts: 436
Reputation: 5,607


Return to How do I....?

Who is online

Users browsing this forum: BackendFreak, farsen, lahbach, ManBeard, newt, TRMG and 25 guests