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;
|
||||
}
|
||||
}
|
||||
13
scripts/camera_shake/camera_shake.yy
generated
Normal file
13
scripts/camera_shake/camera_shake.yy
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$GMScript":"v1",
|
||||
"%Name":"camera_shake",
|
||||
"isCompatibility":false,
|
||||
"isDnD":false,
|
||||
"name":"camera_shake",
|
||||
"parent":{
|
||||
"name":"Scripts",
|
||||
"path":"folders/Scripts.yy",
|
||||
},
|
||||
"resourceType":"GMScript",
|
||||
"resourceVersion":"2.0",
|
||||
}
|
||||
Reference in New Issue
Block a user