thpj5/objects/obj_camera/Create_0.gml

13 lines
157 B
Plaintext

target = self;
target_camera_x = 0;
target_camera_y = 0;
if ( instance_exists(target) ) {
target_camera_x = target.x;
target_camera_y = target.y;
}