Canvas 镜头(Camera/viewport)效果的实现

23
Aug

Canvas 镜头(Camera/viewport)效果的实现

1、DrawImage实现法

http://jsfiddle.net/gfcarv/QKgHs/#embed

2、RPGmaker型,图块型

http://stackoverflow.com/questions/11464550/html5-creating-a-viewport-for-canvas

添加新评论