; Specify where to keep tux in fixed camera mode
(target-x 0.5)
- (target-y 0.5)
+ (target-y 0.66)
; Speed is limited to these for the Yoshi cam
(max-speed-x 80)
(clamp-y 0)
; Keep tux here when he runs in YI mode
- (edge-x 0.3)
+ (edge-x 0.28)
; If YI camera is in no-scrollmode it will go to scrollmode again if tux
; reaches this part of the screen, make sure this value is bigger than edge-x
; to avoid sudden camera stops
}
LEFTEND = SCREEN_WIDTH * config.edge_x;
- RIGHTEND = SCREEN_HEIGHT * (1-config.edge_x);
+ RIGHTEND = SCREEN_WIDTH * (1-config.edge_x);
// calculate our scroll target depending on scroll mode
float target_x;