request: more screen shake support

Discussion and feedback on Construct 2

Post » Tue Apr 15, 2014 8:20 pm

I find the shake-option in the scroll to-behaviour too limited.
I only see the screen shaking when I enter a magnitude higher than around 120 or 150.
and that's too much shaking.
The shaking is also not constant (even when I select the constant option).

So I would like to see more shake-options.
To include for example the following options:
- shake screen with a minimum of 1 pixel (important option)
- shake horizontal and vertical and diagonally (fairly important option)
- shake only horizontal (optional option)
- shake only vertical (optional option)

(Or is screen shake not supported in a simple way in html5?
And would it still be available when exported to other platforms available (android/ios)?)
B
28
S
6
G
7
Posts: 678
Reputation: 5,676

Post » Tue Apr 15, 2014 9:16 pm

Shake is one of the simplest things you can do.
Just do it your self using variables, the random() expression, and the system scrollx, and scrolly.
Like:
+> global variable "shake"= 1
-->system scroll x to scrollx+random(-30,30)
-->system scroll y to scrolly+random(-30,30)
Image ImageImage
B
169
S
50
G
174
Posts: 8,331
Reputation: 110,806

Post » Wed Apr 16, 2014 12:33 pm

Thanks, this is not a feature request anymore.
B
28
S
6
G
7
Posts: 678
Reputation: 5,676


Return to Construct 2 General

Who is online

Users browsing this forum: olympo and 12 guests