Zuljaras
Member
Hello,
So I have the following code in the player (object that is followed by the view) DRAW event.
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.
So I have the following code in the player (object that is followed by the view) DRAW event.
Code:
if(shake){
view_angle=choose(irandom(2),irandom(2)*-1);
}else{
view_angle = 0;
}
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.