How do I make camera shake effect w/ no scroll

Just started using Construct 2? Post your questions here

Post » Sat Dec 16, 2017 5:12 pm

Hi Guys;

My game have some static scenaries, without no scroll to action.
I was wondering how can I do some camera shake effect, something like [when enemy touch player] > [camera shake].

With scroll to action I know how to do this, but I can't figure out a way to think the effect on static scenaries.


Many tks
B
8
Posts: 17
Reputation: 334

Post » Sat Dec 16, 2017 7:57 pm

lucaszfazzi wrote:Hi Guys;

My game have some static scenaries, without no scroll to action.
I was wondering how can I do some camera shake effect, something like [when enemy touch player] > [camera shake].

With scroll to action I know how to do this, but I can't figure out a way to think the effect on static scenaries.


Many tks

you can simulate a shake effect for example by litlle scaling in a background sprite for a couple of seconds and moving some pixels left or right
sorry my bad english
B
20
S
8
G
8
Posts: 598
Reputation: 6,948

Post » Sun Dec 17, 2017 5:32 am

You can temporary set parallax to 100,100 for static scenery layers before using ScrollTo-Shake.
But it may be tricky to set their position correctly.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
19
S
9
G
158
Posts: 2,379
Reputation: 84,385

Post » Thu Jan 11, 2018 12:17 am

Tried the NN81 way and it works fine! Tks guys
B
8
Posts: 17
Reputation: 334


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 3 guests