- Home /
2D Android game
Hey, I'm trying to create a 2D game for Android, and got stuck pretty early on... I have an image I want to use as background for the scene. The resolution of the image is 800x480 (everything is done in landscape mode). I tried creating a plane and place the image on it, but I'm having really hard time making the image fit to the view, and couldn't find any decent guide/tutorial on the web.
How can this be done easily?
Answer by Jessy · Feb 19, 2011 at 06:10 PM
Use an orthographic camera, and set the camera's size to be 1/2 the vertical size of the plane. The horizontal dimensions are dependent on aspect ratio.
Answer by corriedotdev · Mar 18, 2014 at 09:20 AM
Like Jessy said, use the orthographic camera. Use the 2d tool in the scene window to see what it would look like. Its a great feature when you get used to it.