
In other news these pillows on the wall are very comfortable.
Code: Select all
// camera Create event
w = max_w/(max_w-240);
// End Step
if instance_exists(obj_player)
then view_xview[0] = x+floor((obj_hitbox.x - x)/w)-x_o
else if max_w > 240
{
if xview > x+floor((max_w-240)/2) then view_xview[0] -= 1;
if xview < x+floor((max_w-240)/2) then view_xview[0] += 1;
}
Code: Select all
target_pos = get_target_camera_pos(p1, p2)
camera_scroll = target_pos - camera_pos
// avoid overshoot
if camera_scroll >= 0
camera_scroll = min(camera_scroll, FIXED_CAM_SCROLL)
else
camera_scroll = max(camera_scroll, -FIXED_CAM_SCROLL)
camera_pos += camera_scroll
// clamp to bounds
camera_pos = min(max(camera_pos, MIN_CAM_POS), MAX_CAM_POS)
The shift to Studio has made this very viable now with a little bit of work. The main obstacle I can see is figuring out how to compile GMALP and if necessary Audiere for a Linux environment so you can still have music with loop point support.e_tank wrote:also, hows about proper linux support one of these days, i'm keeping my fingers crossed