Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by xantrus133 · Dec 05, 2011 at 12:49 AM · 2dspritescenescrollspritemanager

Using 2D sprites in a 3D environment

We are a group of creatives, scratching our heads, over whether we could use Unity for our new game. After looking at masterpieces like GLID, Feist, Paper Moon, etc, we were completely convinced that Unity would be the perfect tool for a side-scrolling action like the one we imagine.

Unfortunately, as we came to realize, most of those games are still pure 3D, where only the camera and the controls make the illusion of a 2D.

What we want to achieve, however, involves using hand drawn sprite characters, objects, backgrounds, etc, but still keeping the 3D environment, which Unity is so famous for. We want achieve a unique mixture of 2D cartoon-ish sprites, and at the same time depth of field, as in real 3D. The gameplay will still remain 2D based, but we want to be able to utilize the camera, and the Z-depth in general (perhaps we may even use this depth, as Paper Moon does)

Of course, we know that having pure 2D in Unity is also technically possible. Many people use the GUI layer as some sort of a world blitting screen to render sprites. This however, totally eliminates both the 3D environment, as well as the simplicity of the Unity IDE (which we also want to keep)

For us, the ideal variant would be, if possible, to use cube objects, to which to apply the sprites (as texture with transparent backgrounds). Then, it would be pretty easy to build levels out of those cubes using the Unity editor.

The major problem here would be the actual scheduling of sprite sequences for the different animations. This may be hard problem to solve not only in terms of development complexity, but also in terms of end game performance (reapplying textures all the time)

I know that a bunch of plugins exist out there (like SpriteManager, for example), but I wasn't sure how they actually do the job.

Thus, I am posting this question, with the hope that an expert would be able to tell whether this is possible, and technically feasible within unity. Also, I would appreciate it, if one could point out plugins, frameworks, or simply source code that we can start playing with.

Thanks

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by WillTAtl · Dec 05, 2011 at 02:39 AM

So far I've only used spritemanager 1 (the free one) and the 2D toolkit (which I can't endorse with much enthusiasm, though it is basically getting the job done and is a lot cheaper than spritemanager 2 and much easier to use than the free version of spritemanager). Both let you draw sprites in a 3d scene exactly as you would 3d models, with a perspective camera and 3d positioning. The "pure 2d" games just tend to use an ortho camera, which flattens out the scene, but you don't have to use either that way, and I assume all the other plugins are the same.

sounds like an interesting idea, good luck with it!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by TripodGRANNE · Mar 03, 2012 at 04:38 AM

Ya, you can actually have 2 cameras and project the 2d players over the top of the 3d background using layers.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

[SOLVED] Sprite showing up in "Scene", but not in "Game" 11 Answers

How to efficiently populate scene with GameObjects 1 Answer

2D scene level design Help 2 Answers

SpriteManager 1 : Custom Material 1 Answer

Best Shader for SpriteManager in 3D Scene? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges