Closed moiri closed 9 years ago
jitter was fixed with the redesign of #42. However the behavior on the right side is still persisting. This is caused by the overlapping image and also the debug elements.
As a solution, make all the position calculations according to top, not bottom and set the skyBox to top:0px
The private method checkPosition(direction) in the Movable class needs some thinking over in case of direction 'right' and 'bottom': imgDiff seems very superfluous and some comments would be helpful.
The character enlarges the document when hitting the border on the right side and a jitter effect is produced on the left border