2D in Unity3D with Parallaxing

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
24,338
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 9, 2011

The beginning of my 2D game which I'm using Unity3D for so it requires some hacks. At the moment it's just using a orthographic camera and uses the Z position to sort the sprites. With the current shader there's some pretty serious artefacts when 2 sprites share the same z-depth and overlap. I will be working on a depth manager similar to Flashes display list.

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (QuickFingersGames)

  • Very nice, I want that script! :)

    How did you make these layers? They are planes with textures on them? Or you just made some models (in 3DS Max for example) and imported them?

    I'm really interested in developing 2D games in Unity for the iOS platform (and for Desktop too), but I'm so new to these things, I don't know where to start learning the acutal 2D things. I programmed a lot in AS3, but that's an other world, you know.

    I hope you'll answer my questions! Thank you!

  • @devgb hey there, yes just planes with textures on, a 2 triangle plane is all you really need for 2D in unity :) I gave a talk recently about 2d games in unity , it'll be posted online soon so I'll let you know when it is should answer lots of your questions

  • @QuickFingersGames - When is your talk about 2d games in unity going to be posted? I'd be really interested in seeing that....

  • @jonscriven unforunately youtube wont let me post url's in the comments so.. its

    blogs.unity3d.com /2011/05/03/london-unity-user-­group-luug-meet-v1-0/

    but remove the space after .com

  • @QuickFingersGames When I type in the url it says it's not their.... =/ 

  • @evertonjf08 it seems copy pasting messes up the formatting , do a google search for "london-unity-user-­group-luug­-meet-v1-0" and its the first link

Top Comments

  • @newtubetubetube Are you serious?

  • looks like angry birds!

see all

All Comments (45)

Sign In or Sign Up now to post a comment!
  • looks like angry birds

  • How did you make the sky?

  • Unity rocks. I use it for both 3D and 2D game design... so easy to use. I love it!

  • @QuickFingersGames If You Know C# as well please do respond.

  • @QuickFingersGames Hey Love this design, need to talk buisness if you know javascripting very well. THIS IS A SERIOUS INQUIRY.

  • How did you get the 3 mountain planes to move at different speeds to each other? Also when is the next get together in London? Cheers

  • @QuickFingersGames Thanks for posting that, it helps me with my 2D issues. I thought SpriteManager would work to make a square sprite (2 triangles), but its kind of stupid you cant create the objects in the editor (you have to create them in the scripts) and it doesn't really handle any animations. I will try your method and create a 2-triangle mesh in Maya lol, hopefully that works.

  • please can you upload a tutorial please

  • @abb890 said "he used something called parallaxing to make it look 2d...."

    Parallax displacement is a technique use to give the appearance of 3d. Not the other way around...

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more