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 13yearoldceo · Jul 31, 2014 at 06:24 PM · strategymap making

how to make an interactive world map for conquest game

hello im trying to make a world conquest game where a player chooses a region to start with ten expands there empire to other regions and conquer them in till they own the whole world but my first problem is how am i suppose to create the world map i was going to use an image but i want it to be interactive and make different areas change color depending on the who controls the area then i was going to make 3d models of each region in blender then put them all together in unity but i cant model d continents right in the first place so idk how to make a interactive world map Plz help keep in mind its modern warfare so its not just land battles its also naval and air.

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
1
Best Answer

Answer by robertbu · Jul 31, 2014 at 06:52 PM

A solution commonly used for this problem is to make a mask that matches the aspect ratio of the map where each region you want to identify by clicking is a different color. You can then use the textureCoord in the RaycastHit structure to get the color and identify what region was clicked. Here is a question where someone is trying to do a map:

http://answers.unity3d.com/questions/462851/how-to-use-part-of-an-image-for-a-button.html

And in this question I provide some sample source for doing this hit testing (for buttons, though the concept is the same):

http://answers.unity3d.com/questions/516609/empty-spaces-in-buttons-are-detected-by-mouse.html

Comment
Add comment · Show 2 · 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 13yearoldceo · Jul 31, 2014 at 09:20 PM 0
Share

ok thx i gonna try it

avatar image 13yearoldceo · Aug 05, 2014 at 05:29 AM 0
Share

well im trying to ue the geographic colors of the map ins$$anonymous$$d of alpha colors but thx

avatar image
0

Answer by Kronnect · Aug 05, 2015 at 07:27 PM

Hi! This is the main reason I created World Political Map. This is an interactive geographic-based asset that provides what you need. Take a look: https://www.assetstore.unity3d.com/en/#!/content/41890

At our support forum you can find more videos about new releases which provide extra goodies like a converter, a ticker manager and a decorator.

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

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

games with randomly shaped maps 1 Answer

Need help with strategy terrain. 1 Answer

2D Pathfinding: how to create navMesh 0 Answers

My random tree spawner isn't working 1 Answer

Map creation and movement 3D 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