Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Location Set
- x = room_width / 2;
- y = room_height / 2;
- //Speed in pixels how far will travel per step
- pan_speed = 100;
- //Zoom Scale
- zoom_scale = 1;
- //The scale adjustment per tick
- zoom_tick = 0.1
- //Maximum Zoom Scale
- zoom_scale_max = 1;
- //Minimum Zoom Scale
- zoom_scale_min = 0.1;
Advertisement