Add project code
This commit is contained in:
6
scripts/camera_shake/camera_shake.gml
Normal file
6
scripts/camera_shake/camera_shake.gml
Normal file
@@ -0,0 +1,6 @@
|
||||
function camera_shake(_amount = 5){
|
||||
with (o_camera) {
|
||||
x_shake_amt = _amount;
|
||||
y_shake_amt = _amount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user