x


Background Image as Orthographic 2D Game Background - and quick 2D parallaxing question

I'm pretty new to Unity, and I'm wondering how you would set up a background to an orthographic 2D game (like in a game like 'Braid'). I have the .png image and I'm not really quite sure what the most effective way to do this would be. I've tried to do it before by just putting the image onto a plane, but the image showed up as pixelated/distorted. Could somebody suggest anything?

P.S. Are there any ways to achieve parallaxing in orthographic 2D?

more ▼

asked Jun 06 '12 at 11:50 PM

jasoncosma gravatar image

jasoncosma
19 4 11 17

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I'd jsut put it on a plane lie you did. If your image is distorted, you have to use the correct aspect ratio on the plane (or fix the UVs), if it is pixelated, it is too small (or too low in quality).

For parallax scrolling, all you'd need is a script that moves the plane by a certain amount of the player's (or foreground's) position.

more ▼

answered Jun 07 '12 at 12:00 AM

Piflik gravatar image

Piflik
5.4k 15 26 44

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1040
x258
x167
x90
x24

asked: Jun 06 '12 at 11:50 PM

Seen: 1400 times

Last Updated: Jun 07 '12 at 09:40 AM