Primitives Plugin touches down

Announcing the newest addition to the KiwiJS family of plugins: Primitives. These clever little things represent pure geometry. Draw rectangles, triangles, ellipses, stars and lines – and more! Thanks to robust under-the-hood systems, you can define any polygon you want. Primitives support fill and stroke in any color.

Primitives are very handy for game objects like health bars, speech bubbles, impact flares, grids etc. You can also use them as proxies for assets before they become available. We think you’ll find that primitives speed up your development time.

Here’s a scene made entirely out of primitives. On the left you can see some basic shapes. On the right, we’ve created… something… we’re not sure what it wants, but we are certain it’s all primitives.

You can obtain the plugin from Github at https://github.com/gamelab/Primitives-Plugin. Please let us know what you think!

Share the joy

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">