- Home /
2D in Unity3D
I had a lot of times where I wanted to create a two-dimensional project. However, there are only the very cheesy tutorials on 2D by using empty GameObjects and whatnot. Now, I wanted to know the most effective 2D system that fulfills these features:
Collision
Sprite Animation
Four-Way Movement
What is most effective?
Thanks in advance!
Answer by Chaosgod_Esper · Apr 15, 2013 at 06:24 PM
Uni2D has a great Collision System - wich let´s you create a collision hull of a graphic with 1 click - But it costs a bit
Sprite Animation.. look in the Asset Store for Smooth Moves or Ex2D - or pixel your own with a Graphic tool of your choice - and create your own animation script for Spritesheet shifting animations :)
Four Way movement isn´t that hard. translate your player object into -X, +X, -Z, +Z direction if a key is pressed (Input.GetKey)
i´m not remembering an Asset that contains all of your needs into one :)
Answer by FWCorey · Apr 15, 2013 at 07:18 PM
The asset store has several 2d libraries that can help you. TK2D is simple and quick. NGUI and the Prime31 GUI plugins are more robust for GUI functions in particular but have a steeper learning curve. I haven't tried the other offerings but the best thing to do is read the online docs for each and choose the one you find easiest to understand that meets your needs.
Your answer
Follow this Question
Related Questions
A Question about sprites 3 Answers
Grouping sprites 2d order 3 Answers
Want to make a JRPG. 1 Answer
Top-down 2d Tactical RPG 0 Answers
A node in a childnode? 1 Answer