Answers for "stop camera if it hits edge of room gml"

0

stop camera if it hits edge of room gml

x = clamp(x, camera_width/2, room_width-(camera_width/2);
y = clamp(y, camera_height/2, room_height-(camera_height/2);
var vn = matrix_build_lookat(x, y, -10, x, y, 0, 0, 1, 0);
Posted by: Guest on January-17-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language