How do I shake the camera against the layout borders ?

Get help using Construct 2

Post » Wed Feb 04, 2015 11:18 pm

Hi. It's more a generalistic question about moving the camera further than the layout borders.
My point is pretty simple : is it possible ?

Actually when my character is around a corner of my layout, the camera shaking doesn't work at all, and that's quite ugly.

I'm considering making a bigger layout, then a "sub-layout" with invisible borders. But that's not a pretty solution because all the conditions relative to the layout won't work (destroy outside layout, bound to layout...).
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Thu Feb 05, 2015 3:46 am

I don't think I understand what you mean? You will always look through the camera. Why would you move it outside the borders?

Anyway since im not 100% sure what you mean this might be way off, what you need :D But then you can just ignore it.

But if you make the layout lets say 2000px wide.
Then you make a check that "if player.X < than 200" then he cant move further that way, and then you do the same on the other side "if Player.x > than layout.width - 200". Then you would have 200 px on each side. Maybe then the camera can shake.

Anyway as I said not sure its what you refer to :)
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Thu Feb 05, 2015 4:36 am

u can shake it by moving the scene area , or the screen area, try those in System>Screen /or/Scene events i know for a fact u can tilt the angle if that's what u ask for, but for sure ul be able to tilt it straight left right also
Do you have games and want to make money with them!? do you want more then pennis from ads you have in your games?! visit us today www.gcstudio.net and make money with your games!:)
B
15
S
2
Posts: 89
Reputation: 2,440

Post » Thu Feb 05, 2015 3:15 pm

ImageImageImage
B
71
S
22
G
249
Posts: 3,763
Reputation: 138,577

Post » Thu Feb 05, 2015 4:23 pm

Amazing. 8-)
The only downside is that the shake effect has a lack of options, as I was previously using magicam.
B
12
S
7
G
7
Posts: 450
Reputation: 4,276


Return to How do I....?

Who is online

Users browsing this forum: blackhornet and 25 guests