Manual Screen shake

0 favourites
  • 5 posts
From the Asset Store
40 short musical loops, perfect for playing in the background on different screens.
  • I need to be able to create a screen shake effect just like the behavior plugin.

    I can't use the behavior plugin since you cant deactivate its main functions. I have no clue were to start have searched all the forums current posts on this subject but have had no luck.

    This is my Camera settings to shake.

    Every Tick > Sroll to position > X: PlayerBox.X

                            Y: lerp(PlayerBox.Y - WindowHeight /6.0, ScrollY, 0.5)

    Layout size: 1.5

    please help

    I want the entire screen to shake, not one object..

    <img src="smileys/smiley1.gif" border="0" align="middle" /> <img src="smileys/smiley1.gif" border="0" align="middle" /> <img src="smileys/smiley1.gif" border="0" align="middle" /> <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I had the same problem not long ago.

    I solved it by adding the sine behavior to the object and made it very fast so it looked like a shake. The sine behavior can be activated via event, so it's very useful for this =)

  • I had the same problem not long ago.

    I solved it by adding the sine behavior to the object and made it very fast so it looked like a shake. The sine behavior can be activated via event, so it's very useful for this =)

    well it works just one problem if the camera isn't locked on the player, like if your all the way at the left edge it wont work.

    Edit

    got it I think. it's not to good tho especially in slo mo?

    Edit2

    Yeah if im jumping backwards in slo mo and sine waving it looks bad. I just need the actual screen to shake.

  • I haven't tried, but I found this thread. Maybe Yann's solution works?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I haven't tried, but I found this thread. Maybe Yann's solution works?

    Nice I searched every forum I didn't ever see that one nice find thx

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)