melanke / CascadeCanvas

A framework for canvas that follows the Javascript patterns you already know
6 stars 0 forks source link

screen minX, minY, maxX, maxY will limit the screen position #31

Closed melanke closed 10 years ago

melanke commented 10 years ago

CC.screens = [{
    minX: 0,
    minY: -700,
    maxX: 24000,
    maxY: 2000
}];
melanke commented 10 years ago

to improve performance this will be considered only when the user uses the method CC.screen[0].setCenter(x, y)