In-game 2d polygon level creator?

Hi.

I want to make a mobile game and in my game the player should be able create his own platforms with a polygon editor.

The polygon editor should be something like this In-Game:

I would pay for a plugin like that.

I found some polygon editors. The problem is here, that they’re only working in the Unity Editor. I need something like that in the mobile game.

Or… how can I create something like that on my own? Somebody can give tips, please?

Thank you!

It would pretty much be the same thing. Give the player an interface to plot points, then create a mesh using those points once there’s 3 or more. Create a polygon collider for that mesh using the same points.

http://wiki.unity3d.com/index.php?title=Triangulator

Hi there,

I’d like to share with you my plugin to create 2D Primitives.
You can create these primitives

  • Circle
  • Star
  • Rounded square
  • Arrow
  • Spiral
  • N-Sides Polygon
  • Gradient Quad
  • 4 Corner Gradient Quad

All primitives types are inherited from default Graphic class so it’s behave as any canvas element.
The main pros to use those primitives are:

  • They are resolution independent;
  • Fully animable;
  • Lightweight;
  • Fully configurable;
  • Source code included;
  • You can use the shapes included in the pack (as a static class Shape2DHelper) for many implementations: spawn objects, emit particles, draw, animation etc.
  • Fast and easy to prototype or create UI / UX;

To next version I’m adding support to create 2D Sprite Primitives as well.

Here is the link to the plugin on Asset Store
2D Primitives