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 Jack-2 · Nov 11, 2010 at 05:44 AM · 2d2d-platformerplatformerspritemanager

Sprites and Platforming?

Hello all. I'm using Spritemanager2 in my game, I'm attempting to build a basic platformer using sprite characters.

Sadly, there isn't a lot of documentation surrounding sprites as far as Unity is concerned. How to move them, how to set up collisions, etc. Could anyone point me to a resource on how to work with sprites inside Unity? Or perhaps a basic platforming tutorial? Or at the very least some tips on how to get started?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by HolBol · Nov 11, 2010 at 07:39 AM

Use a flat plane with a texture on the side, and turn it to face the camera (which should be orthographic). Give the plane a parent box collider object/ character controller for collisons. Just think of 3d, but with billboards rather than meshes.

Comment
Add comment · Show 4 · 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 Jack-2 · Nov 11, 2010 at 08:03 AM 0
Share

I'm using S$$anonymous$$2 so I don't have a problem actually making the sprites. But that is helpful to hear someone say to just think of it as 3D. I've attached a rigidbody component onto my sprite and so far it seems to work great.

What would be the best way to actually move a sprite though? Adding force? transform.translate?

avatar image HolBol · Nov 11, 2010 at 08:07 AM 0
Share

i'd use the platform controller that comes with unity 3, it's VERY handy for all your physics stuff, and supports fixedUpdate. It's included int eh standard assets.

avatar image Jack-2 · Nov 11, 2010 at 09:14 AM 1
Share

I'll be sure to play around with it then. Thanks so much for the help :)

avatar image youmu42 · Jun 03, 2011 at 07:33 PM 0
Share

WARNING. If you use the platform controller, delete the rigidbody on the character or else your character will randomly fly up to infinity. $$anonymous$$ade this mistake and spent way too much time debugging something so simple and silly to solve. So just keep it in $$anonymous$$d

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

1 Person is following this question.

avatar image

Related Questions

Moving platform player bounce when moving down 1 Answer

I have a problem with my enemy AI script 1 Answer

Character clips into the ground in 2D platformer 0 Answers

2D Platformer - Problem with object that kills, then restarts after build 1 Answer

2D Platform Player moving instantly from upper platform to lower, only when moving left 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