How do I make a 2d game in Unity3d?

Hi, does anyone know how to make a 2d game with Unity? is there a tutorial somewhere?

Thank you.

more ▼

asked Feb 13 '10 at 04:07 AM

johnny gravatar image

112 4 5 7

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

6 answers: sort voted first

Doing 2D is simply a matter of not using the 3rd dimension. Typically you use sprite images on a quad, though there are other techniques, such as continuing to use 3D models as usual but treating them as 2D objects. Using an orthographic camera is sometimes appropriate, but not always; you can easily make parallax effects if you use a normal camera, for example. There's a tutorial for making a 2D shooter game here.

more ▼

answered Feb 13 '10 at 04:22 AM

Eric5h5 gravatar image

102k 49 165 620

There are indeed different techniques to create a 2D game in Unity3D, each having its own advantages and disadvantages. A summary of this can be found here.

Oct 20 '11 at 07:50 AM bernardfrancois
(comments are locked)
10|3000 characters needed characters left

Have a look at:


for a Javascript-based Videotutorial for a 2D shooter game and


to see how to implement the same game with C#. I haven't tried the Javascript tutorial but the C# one is very good.

more ▼

answered Feb 25 '10 at 12:26 PM

tasbar gravatar image

225 3 8 14

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

you should use planes and apply textures to them to make sprites. you can use plan collider for checking collisions. you can use other shapes or colliders if you need but you should limit the movement to 2 of axis like x,y and limit the rotation to 1 axis like z. limitation for physics can be done using configurable joints. there are good examples like max and the magic marker and paper moon. you can contact their developers to ask more questions.

more ▼

answered Feb 13 '10 at 05:51 AM

Ashkan_gc gravatar image

9.9k 36 59 123

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

Tasbar Thank you very much i will never forget your help

more ▼

answered May 02 '10 at 09:23 AM

raza gravatar image


@raza, please add a comment to his Answer, not a whole new Answer.

May 02 '10 at 01:40 PM Cyclops

what Cyclops said.

May 26 '10 at 11:18 PM Ouchie
(comments are locked)
10|3000 characters needed characters left

http://www.ezsprite.com has a nice support package for unity which comes with some nice example projects (it's a lot like flixel or cocos2d in how it works with animations and such)

more ▼

answered May 08 '11 at 06:58 AM

Anthony 3 gravatar image

Anthony 3
33 1

(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



Answers and Comments



asked: Feb 13 '10 at 04:07 AM

Seen: 93483 times

Last Updated: Dec 21 '12 at 12:19 AM