How to create a camera in 2D android game?
<p>I want to create a game that look like callus95 games. Simply using 2D graphics drawn in paint. So the camera gonna look at hero from his side and I have a background that bigger than the screen, when hero moves the <strong>background should slide back with enemy on it. Also I want to add zoom in and zoom out too</strong>. Things that I tried: </p>

<ol>
<li>I tried to used canvas.translate(x,y); but I think there should be a better way like create a real camera. </li>
<li>I found something like this to overload a camera but it' look like I have to use OpenGL if I'm not wrong.</li>
</ol>

<blockquote>
  <p>glOrtho( 0, 800, 0, 480, -1, 1 );</p>
</blockquote>

<p>Am I really have to use OpenGL for a 2D game?</p>

<p>If anyone can tell me what should I use to have a camera object that would be great. Thank you for giving time.</p>
