im having trouble creating that awesome scrolling engine in lost woods dizzy! i know its pretty simple but its still really buggy. anyone wanna post the exact coding??
but basically when dizzy touches the border you centre the x or y position of the window relative to the red border object. + or - a certain amount. try this until its scrolls enough. easy, but takes a while.
Pleh. It depends on the resolution. Say you have a res. of 320x240... you'd do this:
x player = x right frame : set x window to x + 160
x player = x left frame : set x window to x - 160
y player = y top frame : set y window to y - 120
y player = y bottom frame : set y window to y + 120
That's the method I'd use. Obviously to stop flickering between frames you'd have to shuffle the player along a little. This method basically halves the x and y of the resolution and adds / subtracts the window position to the position PLUS the half value of the resolution... err... hope you understand that You don't necessarily need any active objects whatsoever