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 Agent Foley · Dec 05, 2010 at 02:56 AM · 2dlevelmapdesignsidescroller

2D side-scrolling Level Design

Hello! I have been using Unity for several weeks now and I have been unable to find a solid solution to 2D level design for a sidescroller Mario type clone in unity. I tried drawing the level in Blender and adding colliders but I found it hard to work with uneven terrain and the unity colliders. I also tried using Tiled Map Editor (mapeditor.org) and unity doesn't have any support for the TMXTiled map format. Can someone please help me find a solid solution to 2D level design in unity? Torque2d has a 2d level editor is there anything like that for unity?

Comment
Add comment · Show 1
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 Agent Foley · Dec 06, 2010 at 06:27 PM 0
Share

In regards to Proclyon's Answer: I am asking about the actual level design... As in the best way to design the LOO$$anonymous$$ of the level, not program camera follows etc... Please read my question again.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Proclyon · Dec 05, 2010 at 12:08 PM

Well sidescrolling can be viewed as a camera which has 2 axes locked solidly onto that of the lookAt object. With possibly a kite like behaviour if dampening in and out. Since it is mario like I would suggest locking onto the target and only have one variable change being the distance you want to look from.

What also is a nice view of the world for us people is that you have a camera locked in the world. And the player movements actually just cause the world to move around it. Relatively speaking there is no change to the observer. It happens more than you may know, but then again I have no idea how much extra effort that would be in unity.

That would be if object is on (0,0,0) facing absolute right (Y rotation + 90 ), the camera would have to be on

(objectXPosition, heightAboveObject(const),-distanceToObject(const)).

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 Chris D · Apr 20, 2011 at 11:13 PM

It could be worth your time checking out the Ogmo editor. It allows you to design in a pure (tiled) 2-d environment and outputs to xml. You'd have to figure out how to import the data from there, though.

http://ogmoeditor.com/

If you do go with it, I'd be curious to see how easy it is to go back and forth. Hope this helps!

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 Patyrn · Apr 21, 2011 at 03:43 AM

Is this the type of thing you're looking for?

http://www.anbsoft.com/middleware/sm2/

Edit: I saw a video a while ago that let you design sidescroller levels in unity, I coulda sworn it was SM2, but now I'm not so sure. Looking around some more.

Edit again: This is what I was thinking of http://forum.unity3d.com/threads/72934-UniTile-2d-Tile-based-Map-Editor-within-Unity

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

No one has followed this question yet.

Related Questions

Making the floor/ground of a map 1 Answer

How do I end my level? 2 Answers

How to manage large 2D worlds? 0 Answers

What is the best way to make Half - Life or DOOM style levels? 2 Answers

Making a new level 1 Answer


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