How to use Canvas.translate to make a camera scrolling effect in android?

| | August 4, 2015

I’m making a game in android, and I’d like the “camera” to be always drawing the character in the center, I’ve been searching and I found out that I should use this method, but I don´t know how to use it to do what I want. If you could explain this to me with code I would be very grateful.

Leave a Reply