Merge pull request #7 from yuye-liu/master

merge local areas
using clamp to set playable area
merge