Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Spriteable

Create 2D art using premade shapes! · By Nat

Adding new shapes Sticky

A topic by Nat created Apr 30, 2022 Views: 126
Viewing posts 1 to 1
Developer

Creating new shapes

To create a new shape, firstly use one of the existing shape files as a template. These can be found at: (ProjectPath)/Project_Data/StreamingAssets/Vector Shapes. Copy and paste one of the existing files, and give it a unique name.

To edit SVG files, I recommend the use of Inkscape, a free vector editor.

On loading your new file, you should see the object that you copied, as well as the Inkscape canvas. Select the object and delete it. This leaves you with an empty canvas that is 1 square inch, the required measurement for the program.

Now you can design your own shape. The following rules apply for designing shapes:

  • Keep your image inside the canvas
  • Ensure shapes do not have stroke data
  • Any color data will not show in the program
  • Only use one layer
  • Keep it simple - Filters, extensions, and fancy stuff like that may not work as expected

Save your new shape in an existing or new category, and load the program. Your shape should appear in the shape selection panel.

If your shape does not appear, then ensure your layer has an ID of "layer1" (no caps). This can be done by opening the SVG file in a text editor, and checking usually around line 40 if using inkscape.

Feel free to share any custom shapes below!