Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KPDwyer committed Mar 25, 2017
1 parent 6358f36 commit 87a03b5
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 19 deletions.
Binary file added Gallery/perlin2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ By Defining shapes relative to the canvas, you can rescale the canvas at will to

SpriteMaker isn't meant to make fullscale art assets, but I like to push what I can do with it
![Man](Gallery/Man.png)

SpriteMaker can be used to make Noise maps right in the editor (more noise coming soon). Noise can also be a neat effect for static textures.
![Perlin](Gallery/perlin2.png)
![Perlin Two](Gallery/Perlin.png)

31 changes: 15 additions & 16 deletions Roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,34 @@
5. Add Draw Command Functionality
6. Remove Draw Command Functionality
7. Draw Commands: Fill, Rectangle, Circle, Rounded Rectangle
8. Rearrange Draw Command
9. Hide Draw Command
10. Blend Modes
11. Collapse Views
12. Auto previes
13. Saving, Loading, Serialization of Scriptable Objects (working files)
14. Undo
15. Noise Draw Commands: Perlin

##In Progress

**v 0.2**

1. Rearrange Draw Command
2. Hide Draw Command
3. Blend Modes
4. Collapse View
5. Visibility Toggle
6. Auto preview

##Planned
##In Progress

**v 0.3**
1. Gradient Fill
2. Voronoi
3. Fixes to RoundedRect sizing
4. Other Noise

1. Save and load DrawCommand Queues

##As Needed

1. N-Gon Draw Command
2. Line Draw Command
3. Star Draw Command
4. Perlin Noise Draw Command
5. Gradient Fill Draw Command
4. Gradient Fill Draw Command


##Research Required

1. Masking
2. Effects (Blur, Glow, Invert)
3. Undo
3. N-Gon visual Editor
6 changes: 4 additions & 2 deletions SpriteMaker/Assets/SpriteMaker/Editor/SpriteMakerEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ private void SaveTexture()
}


/// <summary>
/// Saves the asset file toa scriptable object
/// </summary>
/// <param name="shouldFocus">If set to <c>true</c>, will focus the asset file in the editor</param>
private void SaveAssetFile(bool shouldFocus = false)
{
EditorUtility.SetDirty(activeAsset);
Expand All @@ -155,8 +159,6 @@ private void SaveAssetFile(bool shouldFocus = false)
private void GUISpriteMaker()
{
showFile = GUILayout.Toggle(showFile, "File Ops", EditorStyles.boldLabel);
//GUILayout.Label("File Ops", EditorStyles.boldLabel);

if (showFile)
{
EditorGUILayout.BeginVertical("Box");
Expand Down
5 changes: 4 additions & 1 deletion Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ Window -> SpriteMaker

![Editor Window](Gallery/Sprite Maker Editor.png)

The editor Window currently consists of 2 elements: The Sprite Info Panel, and the Draw Command Queue
The editor Window currently consists of 3 elements: File Ops, The Sprite Info Panel, and the Draw Command Queue

###File Ops
File Ops provides an interface for loading, saving and creating SpriteMakerAssets, ScriptableObjects used to save working files.

###Sprite Info
This Panel Allows you to select the name for your finished asset as well as its width and height in pixels. There are buttons at the bottom of this panel for previewing and saving your asset.
Expand Down

0 comments on commit 87a03b5

Please sign in to comment.