kikito / gamera

A camera system for LÖVE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve documentation about the difference between viewport and world

kikito opened this issue · comments

Some people still misunderstand what they mean. The docs need to be better/less confusing. Maybe adding some picture?

commented

How about this :

It like a small rectangle limit in a big rectangle where the big rectangle is what you want to draw the whole map or scene, and the small rectangle is decide what you want to show at current time on the big scene.

And the "setWindow" decide the width and height of the small rectangle as well as the position where your want to place your current sence on the game window

and the "setPosition" decide the position of small rectangle in big rectangle( game scene)

I think it will work better with graphics. I will try to cook something up. Thanks for your feedback nevertheless!