• Hey! Guest! The 37th GMC Jam will take place between May 28th, 12:00 UTC and June 1st, 12:00 UTC. Why not join in! Click here to find out more!

Legacy GM Need little assistance with screen shake effect



So I have the following code in the player (object that is followed by the view) DRAW event.

  view_angle = 0;
It works fine but I want to know if I can make it the same with up, down, left and right?

I tried with view_xview etc. but the only things that moved were my health bar objects. Not the whole screen.
The view_angle works so good why can't the other view parameters work the same.

I want to make the screen shake without camera control object. My player_parent object is the one followed.


Friendly Tyrant
Forum Staff
The issue is probably that you have some other object that is setting the view x/y position and so over-riding the position you set with the screenshake... So, to fix this we need to know one thing... are you setting object following using the room editor? Or through code in the player object? If it's through code then we need to see the code, and if it's in the room editor then we'll need to switch that off and add code to do it into the player. So, let us know what you're doing and then we can help you edit things to get the screenshake to work.