Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_fx_zoom_camera_Create_0

(view raw script w/o annotations or w/e)
1
zoom_x = camerawidth() / 2;
2
zoom_y = cameraheight() / 2;
3
zoom = 1;
4
currentzoom = 1;
5
zoom_lerp = 0;
6
surf_width = 640;
7
surf_height = 480;
8
focus = false;
9
focus_target = -4;
10
ease_in = false;
11
ease_out = false;
12
pow = 2;
13
screen = -4;
14
zoom_speed = 0.1;
15
screenclamp = true;
16
basesize = new Vector2(320, 240);
17
pos = new Vector2(x, y);
18
cam_surf = surface_create(320, 240);
19
siner = 0;
20
init = 0;
21
showcamera = false;
22
clear_color = 0;
23
depth = 40000;
24
image_speed = 0;
25
image_index = 1;