Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
3
Question by Sparkky · Jun 11, 2012 at 12:09 AM · 2dtilemaptileslibrary

Need help finding a library/solution for efficient 2D tilemap rendering, collisions and interaction.

Hey, I've been looking for a while, but I was really hoping somebody could point me to a library that would help me re-code my engine as fast as possible into Unity.

Attached below is a really early shot if our old AS3 engine, and where I want to get to as fast as possible in Unity.

Early Engine Image

basically the map is defined as a very large 2d array of integers generated from code I've already rewritten in C#. What I ideally need is an engine/library that can help me render the tilemap, handle collisions, have some sort of optimization (I've heard a lot about needing to minimize the draw calls with tilemaps, and my lack of familiarity with the Unity engine is the primary reason I'd like to use somebody else's code for this part, at least to start with. The naive approach would be just to render each tile as a plane, then give them a width to collide with the sprite. I've done some early research, but I was hoping somebody might have more familiarity with the current options, I am not opposed to spending some money so don't cross off solutions that cost money.

The last requirement is I would like an easy interface for retrieving which tile the mouse clicks as a lot of logic for the game involves clicking tiles.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Fattie · Jun 11, 2012 at 04:51 AM

just FTR in the asset store 2Dtoolkit and similar products, handle flat sprites for you nicely - you probably are aware of those already.

Comment
Add comment · Show 1 · 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 Sparkky · Jun 14, 2012 at 01:32 AM 0
Share

Yea I've seen those but I was hoping there would be somebody with experience with one or more of these that could give me the skinny on one that handles the collisions and rendering fast and efficiently... $$anonymous$$ost of the asset store tool sets that I've found don't really explain what they'd give to a coder, more just which level editors will link up.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Array of Tilemaps misbehaving 1 Answer

Animated Tile control 0 Answers

Collision/scripting for tiles 0 Answers

Best way to make a big 2D map as smooth as possible? 1 Answer

2D Tilemap Extras: Is there any way to convert a RuleTile into a normal tilemap, so that I can edit it manually? 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