Found the code for the earthquake effect on Rumia,s Bomb.Code: [Select] task TShake() { while(!Obj_IsDeleted(objManage)) { Set2DCameraFocusX(192 + rand(-8, 8)); Set2DCameraFocusY(224 + rand(-8, 8)); yield; } Reset2DCamera(); }so yeah... looks like a new (correct me on this, if this isn?t a new one) function to be used.
task TShake() { while(!Obj_IsDeleted(objManage)) { Set2DCameraFocusX(192 + rand(-8, 8)); Set2DCameraFocusY(224 + rand(-8, 8)); yield; } Reset2DCamera(); }
■ 2D camera A 2D camera space manipulation functions. Used to vibrate the screen probably mostly.(It seems to keep changing the position and vibration of the camera focus.)2D camera on the scope of the " priority drawing "thank you for more information.
You kind of mixed up the two sayings there, bud.Anyways, with the inclusion of a 2D camera, there had better be more ways to use the camera than just moving it around.
Why is the camera not centered... At the center...?
Spoiler: I know...The code shows him randomly skewing it about (192, 224), which is not the center of the screen. I'm basically asking why the camera is moving about that particular point, as opposed to being centered at the very center of the screen (224, 240) and then altered.
My only guess is that the gamefield size can be altered
The code shows him randomly skewing it about (192, 224), which is not the center of the screen.