lmchoi / connect-four-clone-android

0 stars 1 forks source link

Use world units #5

Closed lmchoi closed 8 years ago

lmchoi commented 8 years ago

Setup the camera so that it uses world units instead of pixels.

Each token is one world unit in height and width.

Demonstrate that the touch input coordinates is converted to pixels correctly by moving lol-face to the correct grid square under the touch event.

lmchoi commented 8 years ago

Refer for more info: https://github.com/libgdx/libgdx/wiki/Orthographic-camera