G
Gregory Tapper
Guest
Still getting used to the new (awesome) camera system in GameMaker 2!
In a step event, I have my camera moving to camtarget_x and camtarget_y.
Is there a new function I'm missing that will let me input a transition time to pan the camera? I know I can create a script that takes in the new position, then calculates the new position per frame, but it seems like something Yoyo would've included in a camera function
Thanks!
In a step event, I have my camera moving to camtarget_x and camtarget_y.
Code:
camera = camera_create_view(0, 0, 256, 176, 0, -1, -1, -1, 32, 32);
view_set_camera(0, camera);
camera_set_view_pos(camera,camtarget_x,camtarget_y);
Thanks!