I want to create a 2d spaceship editor for my game, so I can add some information to different spaceship. For example, where is the engine of the ship, where is the weapon relative to my spaceship. And export to a config file in json.
Maybe I could add some shapes to my spaceship sprites and mark that shape as weapons or engine and etc.
just like this A ship editor for starsector
But dont know how to get start, any ideas? Many thanks!
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
Assigning a Sprite to a Script and creating a Gameobject out of that sprite
How to get all Sprites used in a 2D Animator?
2D spaceship rotation
How can I interacte with Sprites from a Texture with Sprite Mode multi?
How to detect the distance between two edges (2D sprites)