Mandarancio / OpenGOO

A free clone of World Of Goo
mandarancio.github.com/OpenGOO
Other
153 stars 21 forks source link

Scene scroll. #31

Closed fasigno closed 12 years ago

fasigno commented 12 years ago

The scroll of the scene should start touching the sides of an inner rectangle smaller than the game viewport.

Mandarancio commented 12 years ago

The current implementation is like this (the rectangle is 20 px each side smaller of the view-port) May be we can made the rectangle smaller.

fasigno commented 12 years ago

Check the lower side, you must be really near to the viewport to scroll down the scene. And I have checked, the scroll area in World of Goo is really big; 20px is not enough.

Mandarancio commented 12 years ago

Yes yes I know and I just fixed it before (try to checkout now) but I didn't commit because I had to finish a fix at the zoom. PS: Also before the down area was only 2px (I think that was a mistake in the coding 20 -> 2!!!)